{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/decionis-com/json-schema/decionis-com-vertex-verify-response-schema.json",
  "title": "VertexVerifyResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/decionis-com-openapi-openapi.yml#/components/schemas/VertexVerifyResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "status",
    "should_execute",
    "authority_classification",
    "execution_eligible",
    "requires_human_approval",
    "system_of_record",
    "intent_action_type",
    "outcome",
    "confidence",
    "confidence_percent",
    "mode",
    "policy_version",
    "objective_profile",
    "dossier_id",
    "dossier_api_path",
    "portable_dossier_api_path",
    "evaluation_id",
    "fallback_to_legacy",
    "reconciliation_required",
    "reconciliation_status",
    "idempotent_replay",
    "verification",
    "execution_guidance",
    "google_identity_verified",
    "google_identity_mode",
    "trace_correlation",
    "regional_posture",
    "metering",
    "metering_export",
    "summary"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "AUTHORIZED",
        "ESCALATED",
        "BLOCKED",
        "HOLD"
      ]
    },
    "should_execute": {
      "type": "boolean"
    },
    "authority_classification": {
      "type": "string",
      "enum": [
        "OBSERVATIONAL"
      ],
      "description": "Vertex-specific adapter results never possess execution authority."
    },
    "execution_eligible": {
      "type": "boolean",
      "enum": [
        false
      ],
      "description": "Always false; use the canonical Execution Authority Interface."
    },
    "requires_human_approval": {
      "type": "boolean"
    },
    "system_of_record": {
      "type": "string"
    },
    "intent_action_type": {
      "type": "string"
    },
    "outcome": {
      "type": "string",
      "enum": [
        "APPROVE",
        "ESCALATE",
        "REJECT",
        "REVIEW"
      ]
    },
    "confidence": {
      "type": "number"
    },
    "confidence_percent": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "enum": [
        "SHADOW",
        "PARALLEL",
        "ENFORCEMENT"
      ]
    },
    "policy_version": {
      "type": "string"
    },
    "objective_profile": {
      "type": "string"
    },
    "workflow_key": {
      "type": [
        "string",
        "null"
      ]
    },
    "dossier_id": {
      "type": "string",
      "format": "uuid"
    },
    "dossier_api_path": {
      "type": "string"
    },
    "portable_dossier_api_path": {
      "type": "string"
    },
    "evaluation_id": {
      "type": "string",
      "format": "uuid"
    },
    "decision_resolution_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "ledger_entry_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "ledger_entry_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "fallback_to_legacy": {
      "type": "boolean"
    },
    "fallback_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "reconciliation_required": {
      "type": "boolean"
    },
    "reconciliation_status": {
      "type": "string",
      "enum": [
        "NOT_REQUIRED",
        "PENDING",
        "IN_PROGRESS",
        "COMPLETED",
        "FAILED"
      ]
    },
    "idempotent_replay": {
      "type": "boolean"
    },
    "verification": {
      "$ref": "#/$defs/VerificationEnvelope"
    },
    "execution_guidance": {
      "$ref": "#/$defs/ExecutionGuidance"
    },
    "google_identity_verified": {
      "type": "boolean"
    },
    "google_identity_mode": {
      "type": "string",
      "enum": [
        "disabled",
        "optional",
        "required"
      ]
    },
    "trace_correlation": {
      "$ref": "#/$defs/VertexTraceCorrelation"
    },
    "regional_posture": {
      "$ref": "#/$defs/VertexRegionalPosture"
    },
    "metering": {
      "$ref": "#/$defs/VertexMetering"
    },
    "metering_export": {
      "$ref": "#/$defs/VertexMeteringExport"
    },
    "summary": {
      "type": "string"
    }
  },
  "$defs": {
    "ExecutionGuidance": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "disposition",
        "allowed",
        "requires_human_approval"
      ],
      "properties": {
        "disposition": {
          "type": "string",
          "enum": [
            "EXECUTE",
            "ESCALATE",
            "BLOCK",
            "HOLD"
          ]
        },
        "allowed": {
          "type": "boolean"
        },
        "requires_human_approval": {
          "type": "boolean"
        },
        "hold_reason": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "VerificationEnvelope": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "verification_api_path",
        "verification_url",
        "verification_page_url",
        "signature_algorithm",
        "signature"
      ],
      "properties": {
        "verification_api_path": {
          "type": "string"
        },
        "verification_url": {
          "type": "string",
          "format": "uri"
        },
        "verification_page_url": {
          "type": "string",
          "format": "uri"
        },
        "signature_algorithm": {
          "type": "string"
        },
        "signature": {
          "type": "string"
        }
      }
    },
    "VertexMetering": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "unit",
        "count"
      ],
      "properties": {
        "unit": {
          "type": "string",
          "enum": [
            "verified_decision"
          ]
        },
        "count": {
          "type": "integer",
          "minimum": 1
        }
      }
    },
    "VertexMeteringExport": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "provider",
        "status"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "google_service_control"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "disabled",
            "skipped",
            "reported",
            "failed"
          ]
        }
      }
    },
    "VertexRegionalPosture": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "mode",
        "serving_region",
        "requested_location",
        "allowed_locations",
        "location_accepted"
      ],
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "open",
            "allowlist",
            "required"
          ]
        },
        "serving_region": {
          "type": [
            "string",
            "null"
          ]
        },
        "requested_location": {
          "type": [
            "string",
            "null"
          ]
        },
        "allowed_locations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "location_accepted": {
          "type": "boolean"
        }
      }
    },
    "VertexTraceCorrelation": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "source",
        "trace_id",
        "span_id",
        "sampled"
      ],
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "none",
            "x-cloud-trace-context",
            "traceparent"
          ]
        },
        "trace_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "span_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "sampled": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    }
  }
}