{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orvel-dev/json-schema/orvel-dev-validation-out-schema.json",
  "title": "ValidationOut",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/facturx-orvel-dev-openapi.json#/components/schemas/ValidationOut",
  "properties": {
    "valid": {
      "type": "boolean",
      "title": "Valid"
    },
    "flavor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Flavor"
    },
    "profile": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Profile"
    },
    "checks_run": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Checks Run"
    },
    "checks_skipped": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Checks Skipped"
    },
    "error_count": {
      "type": "integer",
      "title": "Error Count"
    },
    "warning_count": {
      "type": "integer",
      "title": "Warning Count"
    },
    "findings": {
      "items": {
        "$ref": "#/$defs/FindingOut"
      },
      "type": "array",
      "title": "Findings"
    },
    "pdf": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pdf"
    },
    "report_version": {
      "type": "string",
      "title": "Report Version",
      "default": "1.0"
    },
    "status": {
      "type": "string",
      "enum": [
        "passed",
        "failed",
        "incomplete"
      ],
      "title": "Status",
      "default": "incomplete"
    },
    "summary": {
      "type": "string",
      "title": "Summary",
      "default": ""
    },
    "issue_count": {
      "type": "integer",
      "title": "Issue Count",
      "default": 0
    },
    "issues": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Issues"
    },
    "coverage": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Coverage"
    },
    "engine_version": {
      "additionalProperties": true,
      "type": "object",
      "title": "Engine Version"
    },
    "validated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Validated At"
    },
    "input_sha256": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Sha256"
    },
    "info_count": {
      "type": "integer",
      "title": "Info Count",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "valid",
    "flavor",
    "profile",
    "checks_run",
    "checks_skipped",
    "error_count",
    "warning_count",
    "findings"
  ],
  "$defs": {
    "FindingOut": {
      "properties": {
        "source": {
          "type": "string",
          "title": "Source"
        },
        "severity": {
          "type": "string",
          "enum": [
            "fatal",
            "warning",
            "info"
          ],
          "title": "Severity"
        },
        "rule": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rule"
        },
        "message": {
          "type": "string",
          "title": "Message"
        },
        "location": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Location"
        },
        "test": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Test"
        },
        "json_pointer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Json Pointer"
        },
        "business_rule": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Business Rule"
        },
        "pointer_scope": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pointer Scope"
        },
        "field": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Field"
        },
        "remediation": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Remediation"
        }
      },
      "type": "object",
      "required": [
        "source",
        "severity",
        "rule",
        "message"
      ],
      "title": "FindingOut"
    }
  }
}