Properties
| Name | Type | Description |
|---|---|---|
| alt | string | |
| height | number | |
| id | string | |
| metadata | object | |
| position | number | |
| type | string | |
| url | string | |
| width | number |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CommerceItemMedia",
"title": "CommerceItemMedia",
"properties": {
"alt": {
"type": "string"
},
"height": {
"type": "number"
},
"id": {
"type": "string"
},
"metadata": {
"$ref": "#/components/schemas/property_CommerceItemMedia_metadata"
},
"position": {
"type": "number"
},
"type": {
"enum": [
"image",
"video"
],
"type": "string",
"x-speakeasy-unknown-values": "allow"
},
"url": {
"type": "string"
},
"width": {
"type": "number"
}
},
"required": [
"url"
],
"type": "object"
}