Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ The Copernicus programme releases products on three levels of timeliness:
>
> Source: <https://en.wikipedia.org/wiki/ISO_8601#Durations>

#### product:availibility

The product availability describes if the asset(s) defined in the product is(are) downloadable right away, or if it(they) must be retrieved from an archive storage type (e.g. S3 glacier). This field is relevant only at item level.

Allowed values are:

- `online`
- `offline`

## Contributing

All contributions are subject to the
Expand Down
3 changes: 2 additions & 1 deletion examples/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"product:type": "GRD",
"product:timeliness": "PT3H",
"product:timeliness_category": "NRT",
"product:acquisition_type": "nominal"
"product:acquisition_type": "nominal",
"product:availability": "online"
},
"geometry": {
"type": "Polygon",
Expand Down
24 changes: 24 additions & 0 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@
}
}
]
},
"product:availability": {
"oneOf": [
{
"$ref": "#/definitions/json_schema"
},
{
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/product:availability"
}
}
]
}
}
}
Expand Down Expand Up @@ -150,6 +164,9 @@
},
"product:acquisition_type": {
"$ref": "#/definitions/product:acquisition_type"
},
"product:availability": {
"$ref": "#/definitions/product:availability"
}
},
"patternProperties": {
Expand Down Expand Up @@ -177,6 +194,13 @@
"other"
]
},
"product:availability": {
"type": "string",
"enum": [
"online",
"offline"
]
},
"json_schema": {
"$comment": "JSON Schema",
"type": "object"
Expand Down