{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/financegenius-ai/json-schema/financegenius-ai-queue-in-schema.json",
  "title": "QueueIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/financegenius-ai-crm-console-lead-queue-api-openapi.yml#/components/schemas/QueueIn",
  "properties": {
    "customer_ref": {
      "type": "string",
      "format": "uuid",
      "title": "Customer Ref"
    },
    "origin": {
      "type": "string",
      "enum": [
        "manual",
        "callback_request"
      ],
      "title": "Origin",
      "default": "manual"
    },
    "product": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 24
        },
        {
          "type": "null"
        }
      ],
      "title": "Product"
    },
    "language": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "en",
            "hi"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Language"
    },
    "region": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Z]{2}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "priority": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 3.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Priority"
    },
    "application_ref": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Application Ref"
    },
    "conversation_ref": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Ref"
    }
  },
  "type": "object",
  "required": [
    "customer_ref"
  ]
}