{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/athenahq-ai/json-schema/athenahq-ai-attribute-metric-schema.json",
  "title": "AttributeMetric",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/athenahq-ai-attributes-api-openapi.yml#/components/schemas/AttributeMetric",
  "type": "object",
  "properties": {
    "attribute_id": {
      "type": "string",
      "format": "uuid"
    },
    "attribute_name": {
      "type": "string"
    },
    "positive": {
      "type": "boolean"
    },
    "response_count": {
      "type": "integer",
      "description": "Number of analyzed responses that mention this attribute."
    },
    "total_responses": {
      "type": "integer",
      "description": "Analyzed responses in the date range — the denominator."
    },
    "percentage": {
      "type": "number",
      "description": "response_count / total_responses, as a percentage."
    }
  },
  "required": [
    "attribute_id",
    "attribute_name",
    "positive",
    "response_count",
    "total_responses",
    "percentage"
  ]
}