{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tagli-co-il/json-schema/tagli-co-il-agent-status-schema.json",
  "title": "AgentStatus",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tagli-co-il-openapi.json#/components/schemas/AgentStatus",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "identifiers": {
      "type": "object",
      "properties": {
        "agent_id": {
          "type": "string"
        },
        "principal_reg_id": {
          "type": "string"
        },
        "agentic_quote_id": {
          "type": "string"
        },
        "qb_quote_id": {
          "type": "integer"
        },
        "order_id": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "transaction_state": {
      "type": "string"
    },
    "approval_status": {
      "type": "string"
    },
    "production_status": {
      "type": "string"
    },
    "customer_feedback": {
      "type": [
        "object",
        "null"
      ]
    },
    "commercial_summary": {
      "type": "object",
      "additionalProperties": true
    },
    "withheld_fields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "privacy_notice": {
      "type": "string"
    }
  },
  "additionalProperties": true
}