{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentic-ai-foundation/json-schema/agentic-ai-foundation-validation-result-schema.json",
  "title": "ValidationResult",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentic-ai-foundation-validate-api-openapi.yml#/components/schemas/ValidationResult",
  "additionalProperties": false,
  "properties": {
    "issues": {
      "items": {
        "$ref": "#/$defs/ValidationIssue"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "valid": {
      "type": "boolean"
    }
  },
  "required": [
    "valid",
    "issues"
  ],
  "type": "object",
  "$defs": {
    "ValidationIssue": {
      "additionalProperties": false,
      "properties": {
        "message": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "reference": {
          "type": "string"
        },
        "severity": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "path",
        "message",
        "severity",
        "reference"
      ],
      "type": "object"
    }
  }
}