{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-custom-template-association-upsert-schema.json",
  "title": "CustomTemplateAssociation",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-custom-template-associations-api-openapi.yml#/components/schemas/CustomTemplateAssociationUpsert",
  "type": "object",
  "properties": {
    "channel_id": {
      "type": "integer"
    },
    "entity_type": {
      "type": "string",
      "enum": [
        "product",
        "category",
        "brand",
        "page"
      ]
    },
    "entity_id": {
      "type": "integer"
    },
    "file_name": {
      "type": "string"
    }
  },
  "required": [
    "channel_id",
    "entity_type",
    "entity_id",
    "file_name"
  ],
  "x-internal": false
}