{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bigcommerce/json-schema/bigcommerce-which-theme-to-download-schema.json",
  "title": "Which Theme To Download",
  "description": "An object specifying which theme to download. One of: `original`: the original Marketplace or uploaded custom theme; `last_activated`: the theme version most recently applied to the store; `last_created`: the theme version most recently created.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-theme-actions-api-openapi.yml#/components/schemas/WhichThemeToDownload",
  "allOf": [
    {
      "description": "A BigCommerce object specifying which theme to download.\n\n`original`: the original Marketplace or uploaded custom theme.\n\n`last_activated`: the theme version most recently applied to the store.\n\n`last_created`: the theme version most recently created.\n\nIf `which` is missing or invalid in the request, its value will default to `last_activated`.",
      "properties": {
        "which": {
          "description": "Which revision to use.",
          "type": "string",
          "enum": [
            "original",
            "last_activated",
            "last_created"
          ]
        }
      }
    }
  ],
  "type": "object",
  "x-internal": false
}