Skip to content

Commit a711551

Browse files
authored
Merge pull request #41 from TaskarCenterAtUW/develop
Develop to Main
2 parents e277215 + f47d52f commit a711551

File tree

5 files changed

+163
-1
lines changed

5 files changed

+163
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change log
22

3+
### 0.2.13
4+
- Updated Schema
5+
36
### 0.2.12
47

58
#### Added

src/python_osw_validation/schema/Linestring_schema.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,59 @@
2323
"format": "date-time",
2424
"type": "string"
2525
},
26+
"pipelineVersion": {
27+
"additionalProperties": true,
28+
"properties": {},
29+
"type": "object"
30+
},
31+
"region": {
32+
"title": "geometryObject",
33+
"type": "object",
34+
"required": [
35+
"type",
36+
"coordinates"
37+
],
38+
"additionalProperties": false,
39+
"properties": {
40+
"type": {
41+
"title": "GeometryType",
42+
"type": "string",
43+
"default": "MultiPolygon",
44+
"enum": [
45+
"MultiPolygon"
46+
]
47+
},
48+
"coordinates": {
49+
"type": "array",
50+
"minItems": 1,
51+
"items": {
52+
"type": "array",
53+
"minItems": 1,
54+
"items": {
55+
"type": "array",
56+
"minItems": 4,
57+
"items": {
58+
"type": "array",
59+
"additionalItems": false,
60+
"items": [
61+
{
62+
"type": "number",
63+
"minimum": -180,
64+
"maximum": 180
65+
},
66+
{
67+
"type": "number",
68+
"minimum": -90,
69+
"maximum": 90
70+
}
71+
]
72+
}
73+
}
74+
}
75+
}
76+
},
77+
"description": "MultiPolygon geometry object."
78+
},
2679
"type": {
2780
"title": "Feature Collection",
2881
"type": "string",

src/python_osw_validation/schema/Point_schema.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,59 @@
2323
"format": "date-time",
2424
"type": "string"
2525
},
26+
"pipelineVersion": {
27+
"additionalProperties": true,
28+
"properties": {},
29+
"type": "object"
30+
},
31+
"region": {
32+
"title": "geometryObject",
33+
"type": "object",
34+
"required": [
35+
"type",
36+
"coordinates"
37+
],
38+
"additionalProperties": false,
39+
"properties": {
40+
"type": {
41+
"title": "GeometryType",
42+
"type": "string",
43+
"default": "MultiPolygon",
44+
"enum": [
45+
"MultiPolygon"
46+
]
47+
},
48+
"coordinates": {
49+
"type": "array",
50+
"minItems": 1,
51+
"items": {
52+
"type": "array",
53+
"minItems": 1,
54+
"items": {
55+
"type": "array",
56+
"minItems": 4,
57+
"items": {
58+
"type": "array",
59+
"additionalItems": false,
60+
"items": [
61+
{
62+
"type": "number",
63+
"minimum": -180,
64+
"maximum": 180
65+
},
66+
{
67+
"type": "number",
68+
"minimum": -90,
69+
"maximum": 90
70+
}
71+
]
72+
}
73+
}
74+
}
75+
}
76+
},
77+
"description": "MultiPolygon geometry object."
78+
},
2679
"type": {
2780
"title": "Feature Collection",
2881
"type": "string",

src/python_osw_validation/schema/Polygon_schema.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,59 @@
2323
"format": "date-time",
2424
"type": "string"
2525
},
26+
"pipelineVersion": {
27+
"additionalProperties": true,
28+
"properties": {},
29+
"type": "object"
30+
},
31+
"region": {
32+
"title": "geometryObject",
33+
"type": "object",
34+
"required": [
35+
"type",
36+
"coordinates"
37+
],
38+
"additionalProperties": false,
39+
"properties": {
40+
"type": {
41+
"title": "GeometryType",
42+
"type": "string",
43+
"default": "MultiPolygon",
44+
"enum": [
45+
"MultiPolygon"
46+
]
47+
},
48+
"coordinates": {
49+
"type": "array",
50+
"minItems": 1,
51+
"items": {
52+
"type": "array",
53+
"minItems": 1,
54+
"items": {
55+
"type": "array",
56+
"minItems": 4,
57+
"items": {
58+
"type": "array",
59+
"additionalItems": false,
60+
"items": [
61+
{
62+
"type": "number",
63+
"minimum": -180,
64+
"maximum": 180
65+
},
66+
{
67+
"type": "number",
68+
"minimum": -90,
69+
"maximum": 90
70+
}
71+
]
72+
}
73+
}
74+
}
75+
}
76+
},
77+
"description": "MultiPolygon geometry object."
78+
},
2679
"type": {
2780
"title": "Feature Collection",
2881
"type": "string",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.2.12'
1+
__version__ = '0.2.13'

0 commit comments

Comments
 (0)