Skip to content

Commit

Permalink
Allow empty catalogs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrom committed Apr 30, 2021
1 parent 2f0a35a commit 2f81fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catalog-spec/catalog-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The following types are commonly used as `rel` types in the Link Object of a STA
| child | URL to a child STAC entity (Catalog or Collection). |
| item | URL to a STAC Item. |

**Note:** A link to at least one `item` or `child` (Catalog or Collection) is **REQUIRED**.
**Note:** Empty catalogs are allowed (i.e. without no `item` or `child` link).

There are additional `rel` types in the [Using Relation Types](../best-practices.md#using-relation-types) best practice, but as
they are more typically used in Collections, as Catalogs tend to just be used to structure STAC organization, so tend to just use
Expand Down
2 changes: 1 addition & 1 deletion catalog-spec/json-schema/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"title": "Links",
"type": "array",
"contains": {
"description": "A link to at least one `item` or `child` is REQUIRED in Catalogs.",
"description": "A link `item` or `child`.",
"type": "object",
"properties": {
"rel": {
Expand Down

0 comments on commit 2f81fcc

Please sign in to comment.