@@ -15,15 +15,39 @@ class MediaType(StringEnum):
15
15
JPEG = "image/jpeg"
16
16
JPEG2000 = "image/jp2"
17
17
JSON = "application/json"
18
- PARQUET = "application/x-parquet" # https://github.com/opengeospatial/geoparquet/issues/115#issuecomment-1181549523
19
18
PNG = "image/png"
20
19
TEXT = "text/plain"
21
20
TIFF = "image/tiff"
22
21
KML = "application/vnd.google-earth.kml+xml"
23
22
XML = "application/xml"
24
23
PDF = "application/pdf"
25
- ZARR = "application/vnd+zarr" # https://github.com/openMetadataInitiative/openMINDS_core/blob/v4/instances/data/contentTypes/zarr.jsonld
26
- NETCDF = "application/netcdf" # https://github.com/Unidata/netcdf/issues/42#issuecomment-1007618822
24
+
25
+ # https://github.com/Unidata/netcdf/issues/42#issuecomment-1007618822
26
+ NETCDF = "application/netcdf"
27
+
28
+ # Cloud Optimized Point Cloud
29
+ COPC = "application/vnd.laszip+copc"
30
+
31
+ # https://github.com/protomaps/PMTiles/blob/main/spec/v3/spec.md#1-abstract
32
+ VND_PMTILES = "application/vnd.pmtiles" # Protomaps PMTiles
33
+
34
+ # https://www.iana.org/assignments/media-types/application/vnd.apache.parquet
35
+ VND_APACHE_PARQUET = "application/vnd.apache.parquet"
36
+
37
+ # https://humanbrainproject.github.io/openMINDS/v3/core/v4/data/contentType.html
38
+ VND_ZARR = "application/vnd.zarr"
39
+
40
+ ##############
41
+ # DEPRECATED #
42
+ ##############
43
+
44
+ # https://github.com/opengeospatial/geoparquet/issues/115#issuecomment-1181549523
45
+ # deprecated, use VND_APACHE_PARQUET instead
46
+ PARQUET = "application/x-parquet"
47
+
48
+ # https://github.com/openMetadataInitiative/openMINDS_core/blob/v4/instances/data/contentTypes/zarr.jsonld
49
+ # deprecated, use VND_ZARR instead
50
+ ZARR = "application/vnd+zarr"
27
51
28
52
29
53
#: Media types that can be resolved as STAC Objects
0 commit comments