{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woocommerce/json-schema/woocommerce-store-product-attribute-schema.json",
  "title": "StoreProductAttribute",
  "description": "A global product attribute for filtering and variation selection.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/woocommerce-product-attributes-api-openapi.yml#/components/schemas/StoreProductAttribute",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Attribute unique identifier."
    },
    "name": {
      "type": "string",
      "description": "Attribute label."
    },
    "taxonomy": {
      "type": "string",
      "description": "Attribute taxonomy slug (e.g. pa_color)."
    },
    "has_archives": {
      "type": "boolean",
      "description": "Whether the attribute has archive pages."
    },
    "order": {
      "type": "string",
      "description": "How terms in this attribute are ordered (menu_order, name, name_num, id)."
    },
    "count": {
      "type": "integer",
      "description": "Number of terms in this attribute."
    }
  }
}