diff --git a/CHANGELOG.md b/CHANGELOG.md index ceb85b5..6d89a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.2 (2024-08-20) + +- Add more **MimeTypes** (geojsonseq, pbf, mvt, ndjson, openapi_yaml, pdf, csv, parquet) + ## 3.1.1 (2024-07-09) - Cache remote JSON schemas for extensions (#155, @avbentem) diff --git a/stac_pydantic/shared.py b/stac_pydantic/shared.py index eede150..437f6e8 100644 --- a/stac_pydantic/shared.py +++ b/stac_pydantic/shared.py @@ -46,18 +46,26 @@ class MimeTypes(str, Enum): jpeg = "image/jpeg" # Vector geojson = "application/geo+json" + geojsonseq = "application/geo+json-seq" geopackage = "application/geopackage+sqlite3" kml = "application/vnd.google-earth.kml+xml" kmz = "application/vnd.google-earth.kmz" + pbf = "application/x-protobuf" + mvt = "application/vnd.mapbox-vector-tile" # Others hdf = "application/x-hdf" hdf5 = "application/x-hdf5" xml = "application/xml" json = "application/json" + ndjson = "application/ndjson" html = "text/html" text = "text/plain" openapi = "application/vnd.oai.openapi+json;version=3.0" + openapi_yaml = "application/vnd.oai.openapi;version=3.0" jsonschema = "application/schema+json" + pdf = "application/pdf" + csv = "text/csv" + parquet = "application/vnd.apache.parquet" class AssetRoles(str, AutoValueEnum): diff --git a/stac_pydantic/version.py b/stac_pydantic/version.py index 36a4167..9d09a6c 100644 --- a/stac_pydantic/version.py +++ b/stac_pydantic/version.py @@ -1,5 +1,5 @@ """stac-pydantic and STAC spec versions.""" -__version__ = "3.1.1" +__version__ = "3.1.2" STAC_VERSION = "1.0.0"