Skip to content

Commit

Permalink
feat: added format URIs for data formats
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Oct 5, 2021
1 parent de5214d commit b38e3cc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions biosimulators_utils/combine/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class CombineArchiveContentFormat(str, enum.Enum):
BioPAX = 'http://identifiers.org/combine.specifications/biopax'
CellML = 'http://identifiers.org/combine.specifications/cellml'
CopasiML = 'http://purl.org/NET/mediatypes/application/x-copasi'
CSV = 'http://purl.org/NET/mediatypes/text/csv'
Escher = 'http://purl.org/NET/mediatypes/application/escher+json'
GIF = 'http://purl.org/NET/mediatypes/image/gif'
GINML = 'http://purl.org/NET/mediatypes/application/ginml+xml'
Expand All @@ -180,6 +181,7 @@ class CombineArchiveContentFormat(str, enum.Enum):
MATLAB_DATA = 'http://purl.org/NET/mediatypes/application/x-matlab-data'
MorpheusML = 'http://purl.org/NET/mediatypes/application/morpheusml+xml'
NeuroML = 'http://identifiers.org/combine.specifications/neuroml'
NuML = 'http://purl.org/NET/mediatypes/application/numl+xml'
OMEX = 'http://identifiers.org/combine.specifications/omex'
OMEX_MANIFEST = 'http://identifiers.org/combine.specifications/omex-manifest'
OMEX_METADATA = 'http://identifiers.org/combine.specifications/omex-metadata'
Expand All @@ -202,12 +204,14 @@ class CombineArchiveContentFormat(str, enum.Enum):
SVG = 'http://purl.org/NET/mediatypes/image/svg+xml'
TEXT = 'http://purl.org/NET/mediatypes/text/plain'
TIFF = 'http://purl.org/NET/mediatypes/image/tiff'
TSV = 'http://purl.org/NET/mediatypes/text/tab-separated-values'
VCML = 'http://purl.org/NET/mediatypes/application/vcml+xml'
Vega = 'http://purl.org/NET/mediatypes/application/vega+json'
Vega_Lite = 'http://purl.org/NET/mediatypes/application/vega-lite+json'
WEBP = 'http://purl.org/NET/mediatypes/image/webp'
XML = 'http://purl.org/NET/mediatypes/application/xml'
XPP = 'http://purl.org/NET/mediatypes/text/x-xpp'
XLSX = 'http://purl.org/NET/mediatypes/application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
YAML = 'http://purl.org/NET/mediatypes/application/x-yaml'
ZGINML = 'http://purl.org/NET/mediatypes/application/zginml+zip'
ZIP = 'http://purl.org/NET/mediatypes/application/zip'
Expand All @@ -221,6 +225,7 @@ class CombineArchiveContentFormatPattern(str, enum.Enum):
BioPAX = r'^https?://identifiers\.org/combine\.specifications/biopax($|\.)'
CellML = r'^https?://identifiers\.org/combine\.specifications/cellml($|\.)'
CopasiML = r'^https?://purl\.org/NET/mediatypes/application/x-copasi$'
CSV = r'^https?://purl\.org/NET/mediatypes/text/csv$'
Escher = r'^https?://purl\.org/NET/mediatypes/application/escher\+json$'
GIF = r'^https?://purl\.org/NET/mediatypes/image/gif$'
GINML = r'^https?://purl\.org/NET/mediatypes/application/ginml\+xml$'
Expand All @@ -236,6 +241,7 @@ class CombineArchiveContentFormatPattern(str, enum.Enum):
MATLAB_DATA = r'^https?://purl\.org/NET/mediatypes/application/x-matlab-data$'
MorpheusML = r'^https?://purl\.org/NET/mediatypes/application/morpheusml\+xml$'
NeuroML = r'^https?://identifiers\.org/combine\.specifications/neuroml($|\.)'
NuML = r'^https?://purl\.org/NET/mediatypes/application/numl\+xml$'
OMEX = r'^https?://identifiers\.org/combine\.specifications/omex($|\.)'
OMEX_MANIFEST = r'^https?://identifiers\.org/combine\.specifications/omex-manifest($|\.)'
OMEX_METADATA = r'^https?://identifiers\.org/combine\.specifications/omex-metadata($|\.)'
Expand All @@ -258,10 +264,12 @@ class CombineArchiveContentFormatPattern(str, enum.Enum):
SVG = r'^https?://purl\.org/NET/mediatypes/image/svg\+xml$'
TEXT = r'^https?://purl\.org/NET/mediatypes/text/plain$'
TIFF = r'^https?://purl\.org/NET/mediatypes/image/tiff$'
TSV = r'^https?://purl\.org/NET/mediatypes/text/tab-separated-values$'
Vega = r'^https?://purl\.org/NET/mediatypes/application/vega\+json$'
Vega_Lite = r'^https?://purl\.org/NET/mediatypes/application/vega-lite\+json$'
VCML = r'^https?://purl\.org/NET/mediatypes/application/vcml\+xml$'
WEBP = r'^https?://purl\.org/NET/mediatypes/image/webp$'
XLSX = r'^https?://purl\.org/NET/mediatypes/application/vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet$'
XML = r'^https?://purl\.org/NET/mediatypes/application/xml$'
XPP = r'^https?://purl\.org/NET/mediatypes/text/x-xpp$'
YAML = r'^https?://purl\.org/NET/mediatypes/application/x-yaml$'
Expand Down

0 comments on commit b38e3cc

Please sign in to comment.