https://ns.adobe.com/xdm/external/activity-streams-2/context
A a set of rules for interpreting a JSON-LD document as specified in the Context of the JSON-LD specification.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | external/activity-streams-2/context.schema.json |
{
"@context": {
"@vocab": " https://www.w3.org/ns/activitystreams#",
"xdm": "https://ns.adobe.com/xdm/"
}
}
Property | Type | Required | Defined by |
---|---|---|---|
@context | complex | Optional | JSON-LD @context (this schema) |
* |
any | Additional | this schema allows additional properties |
@context
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
Array type:
All items must be of the type:
Unknown type oneOf
.
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "object",
"properties": {
"@vocab": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "#/definitions/blank-node-identifier"
},
{
"$ref": "#/definitions/term"
},
{
"type": "null"
}
]
},
"@base": {
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"@language": {
"oneOf": [
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/rdf-langstring#/definitions/tag"
},
{
"type": "null"
}
]
}
},
"patternProperties": {
"^([^:@_].*)|(_:.*)$": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "#/definitions/term"
},
{
"$ref": "#/definitions/blank-node-identifier"
},
{
"$ref": "#/definitions/keywords"
},
{
"type": "null"
},
{
"$ref": "#/definitions/expanded-term-definition"
},
{
"properties": {
"@context": {
"$ref": "#/definitions/single-or-array-of-contexts"
}
},
"type": "object"
}
]
}
},
"additionalProperties": false
}
],
"type": "oneOf"
}
}
Property | Type | Group |
---|---|---|
@base | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/single-context |
@container | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/expanded-term-definition |
@id | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/expanded-term-definition |
@language | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/single-context |
@reverse | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/expanded-term-definition |
@type | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/expanded-term-definition |
@vocab | complex | https://ns.adobe.com/xdm/external/activity-streams-2/context#/definitions/single-context |
@base
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
@container
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
string
@id
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
@language
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
@reverse
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
@type
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
string
@vocab
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)