Skip to content

Commit

Permalink
feat: resolves #4
Browse files Browse the repository at this point in the history
  • Loading branch information
sim13pods committed Jul 2, 2024
1 parent 16d56ad commit e55b97f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
],
"product:timeliness_category": [
"NRT"
]
],
"product:acquisition_type": "calibration"
},
"links": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
],
"product:type": "GRD",
"product:timeliness": "PT3H",
"product:timeliness_category": "NRT"
"product:timeliness_category": "NRT",
"product:acquisition_type": "nominal"
},
"geometry": {
"type": "Polygon",
Expand Down
7 changes: 7 additions & 0 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
},
"product:timeliness_category": {
"$ref": "#/definitions/product:timeliness_category"
},
"product:acquisition_type": {
"$ref": "#/definitions/product:acquisition_type"
}
},
"patternProperties": {
Expand All @@ -137,6 +140,10 @@
"product:timeliness_category": {
"type": "string"
},
"product:acquisition_type": {
"type": "string",
"enum": [ "nominal", "calibration", "other" ]
},
"json_schema": {
"$comment": "JSON Schema",
"type": "object"
Expand Down

0 comments on commit e55b97f

Please sign in to comment.