{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/credo-ai/json-schema/credo-ai-policy-control-version-response-schema.json",
  "title": "PolicyControlVersionResponse",
  "description": "A JSON-API document with a single [PolicyControlVersionResource](#policycontrolversionresource) resource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/credo-ai-policy-controls-api-openapi.yml#/components/schemas/PolicyControlVersionResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/PolicyControlVersionResource"
    },
    "included": {
      "description": "Included resources",
      "items": {
        "properties": {
          "id": {
            "description": "The JSON-API resource ID",
            "type": "string"
          },
          "type": {
            "description": "The JSON-API resource type",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "PolicyControlVersionResource": {
      "description": "",
      "properties": {
        "attributes": {
          "properties": {
            "archived": {
              "description": "",
              "type": "string"
            },
            "base_id": {
              "description": "",
              "type": "string"
            },
            "deprecated": {
              "description": "",
              "type": "string"
            },
            "draft": {
              "description": "",
              "type": "string"
            },
            "evidence_requirements": {
              "description": "",
              "type": "string"
            },
            "info": {
              "description": "",
              "type": "string"
            },
            "inserted_at": {
              "description": "",
              "type": "string"
            },
            "ownership_type": {
              "description": "",
              "type": "string"
            },
            "risk_type_ids": {
              "description": "",
              "type": "string"
            },
            "transferred_at": {
              "description": "",
              "type": "string"
            },
            "updated_at": {
              "description": "",
              "type": "string"
            },
            "version": {
              "description": "",
              "type": "string"
            }
          },
          "type": "object"
        },
        "id": {
          "description": "The JSON-API resource ID",
          "type": "string"
        },
        "relationships": {
          "properties": {},
          "type": "object"
        },
        "type": {
          "description": "The JSON-API resource type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}