Unified.to · Schema

CommerceItemMedia

IntegrationsUnified API

Properties

Name Type Description
alt string
height number
id string
metadata object
position number
type string
url string
width number
View JSON Schema on GitHub

JSON Schema

unified-to-commerceitemmedia-schema.json Raw ↑
{
  "$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"
}