CloudEvents · JSON-LD Context
Cloudevents Context
JSON-LD context defining the semantic vocabulary for Cloudevents from CloudEvents.
4 Classes
27 Properties
5 Namespaces
Namespaces
ce:
https://cloudevents.io/vocab#
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
sec:
https://w3id.org/security#
Classes
CloudEvent
Subscription
Filter
ProtocolSettings
Properties
| Property | Type | Container |
|---|---|---|
| specversion | string | |
| id | string | |
| source | reference | |
| type | string | |
| datacontenttype | string | |
| dataschema | reference | |
| subject | string | |
| time | dateTime | |
| data | ||
| data_base64 | base64Binary | |
| sink | reference | |
| protocol | string | |
| protocolSettings | ||
| filters | set | |
| types | set | |
| config | ||
| dialect | string | |
| expression | string | |
| contentMode | string | |
| traceparent | string | |
| tracestate | string | |
| partitionkey | string | |
| sampledrate | integer | |
| name | string | |
| description | string | |
| url | reference | |
| version | string |
JSON-LD Document
{
"@context": {
"@version": 1.1,
"ce": "https://cloudevents.io/vocab#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"sec": "https://w3id.org/security#",
"CloudEvent": "ce:CloudEvent",
"Subscription": "ce:Subscription",
"Filter": "ce:Filter",
"ProtocolSettings": "ce:ProtocolSettings",
"specversion": {
"@id": "ce:specversion",
"@type": "xsd:string"
},
"id": {
"@id": "schema:identifier",
"@type": "xsd:string"
},
"source": {
"@id": "dcterms:source",
"@type": "@id"
},
"type": {
"@id": "ce:eventType",
"@type": "xsd:string"
},
"datacontenttype": {
"@id": "ce:dataContentType",
"@type": "xsd:string"
},
"dataschema": {
"@id": "ce:dataSchema",
"@type": "@id"
},
"subject": {
"@id": "dcterms:subject",
"@type": "xsd:string"
},
"time": {
"@id": "dcterms:created",
"@type": "xsd:dateTime"
},
"data": {
"@id": "ce:data"
},
"data_base64": {
"@id": "ce:dataBinary",
"@type": "xsd:base64Binary"
},
"sink": {
"@id": "ce:sink",
"@type": "@id"
},
"protocol": {
"@id": "ce:protocol",
"@type": "xsd:string"
},
"protocolSettings": {
"@id": "ce:protocolSettings"
},
"filters": {
"@id": "ce:filters",
"@container": "@set"
},
"types": {
"@id": "ce:eventTypes",
"@container": "@set"
},
"config": {
"@id": "ce:config"
},
"dialect": {
"@id": "ce:filterDialect",
"@type": "xsd:string"
},
"expression": {
"@id": "ce:filterExpression",
"@type": "xsd:string"
},
"contentMode": {
"@id": "ce:contentMode",
"@type": "xsd:string"
},
"traceparent": {
"@id": "ce:traceparent",
"@type": "xsd:string"
},
"tracestate": {
"@id": "ce:tracestate",
"@type": "xsd:string"
},
"partitionkey": {
"@id": "ce:partitionKey",
"@type": "xsd:string"
},
"sampledrate": {
"@id": "ce:sampledRate",
"@type": "xsd:integer"
},
"name": {
"@id": "schema:name",
"@type": "xsd:string"
},
"description": {
"@id": "schema:description",
"@type": "xsd:string"
},
"url": {
"@id": "schema:url",
"@type": "@id"
},
"version": {
"@id": "schema:softwareVersion",
"@type": "xsd:string"
}
}
}