{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-attribute-3-schema.json",
  "title": "Attribute_3",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-attributes-api-openapi.yml#/components/schemas/Attribute_3",
  "properties": {
    "archived": {
      "default": false,
      "description": "Whether or not the Attribute has been archived",
      "type": "boolean"
    },
    "condition_type": {
      "default": "custom_attribute",
      "description": "Whether this Attribute is a custom dimension or custom attribute. If this is a custom dimension, it belongs to an Optimizely Classic experiment and is read-only.",
      "enum": [
        "custom_attribute",
        "custom_dimension"
      ],
      "readOnly": true,
      "type": "string"
    },
    "description": {
      "description": "A short description of the Attribute",
      "type": "string"
    },
    "id": {
      "description": "The unique identifier for the Attribute",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "key": {
      "description": "Unique string identifier for this Attribute within the project",
      "maxLength": 64,
      "pattern": "^[a-zA-Z0-9_\\- .]+$",
      "type": "string"
    },
    "last_modified": {
      "description": "The last time the Attribute was modified",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "name": {
      "description": "The name of the Attribute. For Full Stack projects, the name will be set to the value of the key.",
      "type": "string"
    },
    "project_id": {
      "description": "The ID of the project the Attribute belongs to",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "key",
    "project_id"
  ],
  "type": "object"
}