APIs.io Engineering Platform · Schema
MediaObject
Defines a media object.
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| contentUrl | string | Original URL to retrieve the source (file) for the media object (e.g the source URL for the image). |
| height | integer | The height of the source media object, in pixels. |
| width | integer | The width of the source media object, in pixels. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MediaObject",
"title": "MediaObject",
"properties": {
"contentUrl": {
"type": "string",
"description": "Original URL to retrieve the source (file) for the media object (e.g the source URL for the image).",
"readOnly": true
},
"height": {
"type": "integer",
"description": "The height of the source media object, in pixels.",
"format": "int32",
"readOnly": true
},
"width": {
"type": "integer",
"description": "The width of the source media object, in pixels.",
"format": "int32",
"readOnly": true
}
},
"description": "Defines a media object.",
"allOf": [
{
"$ref": "#/components/schemas/CreativeWork"
}
]
}