diff --git a/extensions/linz/README.md b/extensions/linz/README.md index 43607de9..bd0456c0 100644 --- a/extensions/linz/README.md +++ b/extensions/linz/README.md @@ -65,9 +65,9 @@ extension which adds constraints to default STAC schema properties. | ---------------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | title | string | **REQUIRED**. Collection title. | | linz:created | string | **REQUIRED**. Creation date and time of the collection in UTC. | -| linz:lifecycle | string | **REQUIRED**. Lifecycle Status of Collection. Must be one of `Under Development`, `Preview`, `Ongoing`, `Completed`, `Deprecated`. | +| linz:lifecycle | string | **REQUIRED**. Lifecycle Status of Collection. Must be one of `under development`, `preview`, `ongoing`, `completed`, `deprecated`. | | linz:providers | [Providers Object](#providers-object) | **REQUIRED**. A list of providers, which may include all organizations capturing or processing the data or the hosting provider. Providers should be listed in chronological order with the most recent provider being the last element of the list. | -| linz:security_classification | string | **REQUIRED**. New Zealand Government [Security Classification](https://www.digital.govt.nz/standards-and-guidance/governance/managing-online-channels/security-and-privacy-for-websites/foundations/classify-information/). Must be one of `Unclassified`, `IN-CONFIDENCE`, `SENSITIVE`, `RESTRICTED`, `CONFIDENTIAL`, `SECRET` or `TOP-SECRET`. | +| linz:security_classification | string | **REQUIRED**. New Zealand Government [Security Classification](https://www.digital.govt.nz/standards-and-guidance/governance/managing-online-channels/security-and-privacy-for-websites/foundations/classify-information/). Must be one of `unclassified`, `in-confidence`, `sensitive`, `restricted`, `confidential`, `secret` or `top-secret`. | | linz:updated | string | **REQUIRED**. Date and time the collection was updated last, in UTC. | ### Providers Object diff --git a/extensions/linz/examples/collection.json b/extensions/linz/examples/collection.json index 56a99117..25a06110 100644 --- a/extensions/linz/examples/collection.json +++ b/extensions/linz/examples/collection.json @@ -12,7 +12,7 @@ "description": "A description", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -21,7 +21,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -40,7 +40,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/examples/item.json b/extensions/linz/examples/item.json index 831eaa4f..ca87f92a 100644 --- a/extensions/linz/examples/item.json +++ b/extensions/linz/examples/item.json @@ -30,5 +30,5 @@ "href": "https://example.com/examples/file.xyz" } }, - "linz:geospatial_type": "Polygon" + "linz:geospatial_type": "polygon" } diff --git a/extensions/linz/non-examples/additional_linz_property.json b/extensions/linz/non-examples/additional_linz_property.json index 8dbe5212..abe17318 100644 --- a/extensions/linz/non-examples/additional_linz_property.json +++ b/extensions/linz/non-examples/additional_linz_property.json @@ -12,7 +12,7 @@ "description": "This is a non-conformant example. It has an extra \"linz:\" property.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -21,7 +21,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -40,7 +40,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/additional_quality_property.json b/extensions/linz/non-examples/additional_quality_property.json index b6003a14..a80a143c 100644 --- a/extensions/linz/non-examples/additional_quality_property.json +++ b/extensions/linz/non-examples/additional_quality_property.json @@ -12,7 +12,7 @@ "description": "This is a non-conformant example. It has an extra \"quality:\" property.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -21,7 +21,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -40,7 +40,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/invalid_projection_espg_code.json b/extensions/linz/non-examples/invalid_projection_espg_code.json index c93136c6..86265ee1 100644 --- a/extensions/linz/non-examples/invalid_projection_espg_code.json +++ b/extensions/linz/non-examples/invalid_projection_espg_code.json @@ -12,7 +12,7 @@ "description": "This is a non-conformant example. It has an invalid proj:epsg value.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -21,7 +21,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -40,7 +40,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/no_lifecycle.json b/extensions/linz/non-examples/no_lifecycle.json index 27a3c691..3ae8a6b4 100644 --- a/extensions/linz/non-examples/no_lifecycle.json +++ b/extensions/linz/non-examples/no_lifecycle.json @@ -20,7 +20,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -39,7 +39,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/no_linz_created.json b/extensions/linz/non-examples/no_linz_created.json index a3d98a00..74206b54 100644 --- a/extensions/linz/non-examples/no_linz_created.json +++ b/extensions/linz/non-examples/no_linz_created.json @@ -11,7 +11,7 @@ "title": "A title", "description": "This is a non-conformant example. It is missing the mandatory \"linz:created\" property.", "license": "Apache-2.0", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -20,7 +20,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -39,7 +39,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/no_linz_security_classification.json b/extensions/linz/non-examples/no_linz_security_classification.json index 7b27dde9..7b2315fb 100644 --- a/extensions/linz/non-examples/no_linz_security_classification.json +++ b/extensions/linz/non-examples/no_linz_security_classification.json @@ -12,7 +12,7 @@ "description": "This is a non-conformant example. It is missing the mandatory \"linz:security_classification\" property.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -39,7 +39,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/no_linz_updated.json b/extensions/linz/non-examples/no_linz_updated.json index 41568a09..20078874 100644 --- a/extensions/linz/non-examples/no_linz_updated.json +++ b/extensions/linz/non-examples/no_linz_updated.json @@ -12,7 +12,7 @@ "description": "This is a non-conformant example. It is missing the mandatory \"linz:updated\" property.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -21,7 +21,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "extent": { "spatial": { "bbox": [[172.9, 1.3, 173, 1.4]] @@ -39,7 +39,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/no_title.json b/extensions/linz/non-examples/no_title.json index c3aab8ca..16de1da8 100644 --- a/extensions/linz/non-examples/no_title.json +++ b/extensions/linz/non-examples/no_title.json @@ -11,7 +11,7 @@ "description": "This is a non-conformant example. It is missing the mandatory \"title\" property.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -20,7 +20,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -39,7 +39,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/non-examples/no_version_property.json b/extensions/linz/non-examples/no_version_property.json index 78bb0d80..01ff486b 100644 --- a/extensions/linz/non-examples/no_version_property.json +++ b/extensions/linz/non-examples/no_version_property.json @@ -12,7 +12,7 @@ "description": "This is a non-conformant example. It is missing the mandatory \"version\" property.", "license": "Apache-2.0", "linz:created": "2015-06-23T00:00:00Z", - "linz:lifecycle": "Under Development", + "linz:lifecycle": "under development", "linz:providers": [ { "name": "Example", @@ -21,7 +21,7 @@ "url": "https://www.exampleurl.com" } ], - "linz:security_classification": "Unclassified", + "linz:security_classification": "unclassified", "linz:updated": "2015-06-23T00:00:00Z", "extent": { "spatial": { @@ -40,7 +40,7 @@ "links": [], "quality:description": "Example quality description", "quality:horizontal_accuracy": 1, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "providers": [ { diff --git a/extensions/linz/schema.json b/extensions/linz/schema.json index df2db64d..17348362 100644 --- a/extensions/linz/schema.json +++ b/extensions/linz/schema.json @@ -83,36 +83,36 @@ "linz:geospatial_type": { "type": "string", "enum": [ - "Black and White Image", - "Circular String", - "Colour Image", - "Compound Curve", - "Curve Polygon", - "Geometry", - "Geometry Collection", - "Greyscale", - "Grid", - "Hyperspectral", - "Multicurve", - "Multilinestring", - "Multipoint", - "Multipolygon", - "Multispectral", - "Multisurface", - "Linestring", - "Point", - "Point Cloud", - "Polygon", - "Polyhedral Surface", - "RGB", - "Tin", - "Triangle" + "black and white image", + "circular string", + "colour image", + "compound curve", + "curve polygon", + "geometry", + "geometry collection", + "greyscale", + "grid", + "hyperspectral", + "multicurve", + "multilinestring", + "multipoint", + "multipolygon", + "multispectral", + "multisurface", + "linestring", + "point", + "point cloud", + "polygon", + "polyhedral surface", + "rgb", + "tin", + "triangle" ] }, "linz:lifecycle": { "title": "Life Cycle", "type": "string", - "enum": ["Under Development", "Preview", "Ongoing", "Completed", "Deprecated"] + "enum": ["under development", "preview", "ongoing", "completed", "deprecated"] }, "linz:providers": { "type": "array", @@ -146,7 +146,7 @@ }, "linz:security_classification": { "type": "string", - "enum": ["Unclassified", "IN-CONFIDENCE", "SENSITIVE", "RESTRICTED", "CONFIDENTIAL", "SECRET", "TOP-SECRET"] + "enum": ["unclassified", "in-confidence", "sensitive", "restricted", "confidential", "secret", "top-secret"] }, "linz:updated": { "title": "Last Update Time", diff --git a/extensions/quality/README.md b/extensions/quality/README.md index e69a2d18..2ca53eb3 100644 --- a/extensions/quality/README.md +++ b/extensions/quality/README.md @@ -16,8 +16,8 @@ | -------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------ | | quality:description | string | Information or description relating to the quality of the dataset. | | quality:horizontal_accuracy | number | The horizontal accuracy of the dataset. Must be in units of metres. | -| quality:horizontal_accuracy_type | string | The type of accuracy for the horizontal accuracy value. Options are "Nominal" and "95% confidence interval". | +| quality:horizontal_accuracy_type | string | The type of accuracy for the horizontal accuracy value. Options are "nominal" and "95% confidence interval". | | quality:vertical_accuracy | number | The vertical accuracy of the dataset. Must be in units of metres. | | quality:lineage | string | **REQUIRED**. A descriptive statement about the lineage/history of a dataset | | quality:vertical_accuracy | number | The vertical accuracy of the dataset. Must be in units of metres. | -| quality:vertical_accuracy_type | string | The type of accuracy for the vertical accuracy value. Options are "Nominal" and "95% confidence interval". | +| quality:vertical_accuracy_type | string | The type of accuracy for the vertical accuracy value. Options are "nominal" and "95% confidence interval". | diff --git a/extensions/quality/examples/collection.json b/extensions/quality/examples/collection.json index 188c22fb..584f6986 100644 --- a/extensions/quality/examples/collection.json +++ b/extensions/quality/examples/collection.json @@ -26,10 +26,10 @@ "template:another_one": [1, 2, 3], "quality:description": "This is an example dataset quality description.", "quality:horizontal_accuracy": 0.4, - "quality:horizontal_accuracy_type": "Nominal", + "quality:horizontal_accuracy_type": "nominal", "quality:lineage": "This is an example dataset lineage description.", "quality:vertical_accuracy": 0.4, - "quality:vertical_accuracy_type": "Nominal", + "quality:vertical_accuracy_type": "nominal", "assets": { "example": { "href": "https://example.com/examples/file.xyz", diff --git a/extensions/quality/non-examples/incorrect_accuracy_type.json b/extensions/quality/non-examples/incorrect_accuracy_type.json index a35c51ca..e0572900 100644 --- a/extensions/quality/non-examples/incorrect_accuracy_type.json +++ b/extensions/quality/non-examples/incorrect_accuracy_type.json @@ -18,7 +18,7 @@ } }, "quality:horizontal_accuracy": 0.4, - "quality:horizontal_accuracy_type": "Good", + "quality:horizontal_accuracy_type": "good", "quality:lineage": "This is an example dataset lineage description.", "assets": { "example": { diff --git a/extensions/quality/schema.json b/extensions/quality/schema.json index 3bacd4d5..5c7caeb5 100644 --- a/extensions/quality/schema.json +++ b/extensions/quality/schema.json @@ -41,7 +41,7 @@ "quality:horizontal_accuracy_type": { "title": "Horizontal Accuracy Type", "type": "string", - "enum": ["Nominal", "95% confidence interval"] + "enum": ["nominal", "95% confidence interval"] }, "quality:lineage": { "title": "Lineage", @@ -54,7 +54,7 @@ "quality:vertical_accuracy_type": { "title": "Vertical Accuracy Type", "type": "string", - "enum": ["Nominal", "95% confidence interval"] + "enum": ["nominal", "95% confidence interval"] } }, "patternProperties": {