{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agoragentic.com/schema/finance-agent-compliance-approval.v1.json",
  "title": "Finance Agent Compliance Approval V1",
  "description": "Redacted owner, legal, commercial, and compliance approval evidence for finance-agent approved trading/card readiness gates and C1 no-action options review-packet approval evidence. Refs/hashes must be bounded redacted artifact IDs or hashes, not raw URLs, tokens, credentials, account/card/payment/wallet values, raw JSON payloads, or provider payloads. This schema only supports no-action readiness proofing; it does not approve provider dispatch, order execution, card actions, options execution, public claims, marketplace publication, x402 settlement, or Fincept runtime integration.",
  "type": "object",
  "required": [
    "schema",
    "approval_kind",
    "approval_state",
    "scope",
    "owner_authenticated",
    "owner_approval_recorded",
    "legal_review_completed",
    "commercial_terms_reviewed",
    "compliance_risk_review_completed",
    "receipts_and_redaction_reviewed",
    "manual_action_approval_policy_acknowledged",
    "revocation_controls_acknowledged",
    "non_advice_boundary_acknowledged",
    "no_guaranteed_returns_acknowledged",
    "raw_private_values_excluded",
    "live_action_approved",
    "provider_dispatch_approved",
    "live_order_execution_approved",
    "order_cancellation_approved",
    "card_detail_fetch_approved",
    "card_purchase_execution_approved",
    "options_execution_approved",
    "fincept_runtime_integration_approved",
    "public_claims_approved",
    "marketplace_publication_approved",
    "x402_settlement_approved",
    "approval_ref",
    "approval_hash",
    "redaction_summary"
  ],
  "properties": {
    "schema": { "type": "string", "const": "agoragentic.agent-os.finance-agent-compliance-approval.v1" },
    "deployment_id": { "type": "string" },
    "approval_kind": { "type": "string", "const": "finance_agent_owner_legal_commercial_approval" },
    "approval_state": { "type": "string", "const": "approved_for_no_action_readiness" },
    "scope": {
      "type": "object",
      "required": ["launch_modes"],
      "properties": {
        "launch_modes": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string",
            "enum": ["approved_trading", "approved_card", "approved_trading_and_card", "options_signal_intelligence", "options_review_packet"]
          }
        },
        "connector_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": ["robinhood_trading", "robinhood_banking", "financial_research"]
          }
        }
      },
      "additionalProperties": true
    },
    "owner_authenticated": { "type": "boolean", "const": true },
    "owner_approval_recorded": { "type": "boolean", "const": true },
    "legal_review_completed": { "type": "boolean", "const": true },
    "commercial_terms_reviewed": { "type": "boolean", "const": true },
    "compliance_risk_review_completed": { "type": "boolean", "const": true },
    "receipts_and_redaction_reviewed": { "type": "boolean", "const": true },
    "manual_action_approval_policy_acknowledged": { "type": "boolean", "const": true },
    "revocation_controls_acknowledged": { "type": "boolean", "const": true },
    "non_advice_boundary_acknowledged": { "type": "boolean", "const": true },
    "no_guaranteed_returns_acknowledged": { "type": "boolean", "const": true },
    "raw_private_values_excluded": { "type": "boolean", "const": true },
    "live_action_approved": { "type": "boolean", "const": false },
    "provider_dispatch_approved": { "type": "boolean", "const": false },
    "live_order_execution_approved": { "type": "boolean", "const": false },
    "order_cancellation_approved": { "type": "boolean", "const": false },
    "card_detail_fetch_approved": { "type": "boolean", "const": false },
    "card_purchase_execution_approved": { "type": "boolean", "const": false },
    "options_execution_approved": { "type": "boolean", "const": false },
    "options_review_packet_approval_acknowledged": { "type": "boolean", "const": true },
    "brokerage_options_approval_reviewed": { "type": "boolean", "const": true },
    "brokerage_options_approval_required": { "type": "boolean", "const": true },
    "mcp_schema_proof_required_for_options_review": { "type": "boolean", "const": true },
    "options_review_packet_non_executable_acknowledged": { "type": "boolean", "const": true },
    "non_personalized_options_review_acknowledged": { "type": "boolean", "const": true },
    "options_order_schema_approved": { "type": "boolean", "const": false },
    "options_provider_dispatch_approved": { "type": "boolean", "const": false },
    "personalized_options_advice_approved": { "type": "boolean", "const": false },
    "fincept_runtime_integration_approved": { "type": "boolean", "const": false },
    "public_claims_approved": { "type": "boolean", "const": false },
    "marketplace_publication_approved": { "type": "boolean", "const": false },
    "x402_settlement_approved": { "type": "boolean", "const": false },
    "approval_ref": { "type": "string", "minLength": 1, "maxLength": 256 },
    "evidence_ref": { "type": "string", "minLength": 1, "maxLength": 256 },
    "review_ref": { "type": "string", "minLength": 1, "maxLength": 256 },
    "receipt_ref": { "type": "string", "minLength": 1, "maxLength": 256 },
    "approval_hash": { "type": "string", "minLength": 1, "maxLength": 256 },
    "evidence_hash": { "type": "string", "minLength": 1, "maxLength": 256 },
    "review_hash": { "type": "string", "minLength": 1, "maxLength": 256 },
    "policy_hash": { "type": "string", "minLength": 1, "maxLength": 256 },
    "brokerage_options_approval_ref": { "type": "string", "minLength": 1, "maxLength": 256 },
    "brokerage_options_approval_hash": { "type": "string", "minLength": 1, "maxLength": 256 },
    "redaction_summary": {
      "type": "object",
      "required": [
        "raw_private_values_excluded",
        "raw_account_values_excluded",
        "raw_card_values_excluded",
        "raw_order_values_excluded"
      ],
      "properties": {
        "raw_private_values_excluded": { "type": "boolean", "const": true },
        "raw_account_values_excluded": { "type": "boolean", "const": true },
        "raw_card_values_excluded": { "type": "boolean", "const": true },
        "raw_order_values_excluded": { "type": "boolean", "const": true },
        "raw_payment_values_excluded": { "type": "boolean", "const": true },
        "raw_wallet_values_excluded": { "type": "boolean", "const": true },
        "raw_provider_payload_excluded": { "type": "boolean", "const": true }
      },
      "additionalProperties": true
    }
  },
  "allOf": [
    {
      "if": {
        "properties": {
          "scope": {
            "type": "object",
            "properties": {
              "launch_modes": {
                "type": "array",
                "contains": {
                  "enum": ["options_signal_intelligence", "options_review_packet"]
                }
              }
            },
            "required": ["launch_modes"]
          }
        }
      },
      "then": {
        "required": [
          "options_review_packet_approval_acknowledged",
          "brokerage_options_approval_reviewed",
          "brokerage_options_approval_required",
          "mcp_schema_proof_required_for_options_review",
          "options_review_packet_non_executable_acknowledged",
          "non_personalized_options_review_acknowledged",
          "options_order_schema_approved",
          "options_provider_dispatch_approved",
          "personalized_options_advice_approved",
          "brokerage_options_approval_ref",
          "brokerage_options_approval_hash"
        ]
      }
    }
  ],
  "not": {
    "anyOf": [
      { "required": ["raw_approval"] },
      { "required": ["raw_review"] },
      { "required": ["raw_payload"] },
      { "required": ["account_values"] },
      { "required": ["card_values"] },
      { "required": ["order_values"] },
      { "required": ["payment_values"] },
      { "required": ["wallet_values"] },
      { "required": ["auth_token"] },
      { "required": ["access_token"] },
      { "required": ["refresh_token"] }
    ]
  },
  "additionalProperties": true
}
