5
5
"title" : " VS Code HTML Custom Data format" ,
6
6
"description" : " Format for loading Custom Data in VS Code's HTML support" ,
7
7
"type" : " object" ,
8
- "required" : [" version" ],
8
+ "required" : [
9
+ " version"
10
+ ],
9
11
"definitions" : {
10
12
"references" : {
11
13
"type" : " object" ,
12
- "required" : [" name" , " url" ],
14
+ "required" : [
15
+ " name" ,
16
+ " url"
17
+ ],
13
18
"properties" : {
14
19
"name" : {
15
20
"type" : " string" ,
25
30
},
26
31
"markupDescription" : {
27
32
"type" : " object" ,
28
- "required" : [" kind" , " value" ],
33
+ "required" : [
34
+ " kind" ,
35
+ " value"
36
+ ],
29
37
"properties" : {
30
38
"kind" : {
31
39
"type" : " string" ,
53
61
"type" : " array" ,
54
62
"items" : {
55
63
"type" : " object" ,
56
- "required" : [" name" ],
64
+ "required" : [
65
+ " name"
66
+ ],
57
67
"defaultSnippets" : [
58
68
{
59
69
"body" : {
74
84
{
75
85
"type" : " string"
76
86
},
77
- { "$ref" : " #/definitions/markupDescription" }
87
+ {
88
+ "$ref" : " #/definitions/markupDescription"
89
+ }
78
90
]
79
91
},
80
92
"attributes" : {
81
93
"type" : " array" ,
82
94
"description" : " A list of possible attributes for the tag" ,
83
95
"items" : {
84
96
"type" : " object" ,
85
- "required" : [" name" ],
97
+ "required" : [
98
+ " name"
99
+ ],
86
100
"defaultSnippets" : [
87
101
{
88
102
"body" : {
103
117
{
104
118
"type" : " string"
105
119
},
106
- { "$ref" : " #/definitions/markupDescription" }
120
+ {
121
+ "$ref" : " #/definitions/markupDescription"
122
+ }
107
123
]
108
124
},
109
125
"valueSet" : {
115
131
"description" : " A list of possible values for the attribute" ,
116
132
"items" : {
117
133
"type" : " object" ,
118
- "required" : [" name" ],
134
+ "required" : [
135
+ " name"
136
+ ],
119
137
"defaultSnippets" : [
120
138
{
121
139
"body" : {
135
153
{
136
154
"type" : " string"
137
155
},
138
- { "$ref" : " #/definitions/markupDescription" }
156
+ {
157
+ "$ref" : " #/definitions/markupDescription"
158
+ }
139
159
]
140
160
},
141
161
"references" : {
181
201
"status" : {
182
202
"type" : " string" ,
183
203
"description" : " Baseline status" ,
184
- "enum" : [" high" , " low" , " false" ]
204
+ "enum" : [
205
+ " high" ,
206
+ " low" ,
207
+ " false"
208
+ ]
185
209
},
186
210
"baseline_low_date" : {
187
211
"type" : " string" ,
196
220
"patternErrorMessage" : " Date must be in the format of `YYYY-MM-DD`"
197
221
}
198
222
}
223
+ }
199
224
}
200
- }
201
- },
202
- "globalAttributes" : {
203
- "description" : " Custom HTML global attributes" ,
204
- "type" : " array" ,
205
- "items" : {
206
- "$ref" : " #/properties/tags/items/properties/attributes/items"
207
- }
208
- },
209
- "valueSets" : {
210
- "description" : " A set of attribute value. When an attribute refers to an attribute set, its value completion will use value from that set" ,
211
- "type" : " array" ,
212
- "items" : {
213
- "type" : " object" ,
214
- "required" : [" name" ],
215
- "defaultSnippets" : [
216
- {
217
- "body" : {
218
- "name" : " $1" ,
219
- "description" : " " ,
220
- "values" : []
225
+ },
226
+ "globalAttributes" : {
227
+ "description" : " Custom HTML global attributes" ,
228
+ "type" : " array" ,
229
+ "items" : {
230
+ "$ref" : " #/properties/tags/items/properties/attributes/items"
231
+ }
232
+ },
233
+ "valueSets" : {
234
+ "description" : " A set of attribute value. When an attribute refers to an attribute set, its value completion will use value from that set" ,
235
+ "type" : " array" ,
236
+ "items" : {
237
+ "type" : " object" ,
238
+ "required" : [
239
+ " name"
240
+ ],
241
+ "defaultSnippets" : [
242
+ {
243
+ "body" : {
244
+ "name" : " $1" ,
245
+ "description" : " " ,
246
+ "values" : []
247
+ }
248
+ }
249
+ ],
250
+ "properties" : {
251
+ "name" : {
252
+ "type" : " string" ,
253
+ "description" : " Name of attribute value in value set"
254
+ },
255
+ "values" : {
256
+ "$ref" : " #/properties/tags/items/properties/attributes/items/properties/values"
221
257
}
222
- }
223
- ],
224
- "properties" : {
225
- "name" : {
226
- "type" : " string" ,
227
- "description" : " Name of attribute value in value set"
228
- },
229
- "values" : {
230
- "$ref" : " #/properties/tags/items/properties/attributes/items/properties/values"
231
258
}
232
259
}
233
260
}
234
261
}
235
262
}
236
- }
263
+ }
0 commit comments