Created
October 5, 2021 22:56
-
-
Save ioggstream/b3fcde9a56e0b63436753ab6139fbe38 to your computer and use it in GitHub Desktop.
jsonschema context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@version": 1.1, | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"@vocab": "https://www.w3.org/2019/wot/json-schema#", | |
"id": { "@id": "@id" }, | |
"type": { "@id": "@type" }, | |
"object": "ObjectSchema", | |
"array": "ArraySchema", | |
"boolean": "BooleanSchema", | |
"string": "StringSchema", | |
"number": "NumberSchema", | |
"integer": "IntegerSchema", | |
"null": "NullSchema", | |
"properties": { | |
"@container": "@index", | |
"@index": "propertyName" | |
}, | |
"items": { "@type": "@vocab" }, | |
"oneOf": { "@type": "@vocab", "@container": "@set" }, | |
"allOf": { "@type": "@vocab", "@container": "@set" }, | |
"anyOf": { "@type": "@vocab", "@container": "@set" }, | |
"minItems": { "@type": "xsd:nonNegativeInteger" }, | |
"maxItems": { "@type": "xsd:nonNegativeInteger" }, | |
"minimum": { "@type": "xsd:decimal" }, | |
"maximum": { "@type": "xsd:decimal" }, | |
"enum": { "@container": "@set", "@type": "@json" }, | |
"enum": { "@container": "@set", "@type": "@json" }, | |
"writeOnly": { "@type": "xsd:boolean" }, | |
"readOnly": { "@type": "xsd:boolean" }, | |
"format": { "@type": "xsd:string" }, | |
"required": { "@type": "xsd:string", "@container": "@set" }, | |
"title": { "@type": "xsd:string" }, | |
"description": { "@type": "xsd:string" } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment