{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bigcommerce/json-schema/bigcommerce-product-modifier-option-value-full-schema.json",
  "title": "productModifierOptionValue_Full",
  "description": "Product Modifer `option_value`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-values-api-openapi.yml#/components/schemas/productModifierOptionValue_Full",
  "allOf": [
    {
      "$ref": "#/$defs/productModifierOptionValue_Base"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "The unique numeric ID of the value; increments sequentially.\n"
        },
        "option_id": {
          "type": "integer"
        }
      }
    }
  ],
  "x-internal": false,
  "$defs": {
    "adjuster_Full": {
      "title": "adjuster_Full",
      "type": "object",
      "properties": {
        "adjuster": {
          "type": [
            "string",
            "null"
          ],
          "description": "The type of adjuster for either the price or the weight of the variant, when the modifier value is selected on the storefront.\n",
          "enum": [
            "relative",
            "percentage"
          ]
        },
        "adjuster_value": {
          "type": "number",
          "description": "The numeric amount by which the adjuster will change either the price or the weight of the variant, when the modifier value is selected on the storefront.\n"
        }
      },
      "description": "Adjuster for Complex Rules.",
      "x-internal": false
    },
    "adjusters_Full": {
      "title": "adjusters_Full",
      "type": "object",
      "properties": {
        "price": {
          "$ref": "#/$defs/adjuster_Full"
        },
        "weight": {
          "$ref": "#/$defs/adjuster_Full"
        },
        "image_url": {
          "type": "string",
          "description": "The URL for an image displayed on the storefront when the modifier value is selected.Limit of 8MB per file.\n"
        },
        "purchasing_disabled": {
          "type": "object",
          "properties": {
            "status": {
              "type": "boolean",
              "description": "Flag for whether the modifier value disables purchasing when selected on the storefront. This can be used for temporarily disabling a particular modifier value.\n"
            },
            "message": {
              "type": "string",
              "description": "The message displayed on the storefront when the purchasing disabled status is `true`.\n"
            }
          }
        }
      },
      "x-internal": false
    },
    "productModifierOptionValue_Base": {
      "title": "productModifierOptionValue_Base",
      "required": [
        "label",
        "sort_order"
      ],
      "type": "object",
      "properties": {
        "is_default": {
          "type": "boolean",
          "description": "The flag for preselecting a value as the default on the storefront. This field is not supported for swatch options/modifiers.\n"
        },
        "label": {
          "type": "string",
          "description": "The text display identifying the value on the storefront. Required in a /POST.\n",
          "x-required": [
            "post"
          ]
        },
        "sort_order": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "integer",
          "description": "The order in which the value will be displayed on the product page. Required in a /POST.\n",
          "x-required": [
            "post"
          ]
        },
        "value_data": {
          "type": [
            "object",
            "null"
          ],
          "properties": {},
          "description": "Extra data describing the value, based on the type of option or modifier with which the value is associated. The `swatch` type option can accept an array of `colors`, with up to three hexidecimal color keys; or an `image_url`, which is a full image URL path including protocol. The `product list` type option requires a `product_id`. The `checkbox` type option requires a boolean flag, called `checked_value`, to determine which value is considered to be the checked state. If no data is available, returns `null`.\n"
        },
        "adjusters": {
          "$ref": "#/$defs/adjusters_Full"
        }
      },
      "description": "Common Product Modifer `option_value` properties.",
      "x-internal": false
    }
  }
}