From 69fb9faeef833445dcd490c85d6b721d8ec36d50 Mon Sep 17 00:00:00 2001 From: Fabian Schindler Date: Thu, 6 Jul 2023 11:47:06 +0200 Subject: [PATCH 1/4] Adding queryables link relation --- stac_pydantic/links.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stac_pydantic/links.py b/stac_pydantic/links.py index f847141..6f2ea65 100644 --- a/stac_pydantic/links.py +++ b/stac_pydantic/links.py @@ -103,3 +103,4 @@ class Relations(str, AutoValueEnum): canonical = auto() service_desc = "service-desc" service_doc = "service-doc" + queryables = "http://www.opengis.net/def/rel/ogc/1.0/queryables" From 1e6fb6d10df981af5e6fc3f5b9932ec097962380 Mon Sep 17 00:00:00 2001 From: Fabian Schindler Date: Thu, 6 Jul 2023 11:49:01 +0200 Subject: [PATCH 2/4] Adding mime type for json schemas --- stac_pydantic/shared.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stac_pydantic/shared.py b/stac_pydantic/shared.py index a1f0b79..eb7dfcc 100644 --- a/stac_pydantic/shared.py +++ b/stac_pydantic/shared.py @@ -41,6 +41,7 @@ class MimeTypes(str, Enum): html = "text/html" text = "text/plain" openapi = "application/vnd.oai.openapi+json;version=3.0" + schemajson = "application/schema+json" class AssetRoles(str, AutoValueEnum): From 116efba3b824c6c65b7f1879b190c9335183d731 Mon Sep 17 00:00:00 2001 From: Fabian Schindler Date: Thu, 6 Jul 2023 13:12:13 +0200 Subject: [PATCH 3/4] Update stac_pydantic/shared.py Co-authored-by: Matthias Mohr --- stac_pydantic/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stac_pydantic/shared.py b/stac_pydantic/shared.py index eb7dfcc..5294dcf 100644 --- a/stac_pydantic/shared.py +++ b/stac_pydantic/shared.py @@ -41,7 +41,7 @@ class MimeTypes(str, Enum): html = "text/html" text = "text/plain" openapi = "application/vnd.oai.openapi+json;version=3.0" - schemajson = "application/schema+json" + jsonschema = "application/schema+json" class AssetRoles(str, AutoValueEnum): From 5a448134b936f2755cad760658d77ce0fc24b6f5 Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Thu, 11 Apr 2024 10:24:06 +0200 Subject: [PATCH 4/4] update changelog --- CHANGELOG.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 22633b4..2ae27d3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,7 @@ - Update pre-commit configuration and switch to astral-sh/ruff for linter and formater - Add official support for python 3.12 - Enforce required `type` key for `Collection` and `Catalog` models +- Add queryables link relation type (#123, @constantinius) 3.0.0 (2024-01-25) ------------------