content: {
    "$defs": {
      "basic": {
        "properties": {
          "details": {
            "$ref": "#/$defs/outputUnitArray"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "valid",
          "details"
        ]
      },
      "flag": {
        "properties": {
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "valid"
        ]
      },
      "hierarchical": {
        "$ref": "#/$defs/outputUnit"
      },
      "outputUnit": {
        "allOf": [
          {
            "if": {
              "anyOf": [
                {
                  "required": [
                    "errors"
                  ]
                },
                {
                  "required": [
                    "droppedAnnotations"
                  ]
                }
              ]
            },
            "then": {
              "properties": {
                "valid": {
                  "const": false
                }
              }
            }
          },
          {
            "if": {
              "required": [
                "annotations"
              ]
            },
            "then": {
              "properties": {
                "valid": {
                  "const": true
                }
              }
            }
          }
        ],
        "properties": {
          "annotations": {
            "additionalProperties": true,
            "type": "object"
          },
          "details": {
            "$ref": "#/$defs/outputUnitArray"
          },
          "droppedAnnotations": {
            "additionalProperties": true,
            "type": "object"
          },
          "errors": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "evaluationPath": {
            "format": "json-pointer",
            "type": "string"
          },
          "instanceLocation": {
            "format": "json-pointer",
            "type": "string"
          },
          "schemaLocation": {
            "format": "uri",
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          }
        },
        "required": [
          "valid",
          "evaluationPath",
          "schemaLocation",
          "instanceLocation"
        ]
      },
      "outputUnitArray": {
        "items": {
          "$ref": "#/$defs/outputUnit"
        },
        "type": "array"
      }
    },
    "$id": "https://json-schema.org/draft/next/output/schema",
    "$schema": "https://json-schema.org/draft/next/schema",
    "anyOf": [
      {
        "$ref": "#/$defs/flag"
      },
      {
        "$ref": "#/$defs/basic"
      },
      {
        "$ref": "#/$defs/hierarchical"
      }
    ],
    "description": "A schema that validates the minimum requirements for validation output"
  }