Affects Version/s: None
Component/s: Headless Delivery API
- Type MediaObject:
- Create our Type based on “MediaObject”: “Liferay:Document”
- Rename property “contentStream” to “contentUrl”
- Why? It is a property defined by schema.org for mediaObject
- Rename property “categories” to “category”
- Rename property “text” to “description”
- Why? In schema.org “text” is about the text content of a mediaObject. “description” is “A description of the item” and also reflects what we have in the UI.
- "contentSize" is defined in schema.org of type Text, not number.
- Change type or create a new property
- Creating mediaObject:
- Rename “title” to “headline” in the form for uploading a mediaObject.