Skip to content

Commit

Permalink
Publish JSON Schemas [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
STAC CI committed Jul 17, 2024
1 parent 96db975 commit eaa20bd
Showing 1 changed file with 40 additions and 4 deletions.
44 changes: 40 additions & 4 deletions dev/collection-spec/json-schema/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@
"type": "array",
"oneOf": [
{
"minItems":4,
"maxItems":4
"minItems": 4,
"maxItems": 4
},
{
"minItems":6,
"maxItems":6
"minItems": 6,
"maxItems": 6
}
],
"items": {
Expand Down Expand Up @@ -131,6 +131,42 @@
"assets": {
"$ref": "../../item-spec/json-schema/item.json#/definitions/assets"
},
"item_assets": {
"allOf": [
{
"type": "object",
"minProperties": 2,
"properties": {
"href": {
"title": "Disallow href",
"not": {}
},
"title": {
"title": "Asset title",
"type": "string"
},
"description": {
"title": "Asset description",
"type": "string"
},
"type": {
"title": "Asset type",
"type": "string"
},
"roles": {
"title": "Asset roles",
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"$ref": "../../item-spec/json-schema/common.json"
}
]
},
"links": {
"$ref": "../../item-spec/json-schema/item.json#/definitions/links"
},
Expand Down

0 comments on commit eaa20bd

Please sign in to comment.