{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vhishongkong-com/json-schema/vhishongkong-com-brief-in-schema.json",
  "title": "BriefIn",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vhishongkong-com-openapi.json#/components/schemas/BriefIn",
  "properties": {
    "age": {
      "type": "integer",
      "maximum": 99.0,
      "minimum": 0.0,
      "title": "Age"
    },
    "gender": {
      "type": "string",
      "pattern": "^[MF]$",
      "title": "Gender",
      "default": "F"
    },
    "smoker": {
      "type": "boolean",
      "title": "Smoker",
      "default": false
    },
    "currency": {
      "type": "string",
      "pattern": "^(HKD|USD)$",
      "title": "Currency",
      "default": "HKD"
    },
    "room": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Room"
    },
    "territory": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Territory"
    },
    "budget_annual": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Annual"
    },
    "max_deductible": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Deductible"
    },
    "needs": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Needs"
    },
    "priority": {
      "type": "string",
      "pattern": "^(price|balanced|coverage)$",
      "title": "Priority",
      "default": "balanced"
    },
    "years": {
      "type": "integer",
      "maximum": 30.0,
      "minimum": 1.0,
      "title": "Years",
      "default": 10
    },
    "brands": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brands"
    },
    "limit": {
      "type": "integer",
      "maximum": 50.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 10
    }
  },
  "type": "object",
  "required": [
    "age"
  ]
}