From 92c0871168e7e84fb5ad2d028121429c03da2d92 Mon Sep 17 00:00:00 2001 From: Nokome Bentley Date: Wed, 21 Aug 2019 17:09:30 +1200 Subject: [PATCH] fix(MediaObject): Remove uri format constraint --- schema/MediaObject.schema.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/schema/MediaObject.schema.yaml b/schema/MediaObject.schema.yaml index 16479c3af0..dd1c5c9fb0 100644 --- a/schema/MediaObject.schema.yaml +++ b/schema/MediaObject.schema.yaml @@ -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.