Skip to content

Commit

Permalink
fix(MediaObject): Remove uri format constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Aug 21, 2019
1 parent 4ab903d commit 92c0871
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions schema/MediaObject.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ properties:
'@id': schema:contentUrl
description: |
URL for the actual bytes of the media object, for example the image file or video file.
$comment: |
To allow for file paths, including possibly erroneous paths, niether `format` or `pattern`
keywords are used here, or on `embedUrl`.
type: string
format: uri
embedUrl:
'@id': schema:embedUrl
description: |
URL that can be used to embed the media on a web page via a specific media player.
type: string
format: uri
format:
# We use the name "format" for this property because it is shorter, and does not
# clash with any other existing schema.org properties.
Expand Down

0 comments on commit 92c0871

Please sign in to comment.