{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valjeanspecialty/json-schema/valjeanspecialty-quote-list-schema.json",
  "title": "QuoteList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valjeanspecialty-quotes-api-openapi.yml#/components/schemas/QuoteList",
  "type": "object",
  "properties": {
    "submission_id": {
      "type": "string",
      "format": "uuid"
    },
    "quotes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Quote"
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "submission_id",
    "quotes",
    "note"
  ],
  "$defs": {
    "Quote": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "carrier": {
          "type": "string"
        },
        "lines": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Line codes."
        },
        "premium": {
          "type": "number",
          "description": "Dollars."
        },
        "fees": {
          "type": "number",
          "description": "Policy, inspection, broker and other fees, in dollars."
        },
        "total": {
          "type": "number",
          "description": "Premium plus fees, in dollars. Surplus lines taxes are added at binding."
        },
        "limits": {
          "type": [
            "string",
            "null"
          ]
        },
        "deductibles": {
          "type": [
            "string",
            "null"
          ]
        },
        "exclusions": {
          "type": [
            "string",
            "null"
          ]
        },
        "subjectivities": {
          "type": [
            "string",
            "null"
          ]
        },
        "expires_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        }
      },
      "required": [
        "id",
        "carrier",
        "lines",
        "premium",
        "fees",
        "total",
        "limits",
        "deductibles",
        "exclusions",
        "subjectivities",
        "expires_on"
      ]
    }
  }
}