Replies: 2 comments 1 reply
-
|
I think having But I'm not sure if |
Beta Was this translation helpful? Give feedback.
-
|
2 cents: Solution 2 seems more in line with schema.org and is more widely applicable, so I would favor that. We should rely on For properties that are not well described by sc:AudioObject, solution 2 can also be used, provided we find other vocabularies that define the right properties. (See examples 11 and 12 in the schema.org/PropertyValue documentation.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Idea: We want to handle audio ml:Fields using https://schema.org/AudioObject.
Issue 1
Does sc:AudioObject contain all the needed properties? In particular, is
bitratebeing an sc:Text an issue?Issue 2
The other challenge is to have
ml:Fieldinherit all the properties ofsc:AudioObject.Solution 1: Add a field
audioPropertieswith all the audio properties.{ "@type": "ml:Field", "name": "audio", ... "audioProperties": { "@type": "sc:AudioObject", "bitrate": "24kbps", "encodingFormat": "audio/mpeg" } }Solution 2: Use additionalProperty.
{ "@type": "ml:Field", "name": "audio", ... "additionalProperty": [ { "@type": "sc:PropertyValue", "name": "bitrate", "value": "24kbps" }, { "@type": "sc:PropertyValue", "name": "encodingFormat", "value": "audio/mpeg" } ] }This discussion is related to the issue #240. Cc: @benjelloun @monke6942021 @fineguy.
Beta Was this translation helpful? Give feedback.
All reactions