{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astrofabric-ai/json-schema/astrofabric-ai-get-api-v1-series-response-schema.json",
  "title": "GetApiV1SeriesResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/astrofabric-ai-openapi-generated.yml#/components/schemas/GetApiV1SeriesResponse",
  "type": "object",
  "properties": {
    "as_of": {
      "type": "string",
      "description": "As-of date (YYYY-MM-DD)."
    },
    "metric": {
      "type": "string",
      "description": "Metric identifier."
    },
    "family": {
      "type": "string",
      "description": "Metric family."
    },
    "subject": {
      "type": "string",
      "description": "Subject if applicable, else null."
    },
    "unit": {
      "type": "string",
      "description": "Unit of measurement."
    },
    "dimension_kind": {
      "type": "string",
      "description": "Kind of dimension."
    },
    "dimension": {
      "type": "string",
      "description": "Dimension value."
    },
    "window_days": {
      "type": "integer",
      "description": "Window length in days."
    },
    "count": {
      "type": "number",
      "description": "Numerator count."
    },
    "cohort": {
      "type": "number",
      "description": "Cohort size."
    },
    "rate": {
      "type": "number",
      "description": "Rate per cohort."
    },
    "previous": {
      "type": "number",
      "description": "Previous period count."
    },
    "growth": {
      "type": "number",
      "description": "Growth factor."
    },
    "index": {
      "type": "number",
      "description": "Relative index (base 100)."
    }
  }
}