{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tempguru-co/json-schema/tempguru-co-quote-request-confirmation-schema.json",
  "title": "QuoteRequestConfirmation",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tempguru-co-openapi.json#/components/schemas/QuoteRequestConfirmation",
  "type": "object",
  "required": [
    "submitted",
    "plan_linked",
    "deal_name",
    "reference",
    "message",
    "next_steps"
  ],
  "properties": {
    "submitted": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "plan_linked": {
      "type": "boolean",
      "description": "True when the submitted plan_id resolved and its snapshot was attached."
    },
    "deal_name": {
      "type": "string",
      "description": "Internal name assigned to the lead in TempGuru's CRM."
    },
    "reference": {
      "type": "string",
      "pattern": "^TG-[A-HJ-NP-Z2-9]{6}$",
      "description": "Quote reference to save and cite when following up."
    },
    "message": {
      "type": "string",
      "description": "Human-readable confirmation to relay to the user."
    },
    "next_steps": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "What happens next, relay to the user."
    }
  }
}