Skip to content

Commit 389706f

Browse files
Merge pull request #123 from constantinius/queryables
Adding `queryables` link relation type
2 parents f682826 + 5a44813 commit 389706f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Update pre-commit configuration and switch to astral-sh/ruff for linter and formater
66
- Add official support for python 3.12
77
- Enforce required `type` key for `Collection` and `Catalog` models
8+
- Add queryables link relation type (#123, @constantinius)
89

910
3.0.0 (2024-01-25)
1011
------------------

stac_pydantic/links.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ class Relations(str, AutoValueEnum):
7878
data = auto()
7979
service_desc = "service-desc"
8080
service_doc = "service-doc"
81+
queryables = "http://www.opengis.net/def/rel/ogc/1.0/queryables"

stac_pydantic/shared.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class MimeTypes(str, Enum):
4444
html = "text/html"
4545
text = "text/plain"
4646
openapi = "application/vnd.oai.openapi+json;version=3.0"
47+
jsonschema = "application/schema+json"
4748

4849

4950
class AssetRoles(str, AutoValueEnum):

0 commit comments

Comments
 (0)