{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/redocly/main/json-schema/redocly-metadata-validation-result-schema.json",
  "title": "MetadataValidationResult",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/redocly-metadata-api-openapi.yml#/components/schemas/MetadataValidationResult",
  "type": "object",
  "properties": {
    "isValid": {
      "type": "boolean"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "Validation keyword."
          },
          "instancePath": {
            "type": "string",
            "description": "JSON Pointer to the location in the data instance."
          },
          "schemaPath": {
            "type": "string",
            "description": "JSON Pointer to the location of the failing keyword in the schema."
          },
          "params": {
            "type": "object",
            "description": "Additional information about error."
          },
          "propertyName": {
            "type": "string",
            "description": "Set for errors in `propertyNames` keyword schema."
          },
          "message": {
            "type": "string",
            "description": "Error message."
          },
          "schema": {
            "description": "Value of the failing keyword in the schema."
          },
          "parentSchema": {
            "type": "object",
            "description": "Schema containing the keyword."
          },
          "data": {
            "description": "Data validated by the keyword."
          }
        },
        "required": [
          "keyword",
          "instancePath",
          "schemaPath",
          "params"
        ]
      },
      "description": "Array of metadata validation errors."
    }
  },
  "required": [
    "isValid"
  ]
}