Skip to content

Instantly share code, notes, and snippets.

@ioggstream
Last active December 22, 2021 15:37
Show Gist options
  • Save ioggstream/8e858509a3ca535c5af230986aeefaf7 to your computer and use it in GitHub Desktop.
Save ioggstream/8e858509a3ca535c5af230986aeefaf7 to your computer and use it in GitHub Desktop.
jsonld metaschema
{
"$id": "https://gist.githubusercontent.com/ioggstream/8e858509a3ca535c5af230986aeefaf7/raw/jsonld-context-metaschema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://gregsdennis.github.io/json-everything/vocabs-data": true
},
"$dynamicAnchor": "meta",
"title": "json-ld context meta-schema",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
}
],
"properties": {
"jsonld-context": {
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "object",
"maxProperties": 10
}
]
},
"@context": {
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "object",
"maxProperties": 10
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment