Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-message-format
Commits
a1d6143c
Verified
Commit
a1d6143c
authored
7 months ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
refactor: save remove schemas prettified
parent
434a17f8
dev
80-add-informational-type-primitive
87-remove-comment-for-platform-status-state
action-refactor-test
master
v2.0.0
v2.0.0-beta.11
v2.0.0-beta.10
v2.0.0-beta.9
v2.0.0-beta.8
v2.0.0-beta.7
v2.0.0-beta.6
v2.0.0-beta.5
v2.0.0-beta.4
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.1
3 merge requests
!59
Release v2.0.0
,
!39
Resolve "Refactor GeoJSON loading for serving from nucleus"
,
!36
Resolve "Create temporary mas-dt branch for initial schema refactor"
Pipeline
#231505
passed with stages
in 1 minute and 2 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1232 additions
and
9 deletions
+1232
-9
generate_schema_config.py
generate_schema_config.py
+1
-1
remotes/geojson.org/schema/Feature.json
remotes/geojson.org/schema/Feature.json
+497
-1
remotes/geojson.org/schema/FeatureCollection.json
remotes/geojson.org/schema/FeatureCollection.json
+523
-1
remotes/geojson.org/schema/LineString.json
remotes/geojson.org/schema/LineString.json
+34
-1
remotes/geojson.org/schema/MultiLineString.json
remotes/geojson.org/schema/MultiLineString.json
+37
-1
remotes/geojson.org/schema/MultiPoint.json
remotes/geojson.org/schema/MultiPoint.json
+33
-1
remotes/geojson.org/schema/MultiPolygon.json
remotes/geojson.org/schema/MultiPolygon.json
+40
-1
remotes/geojson.org/schema/Point.json
remotes/geojson.org/schema/Point.json
+30
-1
remotes/geojson.org/schema/Polygon.json
remotes/geojson.org/schema/Polygon.json
+37
-1
No files found.
generate_schema_config.py
View file @
a1d6143c
...
...
@@ -215,7 +215,7 @@ def store_cached_ref(remote_ref, definition):
ref_dirs
=
re
.
sub
(
r
"\/[^\/]+$"
,
""
,
ref_path
)
os
.
makedirs
(
ref_dirs
,
0o775
,
True
)
with
open
(
ref_path
,
"w"
)
as
ref_file
:
json
.
dump
(
definition
,
ref_file
)
json
.
dump
(
definition
,
ref_file
,
indent
=
2
)
def
inject_schema
(
schema
,
remote_ref
,
reload
=
False
):
...
...
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/Feature.json
View file @
a1d6143c
{
"title"
:
"GeoJSON Feature"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"properties"
,
"geometry"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Feature"
]},
"id"
:
{
"oneOf"
:
[{
"type"
:
"number"
},
{
"type"
:
"string"
}]},
"properties"
:
{
"oneOf"
:
[{
"type"
:
"object"
}]},
"geometry"
:
{
"oneOf"
:
[{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON GeometryCollection"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"geometries"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"GeometryCollection"
]},
"geometries"
:
{
"type"
:
"array"
,
"items"
:
{
"oneOf"
:
[{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}]}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}]},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON Feature"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"properties"
,
"geometry"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Feature"
]
},
"id"
:
{
"oneOf"
:
[
{
"type"
:
"number"
},
{
"type"
:
"string"
}
]
},
"properties"
:
{
"oneOf"
:
[
{
"type"
:
"object"
}
]
},
"geometry"
:
{
"oneOf"
:
[
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON GeometryCollection"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"geometries"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"GeometryCollection"
]
},
"geometries"
:
{
"type"
:
"array"
,
"items"
:
{
"oneOf"
:
[
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
]
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
]
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/FeatureCollection.json
View file @
a1d6143c
{
"title"
:
"GeoJSON FeatureCollection"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"features"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"FeatureCollection"
]},
"features"
:
{
"type"
:
"array"
,
"items"
:
{
"title"
:
"GeoJSON Feature"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"properties"
,
"geometry"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Feature"
]},
"id"
:
{
"oneOf"
:
[{
"type"
:
"number"
},
{
"type"
:
"string"
}]},
"properties"
:
{
"oneOf"
:
[{
"type"
:
"object"
}]},
"geometry"
:
{
"oneOf"
:
[{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON GeometryCollection"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"geometries"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"GeometryCollection"
]},
"geometries"
:
{
"type"
:
"array"
,
"items"
:
{
"oneOf"
:
[{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}]}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}]},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON FeatureCollection"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"features"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"FeatureCollection"
]
},
"features"
:
{
"type"
:
"array"
,
"items"
:
{
"title"
:
"GeoJSON Feature"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"properties"
,
"geometry"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Feature"
]
},
"id"
:
{
"oneOf"
:
[
{
"type"
:
"number"
},
{
"type"
:
"string"
}
]
},
"properties"
:
{
"oneOf"
:
[
{
"type"
:
"object"
}
]
},
"geometry"
:
{
"oneOf"
:
[
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON GeometryCollection"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"geometries"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"GeometryCollection"
]
},
"geometries"
:
{
"type"
:
"array"
,
"items"
:
{
"oneOf"
:
[
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
},
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
]
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
]
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/LineString.json
View file @
a1d6143c
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON LineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"LineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/MultiLineString.json
View file @
a1d6143c
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON MultiLineString"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiLineString"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/MultiPoint.json
View file @
a1d6143c
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON MultiPoint"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPoint"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/MultiPolygon.json
View file @
a1d6143c
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON MultiPolygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"MultiPolygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/Point.json
View file @
a1d6143c
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON Point"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Point"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
remotes/geojson.org/schema/Polygon.json
View file @
a1d6143c
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}}}},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}}}}
\ No newline at end of file
{
"title"
:
"GeoJSON Polygon"
,
"type"
:
"object"
,
"required"
:
[
"type"
,
"coordinates"
],
"properties"
:
{
"type"
:
{
"type"
:
"string"
,
"enum"
:
[
"Polygon"
]
},
"coordinates"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"array"
,
"minItems"
:
2
,
"items"
:
{
"type"
:
"number"
}
}
}
},
"bbox"
:
{
"type"
:
"array"
,
"minItems"
:
4
,
"items"
:
{
"type"
:
"number"
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment