{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theholisticcare/json-schema/theholisticcare-pancha-vikas-resource-list-response-schema.json",
  "title": "PanchaVikasResourceListResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theholisticcare-panchavikas-api-openapi.yml#/components/schemas/PanchaVikasResourceListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PanchaVikasResource"
      }
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Meta": {
      "type": "object",
      "description": "Present on every successful response.",
      "properties": {
        "generated_at": {
          "type": "string",
          "format": "date-time"
        },
        "provider": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      }
    },
    "PanchaVikasResource": {
      "type": "object",
      "description": "Either a pathway summary (type panchavikas_pathway) or the framework guide download (type panchavikas_download, which additionally has download_url).\n",
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "panchavikas_pathway",
            "panchavikas_download"
          ]
        },
        "title": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "download_url": {
          "type": "string",
          "description": "Present only on the panchavikas_download item."
        },
        "source_url": {
          "type": "string"
        }
      }
    }
  }
}