{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/athenahq-ai/json-schema/athenahq-ai-competitor-attribute-metric-schema.json",
  "title": "CompetitorAttributeMetric",
  "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/CompetitorAttributeMetric",
  "type": "object",
  "properties": {
    "competitor_id": {
      "type": "string",
      "format": "uuid"
    },
    "competitor_name": {
      "type": "string"
    },
    "attribute_id": {
      "type": "string",
      "format": "uuid"
    },
    "attribute_name": {
      "type": "string"
    },
    "positive": {
      "type": "boolean"
    },
    "response_count": {
      "type": "integer"
    },
    "total_responses": {
      "type": "integer",
      "description": "Analyzed responses for THIS competitor — each competitor has its own denominator."
    },
    "percentage": {
      "type": "number"
    }
  },
  "required": [
    "competitor_id",
    "competitor_name",
    "attribute_id",
    "attribute_name",
    "positive",
    "response_count",
    "total_responses",
    "percentage"
  ]
}