diff --git a/CHANGELOG.md b/CHANGELOG.md index 369f9d6..46baa9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change log +### 0.2.13 +- Updated Schema + ### 0.2.12 #### Added diff --git a/src/python_osw_validation/schema/Linestring_schema.json b/src/python_osw_validation/schema/Linestring_schema.json index 3475036..5694383 100644 --- a/src/python_osw_validation/schema/Linestring_schema.json +++ b/src/python_osw_validation/schema/Linestring_schema.json @@ -23,6 +23,59 @@ "format": "date-time", "type": "string" }, + "pipelineVersion": { + "additionalProperties": true, + "properties": {}, + "type": "object" + }, + "region": { + "title": "geometryObject", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "additionalProperties": false, + "properties": { + "type": { + "title": "GeometryType", + "type": "string", + "default": "MultiPolygon", + "enum": [ + "MultiPolygon" + ] + }, + "coordinates": { + "type": "array", + "minItems": 1, + "items": { + "type": "array", + "minItems": 1, + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "additionalItems": false, + "items": [ + { + "type": "number", + "minimum": -180, + "maximum": 180 + }, + { + "type": "number", + "minimum": -90, + "maximum": 90 + } + ] + } + } + } + } + }, + "description": "MultiPolygon geometry object." + }, "type": { "title": "Feature Collection", "type": "string", diff --git a/src/python_osw_validation/schema/Point_schema.json b/src/python_osw_validation/schema/Point_schema.json index e670443..9990cd3 100644 --- a/src/python_osw_validation/schema/Point_schema.json +++ b/src/python_osw_validation/schema/Point_schema.json @@ -23,6 +23,59 @@ "format": "date-time", "type": "string" }, + "pipelineVersion": { + "additionalProperties": true, + "properties": {}, + "type": "object" + }, + "region": { + "title": "geometryObject", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "additionalProperties": false, + "properties": { + "type": { + "title": "GeometryType", + "type": "string", + "default": "MultiPolygon", + "enum": [ + "MultiPolygon" + ] + }, + "coordinates": { + "type": "array", + "minItems": 1, + "items": { + "type": "array", + "minItems": 1, + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "additionalItems": false, + "items": [ + { + "type": "number", + "minimum": -180, + "maximum": 180 + }, + { + "type": "number", + "minimum": -90, + "maximum": 90 + } + ] + } + } + } + } + }, + "description": "MultiPolygon geometry object." + }, "type": { "title": "Feature Collection", "type": "string", diff --git a/src/python_osw_validation/schema/Polygon_schema.json b/src/python_osw_validation/schema/Polygon_schema.json index 5ebefee..0540b2f 100644 --- a/src/python_osw_validation/schema/Polygon_schema.json +++ b/src/python_osw_validation/schema/Polygon_schema.json @@ -23,6 +23,59 @@ "format": "date-time", "type": "string" }, + "pipelineVersion": { + "additionalProperties": true, + "properties": {}, + "type": "object" + }, + "region": { + "title": "geometryObject", + "type": "object", + "required": [ + "type", + "coordinates" + ], + "additionalProperties": false, + "properties": { + "type": { + "title": "GeometryType", + "type": "string", + "default": "MultiPolygon", + "enum": [ + "MultiPolygon" + ] + }, + "coordinates": { + "type": "array", + "minItems": 1, + "items": { + "type": "array", + "minItems": 1, + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "additionalItems": false, + "items": [ + { + "type": "number", + "minimum": -180, + "maximum": 180 + }, + { + "type": "number", + "minimum": -90, + "maximum": 90 + } + ] + } + } + } + } + }, + "description": "MultiPolygon geometry object." + }, "type": { "title": "Feature Collection", "type": "string", diff --git a/src/python_osw_validation/version.py b/src/python_osw_validation/version.py index 0b1bdb2..eeb48b4 100644 --- a/src/python_osw_validation/version.py +++ b/src/python_osw_validation/version.py @@ -1 +1 @@ -__version__ = '0.2.12' \ No newline at end of file +__version__ = '0.2.13' \ No newline at end of file