Skip to content

Commit 7773994

Browse files
committed
add more mimetypes
1 parent 9683a6f commit 7773994

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.1.2 (2024-08-20)
2+
3+
- Add more **MimeTypes** (geojsonseq, pbf, mvt, ndjson, openapi_yaml, pdf, csv, parquet)
4+
15
## 3.1.1 (2024-07-09)
26

37
- Cache remote JSON schemas for extensions (#155, @avbentem)

Diff for: stac_pydantic/shared.py

+8
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,26 @@ class MimeTypes(str, Enum):
4646
jpeg = "image/jpeg"
4747
# Vector
4848
geojson = "application/geo+json"
49+
geojsonseq = "application/geo+json-seq"
4950
geopackage = "application/geopackage+sqlite3"
5051
kml = "application/vnd.google-earth.kml+xml"
5152
kmz = "application/vnd.google-earth.kmz"
53+
pbf = "application/x-protobuf"
54+
mvt = "application/vnd.mapbox-vector-tile"
5255
# Others
5356
hdf = "application/x-hdf"
5457
hdf5 = "application/x-hdf5"
5558
xml = "application/xml"
5659
json = "application/json"
60+
ndjson = "application/ndjson"
5761
html = "text/html"
5862
text = "text/plain"
5963
openapi = "application/vnd.oai.openapi+json;version=3.0"
64+
openapi_yaml = "application/vnd.oai.openapi;version=3.0"
6065
jsonschema = "application/schema+json"
66+
pdf = "application/pdf"
67+
csv = "text/csv"
68+
parquet = "application/vnd.apache.parquet"
6169

6270

6371
class AssetRoles(str, AutoValueEnum):

Diff for: stac_pydantic/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""stac-pydantic and STAC spec versions."""
22

3-
__version__ = "3.1.1"
3+
__version__ = "3.1.2"
44

55
STAC_VERSION = "1.0.0"

0 commit comments

Comments
 (0)