{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-insite-data-entities-attribute-type-schema.json",
  "title": "Insite.Data.Entities.AttributeType",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-attribute-types-api-openapi.yml#/components/schemas/Insite.Data.Entities.AttributeType",
  "required": [
    "label",
    "name"
  ],
  "type": "object",
  "properties": {
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "isActive": {
      "type": "boolean"
    },
    "isComparable": {
      "type": "boolean"
    },
    "isFilter": {
      "type": "boolean"
    },
    "isSearchable": {
      "type": "boolean"
    },
    "includeOnProduct": {
      "type": "boolean"
    },
    "label": {
      "maxLength": 1024,
      "minLength": 0,
      "type": "string"
    },
    "name": {
      "maxLength": 255,
      "minLength": 0,
      "type": "string"
    },
    "createdOn": {
      "format": "date-time",
      "type": "string"
    },
    "createdBy": {
      "type": "string"
    },
    "modifiedOn": {
      "format": "date-time",
      "type": "string"
    },
    "modifiedBy": {
      "type": "string"
    }
  }
}