{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Attribute",
  "title": "Attribute",
  "type": "object",
  "description": "A custom attribute for audience targeting",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the attribute"
    },
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this attribute belongs to"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the attribute"
    },
    "key": {
      "type": "string",
      "description": "Unique key for the attribute"
    },
    "condition_type": {
      "type": "string",
      "description": "The type of condition this attribute supports"
    },
    "last_modified": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the attribute was last modified"
    }
  }
}