Skip to content

Commit

Permalink
Catalog: Require child / item in JSON Schema #1100
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Apr 29, 2021
1 parent 89923bf commit 9abb6e6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions catalog-spec/json-schema/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@
"type": {
"title": "Type of STAC entity",
"const": "Catalog"
},
"links": {
"title": "Links",
"type": "array",
"contains": {
"description": "A link to at least one `item` or `child` is REQUIRED in Catalogs.",
"type": "object",
"properties": {
"rel": {
"enum": [
"child",
"item"
]
}
}
}
}
}
}
Expand Down

0 comments on commit 9abb6e6

Please sign in to comment.