kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
counties schema checking
rodzic
fb7f925676
commit
e76a089d1a
Plik diff jest za duży
Load Diff
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"$id": "counties.schema.json",
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"description": "List of counties and programmatic definitions of each",
|
||||||
|
"patternProperties":{
|
||||||
|
"[0-9]{5,5}": {
|
||||||
|
"title": "County FIPS ID",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"geometry",
|
||||||
|
"properties"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The type of GeoJSON object described",
|
||||||
|
"items": [
|
||||||
|
"feature"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "geometric description of the FIPS County",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "type of GeoJSON geometry",
|
||||||
|
"items": [
|
||||||
|
"Polygon",
|
||||||
|
"Multipolygon"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"coordinates": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "array of [lat, long] pairs describing the object"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Ładowanie…
Reference in New Issue