Skip to content

Commit e37ed73

Browse files
committed
build: fix schema for CRS
1 parent c7c8b6a commit e37ed73

1 file changed

Lines changed: 27 additions & 7 deletions

File tree

tests/_files/situations-schema.json

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,7 @@
7373
"$ref": "#/definitions/GeometryType"
7474
},
7575
"crs": {
76-
"type": "object",
77-
"properties": {
78-
"name": {
79-
"type": "string"
80-
}
81-
},
82-
"required": ["name"]
76+
"$ref": "#/definitions/CRS"
8377
},
8478
"coordinates": {
8579
"type": "array",
@@ -1012,6 +1006,32 @@
10121006
],
10131007
"title": "GeometryType"
10141008
},
1009+
"CRS": {
1010+
"type": "object",
1011+
"additionalProperties": false,
1012+
"properties": {
1013+
"type": {
1014+
"type": "string",
1015+
"enum": [
1016+
"name"
1017+
]
1018+
},
1019+
"properties": {
1020+
"type": "object",
1021+
"additionalProperties": false,
1022+
"properties": {
1023+
"name": {
1024+
"type": "string",
1025+
"enum": [
1026+
"EPSG:4326"
1027+
]
1028+
}
1029+
},
1030+
"required": ["name"]
1031+
}
1032+
},
1033+
"title": "CRS"
1034+
},
10151035
"ActivityType": {
10161036
"type": "string",
10171037
"enum": [

0 commit comments

Comments
 (0)