changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "_disclaimer": {
+ "type": "string"
+ },
+ "_upgrade_notice": {
+ "type": "string"
+ },
+ "agent_action": {
+ "enum": [
+ "PROCEED",
+ "VERIFY_MANUALLY",
+ "HOLD",
+ "REFER_TO_HUMAN",
+ "UPGRADE_REQUIRED"
+ ],
+ "type": "string"
+ },
+ "analysis_type": {
+ "type": "string"
+ },
+ "assessed_against": {
+ "description": "Named standard, e.g. \"ICAO Document 9303\" -- null for UNKNOWN_DOCUMENT_TYPE",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "checked_at": {
+ "type": "string"
+ },
+ "confidence": {
+ "enum": [
+ "HIGH",
+ "MEDIUM",
+ "LOW",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "document_type_identified": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "escalation_path": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "flags": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "hold_reason": {
+ "type": "string"
+ },
+ "known_issuing_standard": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": "string"
+ },
+ "retry_after": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "verdict": {
+ "enum": [
+ "PASS",
+ "FLAG",
+ "FAIL",
+ "UNKNOWN_DOCUMENT_TYPE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "agent_action",
+ "verdict",
+ "confidence",
+ "document_type_identified",
+ "assessed_against",
+ "known_issuing_standard",
+ "flags",
+ "reason",
+ "analysis_type",
+ "checked_at",
+ "_disclaimer"
+ ],
+ "type": "object"
+}