Skip to content

Commit

Permalink
Mention IANA and add regular expression
Browse files Browse the repository at this point in the history
Fix #341
  • Loading branch information
peterdesmet committed Sep 25, 2023
1 parent 2505d03 commit 1e357c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions media-table-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,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 1e357c0

Please sign in to comment.