Skip to content

Commit

Permalink
Merge pull request #350 from tdwg/fileMediatype
Browse files Browse the repository at this point in the history
Update fileMediaType (and filePublic)
  • Loading branch information
peterdesmet authored Oct 7, 2023
2 parents c791e2b + 9f2938f commit 1ebc3af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions media-table-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
{
"name": "filePublic",
"description": "`false` if the media file is not publicly accessible (e.g. to protect the privacy of people).",
"skos:broadMatch": "http://rs.tdwg.org/ac/terms/serviceExpectation",
"type": "boolean",
"constraints": {
"required": true
Expand All @@ -80,10 +81,12 @@
},
{
"name": "fileMediatype",
"description": "Mediatype of the media file.",
"description": "Mediatype of the media file. Expressed as an [IANA Media Type](https://www.iana.org/assignments/media-types/media-types.xhtml).",
"skos:broadMatch": "http://purl.org/dc/elements/1.1/format",
"type": "string",
"constraints": {
"required": true
"required": true,
"pattern": "^(image|video|audio)\/.*$"
},
"example": "image/jpeg"
},
Expand Down

0 comments on commit 1ebc3af

Please sign in to comment.