-
Notifications
You must be signed in to change notification settings - Fork 63
/
json-schema-context.jsonld
128 lines (128 loc) · 2.94 KB
/
json-schema-context.jsonld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"@context": {
"td": "https://www.w3.org/2019/wot/td#",
"jsonschema": "https://www.w3.org/2019/wot/json-schema#",
"wotsec": "https://www.w3.org/2019/wot/security#",
"hctl": "https://www.w3.org/2019/wot/hypermedia#",
"dct": "http://purl.org/dc/terms/",
"schema": "http://schema.org/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"@vocab": "https://www.w3.org/2019/wot/json-schema#",
"DataSchema": {
"@id": "jsonschema:DataSchema"
},
"readOnly": {
"@id": "jsonschema:readOnly"
},
"writeOnly": {
"@id": "jsonschema:writeOnly"
},
"exclusiveMaximum": {
"@id": "jsonschema:exclusiveMaximum"
},
"exclusiveMinimum": {
"@id": "jsonschema:exclusiveMinimum"
},
"maximum": {
"@id": "jsonschema:maximum"
},
"minimum": {
"@id": "jsonschema:minimum"
},
"maxItems": {
"@id": "jsonschema:maxItems"
},
"minItems": {
"@id": "jsonschema:minItems"
},
"contentEncoding": {
"@id": "jsonschema:contentEncoding"
},
"minLength": {
"@id": "jsonschema:minLength"
},
"maxLength": {
"@id": "jsonschema:maxLength"
},
"pattern": {
"@id": "jsonschema:pattern"
},
"contentMediaType": {
"@id": "jsonschema:contentMediaType"
},
"items": {
"@id": "jsonschema:items",
"@type": "@id"
},
"required": {
"@id": "jsonschema:required",
"@container": "@set"
},
"enum": {
"@id": "jsonschema:enum",
"@container": "@set"
},
"const": {
"@id": "jsonschema:const"
},
"default": {
"@id": "jsonschema:default"
},
"multipleOf": {
"@id": "jsonschema:multipleOf"
},
"format": {
"@id": "jsonschema:format"
},
"oneOf": {
"@id": "jsonschema:oneOf",
"@container": "@set"
},
"allOf": {
"@id": "jsonschema:allOf",
"@container": "@set"
},
"anyOf": {
"@id": "jsonschema:anyOf",
"@container": "@set"
},
"type": {
"@id": "@type"
},
"title" : {
"@id" : "td:title",
"@language": "en"
},
"titles" : {
"@id": "td:titleInLanguage",
"@container": "@language"
},
"description" : {
"@id" : "td:description",
"@language": "en"
},
"descriptions" : {
"@id": "td:descriptionInLanguage",
"@container": "@language"
},
"object": "jsonschema:ObjectSchema",
"array": "jsonschema:ArraySchema",
"boolean": "jsonschema:BooleanSchema",
"string": "jsonschema:StringSchema",
"number": "jsonschema:NumberSchema",
"integer": "jsonschema:IntegerSchema",
"null": "jsonschema:NullSchema",
"properties": {
"@id": "jsonschema:properties",
"@container": "@index",
"@index": "propertyName"
},
"propertyName": {
"@id": "jsonschema:propertyName"
},
"unit": {
"@id" : "schema:unitCode",
"@type": "@vocab"
}
}
}