Skip to content

Commit

Permalink
schemas: update to stac-api 1.0.0
Browse files Browse the repository at this point in the history
This effectively renames the directory
called master to 1.0.0.
  • Loading branch information
pjonsson authored and omad committed Dec 4, 2023
1 parent e098f36 commit 35bbf98
Show file tree
Hide file tree
Showing 31 changed files with 2,744 additions and 2,795 deletions.
876 changes: 438 additions & 438 deletions integration_tests/schemas/geojson.org/schema/Feature.json

Large diffs are not rendered by default.

990 changes: 495 additions & 495 deletions integration_tests/schemas/geojson.org/schema/FeatureCollection.json

Large diffs are not rendered by default.

408 changes: 204 additions & 204 deletions integration_tests/schemas/geojson.org/schema/Geometry.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schemas.stacspec.org/v1.0.0/catalog-spec/json-schema/catalog.json#",
"title": "STAC Catalog Specification",
"description": "This object represents Catalogs in a SpatioTemporal Asset Catalog.",
"allOf": [
{
"$ref": "#/definitions/catalog"
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schemas.stacspec.org/v1.0.0/catalog-spec/json-schema/catalog.json#",
"title": "STAC Catalog Specification",
"description": "This object represents Catalogs in a SpatioTemporal Asset Catalog.",
"allOf": [
{
"$ref": "#/definitions/catalog"
}
],
"definitions": {
"catalog": {
"title": "STAC Catalog",
"type": "object",
"required": [
"stac_version",
"type",
"id",
"description",
"links"
],
"properties": {
"stac_version": {
"title": "STAC version",
"type": "string",
"const": "1.0.0"
},
"stac_extensions": {
"title": "STAC extensions",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
}
},
"type": {
"title": "Type of STAC entity",
"const": "Catalog"
},
"id": {
"title": "Identifier",
"type": "string",
"minLength": 1
},
"title": {
"title": "Title",
"type": "string"
},
"description": {
"title": "Description",
"type": "string",
"minLength": 1
},
"links": {
"title": "Links",
"type": "array",
"items": {
"$ref": "#/definitions/link"
}
}
],
"definitions": {
"catalog": {
"title": "STAC Catalog",
"type": "object",
"required": [
"stac_version",
"type",
"id",
"description",
"links"
],
"properties": {
"stac_version": {
"title": "STAC version",
"type": "string",
"const": "1.0.0"
},
"stac_extensions": {
"title": "STAC extensions",
"type": "array",
"uniqueItems": true,
"items": {
"title": "Reference to a JSON Schema",
"type": "string",
"format": "iri"
}
},
"type": {
"title": "Type of STAC entity",
"const": "Catalog"
},
"id": {
"title": "Identifier",
"type": "string",
"minLength": 1
},
"title": {
"title": "Title",
"type": "string"
},
"description": {
"title": "Description",
"type": "string",
"minLength": 1
},
"links": {
"title": "Links",
"type": "array",
"items": {
"$ref": "#/definitions/link"
}
}
}
}
},
"link": {
"type": "object",
"required": [
"rel",
"href"
],
"properties": {
"href": {
"title": "Link reference",
"type": "string",
"format": "iri-reference",
"minLength": 1
},
"rel": {
"title": "Link relation type",
"type": "string",
"minLength": 1
},
"type": {
"title": "Link type",
"type": "string"
},
"link": {
"type": "object",
"required": [
"rel",
"href"
],
"properties": {
"href": {
"title": "Link reference",
"type": "string",
"format": "iri-reference",
"minLength": 1
},
"rel": {
"title": "Link relation type",
"type": "string",
"minLength": 1
},
"type": {
"title": "Link type",
"type": "string"
},
"title": {
"title": "Link title",
"type": "string"
}
}
"title": {
"title": "Link title",
"type": "string"
}
}
}
}
}
Loading

0 comments on commit 35bbf98

Please sign in to comment.