{
  "$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"
}