Skip to content

Commit 3abfadb

Browse files
authored
fix: Use JSON schema structure for examples (#12)
As documented <https://json-schema.org/understanding-json-schema/reference/generic.html#annotations>.
1 parent 6daf1aa commit 3abfadb

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

json-schema/schema.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@
228228
"processing:lineage": {
229229
"title": "Processing Lineage Information",
230230
"type": "string",
231-
"example": "Post Processing GRD"
231+
"examples": [
232+
"Post Processing GRD"
233+
]
232234
},
233235
"processing:level": {
234236
"title": "Processing Level",
@@ -248,7 +250,9 @@
248250
"processing:facility": {
249251
"title": "Processing Facility",
250252
"type": "string",
251-
"example": "Copernicus S1 Core Ground Segment - DPA"
253+
"examples": [
254+
"Copernicus S1 Core Ground Segment - DPA"
255+
]
252256
},
253257
"processing:software": {
254258
"title": "Processing Software Name / version",
@@ -258,9 +262,11 @@
258262
"type": "string"
259263
}
260264
},
261-
"example": {
262-
"Sentinel-1 IPF": "002.71"
263-
}
265+
"examples": [
266+
{
267+
"Sentinel-1 IPF": "002.71"
268+
}
269+
]
264270
}
265271
},
266272
"patternProperties": {

0 commit comments

Comments
 (0)