removedInput schema / anyOf
Removed value: -[
- {
- "required": [
- "comparison_id"
- ]
- },
- {
- "required": [
- "comparison",
- "comparison_token"
- ]
- }
-]
changedInput schema / description
Previous value: -"Send exactly one of comparison_id or comparison + comparison_token. Copy request_id, comparison_id and insurer_id from the quote."New value: +"The comparison_id of a comparison, the insurer chosen, the person’s contact details and their agreement."
changedInput schema / properties / agent / description
Previous value: -"Who is calling: { name:\"chatgpt\" } etc. Self-declared, not authentication."New value: +"Optional. Who is calling; self-declared, used for statistics only."
removedInput schema / properties / agent / properties / cashbackRequested
Removed value: -{
- "default": true,
- "description": "Records a request for SPI to consider a benefit. Not a claim, eligibility, approval, amount or payment promise. Does not change prices or ranking.",
- "type": "boolean"
-}
removedInput schema / properties / agent / properties / cashback_requested
Removed value: -{
- "default": true,
- "description": "Records a request for SPI to consider a benefit. Not a claim, eligibility, approval, amount or payment promise. Does not change prices or ranking.",
- "type": "boolean"
-}
removedInput schema / properties / agent / properties / displayName
Removed value: -{
- "description": "Optional custom agent name, no client name or conversation content.",
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
-}
removedInput schema / properties / agent / properties / display_name
Removed value: -{
- "description": "Optional custom agent name, no client name or conversation content.",
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
-}
removedInput schema / properties / agent / properties / integrationId
Removed value: -{
- "description": "Self-declared integration identifier, NOT authentication.",
- "pattern": "^[a-zA-Z0-9._-]{1,80}$",
- "type": "string"
-}
removedInput schema / properties / agent / properties / integration_id
Removed value: -{
- "description": "Self-declared integration identifier, NOT authentication.",
- "pattern": "^[a-zA-Z0-9._-]{1,80}$",
- "type": "string"
-}
removedInput schema / properties / agent / properties / kind
Removed value: -{
- "description": "Optional. Accepted values: personal_assistant, conversational_assistant, coding_agent (personal_agent and chat_assistant are read as personal_assistant and conversational_assistant).",
- "enum": [
- "personal_assistant",
- "conversational_assistant",
- "coding_agent"
- ],
- "type": "string"
-}
changedInput schema / properties / agent / properties / name / description
Previous value: -"Agent name, lower-cased by the server (spaces become _; a literal <placeholder> counts as other). Known names: chatgpt, claude, gemini, grok, openclaw, muse, codex, claude_code, copilot, perplexity, mistral, coding_agent, other; any other short identifier is accepted."New value: +"Name of the assistant or product making the call."
removedInput schema / properties / cashback_terms_version
Removed value: -{
- "description": "cashback.version shown to the client; 409 cashback_terms_outdated when stale.",
- "type": "string"
-}
changedInput schema / properties / client_consent / description
Previous value: -"true only after the client explicitly answered yes to consent_request. Never infer consent from a comparison."New value: +"true when the person has agreed that their contact details, the comparison criteria and the chosen offer are sent to Swiss Premium Insurance. The request is refused without it."
removedInput schema / properties / comparison
Removed value: -{
- "description": "submission.comparison copied unchanged; only with comparison_token.",
- "type": "object"
-}
removedInput schema / properties / comparison_token
Removed value: -{
- "description": "submission.comparisonToken with the identical submission.comparison; alternative to comparison_id.",
- "maxLength": 1000,
- "type": "string"
-}
changedInput schema / properties / contact / description
Previous value: -"Fill email or phone; leave the other as an empty string or omit it. Never invent a client name, email or phone."New value: +"The person’s own details: an email address or a phone number, and optionally a name and a message."
changedInput schema / properties / contact / properties / email / description
Previous value: -"Client email such as client@example.ch; an empty string or an omitted key means the client gave a phone instead."New value: +"Email address such as client@example.ch; an empty string or an omitted key means a phone number is given instead."
changedInput schema / properties / contact / properties / phone / description
Previous value: -"Client telephone, 8-15 digits, optional spaces and + country code; an empty string or an omitted key means the client gave an email instead."New value: +"Telephone, 8-15 digits, optional spaces and + country code; an empty string or an omitted key means an email address is given instead."
changedInput schema / properties / insurer_id / description
Previous value: -"insurer_id of the offer the client chose, from offers[]."New value: +"insurer_id of the chosen offer, from offers[]."
changedInput schema / properties / language / description
Previous value: -"Client language; defaults to the comparison language. fr, de, it, en have localised client texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr)."New value: +"Language of the person; defaults to the comparison language. fr, de, it, en have localised texts and pages; es, pt, zh are recorded for SPI (preview and pages fall back to en/fr)."
changedInput schema / properties / request_id / description
Previous value: -"Copy submission.request_id from the quote (any RFC 4122 UUID). Reuse the same value and body on every retry."New value: +"Identifier of this request, as returned by the comparison (any UUID is accepted). The same request sent again with the same identifier within 24 hours is not sent twice."
changedInput schema / properties / subsidy_requested / description
Previous value: -"Client wants information on premium subsidies."New value: +"The person wants information on premium subsidies."
changedInput schema / properties / supplementary_interest / description
Previous value: -"Client also wants supplementary (LCA) offers; enables the LCA cashback."New value: +"The person also wants offers for supplementary insurance (LCA)."
changedInput schema / required
Previous value: -[
- "request_id",
- "contact",
- "client_consent"
-]New value: +[
+ "request_id",
+ "comparison_id",
+ "contact",
+ "client_consent"
+]
removedOutput schema / properties / accepted_at / format
Removed value: -"date-time"
addedOutput schema / properties / accepted_means
Added value: +{
+ "type": "string"
+}
removedOutput schema / properties / cashback
Removed value: -{
- "properties": {
- "contract_status": {
- "const": "not_verified"
- },
- "lamal_amount_chf": {
- "type": [
- "number",
- "null"
- ]
- },
- "lca_basis": {
- "type": [
- "string",
- "null"
- ]
- },
- "next_steps": {
- "description": "Tell the client this.",
- "type": "string"
- },
- "payment_created": {
- "const": false
- },
- "program_status": {
- "enum": [
- "active",
- "disabled"
- ]
- },
- "program_version": {
- "type": "string"
- },
- "requested": {
- "type": "boolean"
- },
- "terms_url": {
- "format": "uri",
- "type": "string"
- }
- },
- "type": "object"
-}
removedOutput schema / properties / client_confirmation
Removed value: -{
- "description": "consent_confirmation filled in the client language; say it to the client.",
- "type": "string"
-}
removedOutput schema / properties / correction_or_cancellation
Removed value: -{
- "description": "mailto link to correct or withdraw; give it to the client.",
- "format": "uri",
- "type": "string"
-}
removedOutput schema / properties / email_sent
Removed value: -{
- "const": true,
- "description": "Provider acceptance; not inbox delivery or a contract."
-}
removedOutput schema / properties / expected_contact_channel
Removed value: -{
- "enum": [
- "email",
- "phone",
- "email_or_phone"
- ],
- "type": "string"
-}
removedOutput schema / properties / expected_contact_channel_label
Removed value: -{
- "description": "expected_contact_channel in the client language.",
- "type": "string"
-}
removedOutput schema / properties / follow_up_by
Removed value: -{
- "const": "Swiss Premium Insurance"
-}
removedOutput schema / properties / message
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / recipient
Removed value: -{
- "const": "contact@sp-insurance.ch"
-}
addedOutput schema / properties / reference
Added value: +{
+ "description": "The request_id of this request.",
+ "type": "string"
+}
removedOutput schema / properties / request_id
Removed value: -{
- "format": "uuid",
- "type": "string"
-}
addedOutput schema / properties / sent_to
Added value: +{
+ "type": "string"
+}
changedOutput schema / properties / switching / description
Previous value: -"Switching deadline and free SPI help (cancellation, premium subsidies). Say client_sentence with the offers; a request to SPI cancels nothing by itself."New value: +"Dates of the ordinary change of insurer for the tariff year."
addedOutput schema / properties / switching / properties / a_contact_request_cancels_current_insurance
Added value: +{
+ "const": false
+}
addedOutput schema / properties / switching / properties / cancellation_deadline
Added value: +{
+ "format": "date",
+ "type": "string"
+}
removedOutput schema / properties / switching / properties / cancellation_help
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / switching / properties / client_sentence
Removed value: -{
- "description": "Deadline, free cancellation help and free subsidy help; requested language only unless texts=all.",
- "properties": {
- "de": {
- "type": "string"
- },
- "en": {
- "type": "string"
- },
- "fr": {
- "type": "string"
- },
- "it": {
- "type": "string"
- }
- },
- "type": "object"
-}
removedOutput schema / properties / switching / properties / deadline
Removed value: -{
- "const": "2026-11-30",
- "description": "Date by which the cancellation must REACH the current insurer.",
- "format": "date",
- "type": "string"
-}
addedOutput schema / properties / switching / properties / deadline_means
Added value: +{
+ "type": "string"
+}
removedOutput schema / properties / switching / properties / deadline_rule
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / switching / properties / effective
Removed value: -{
- "const": "2027-01-01",
- "format": "date",
- "type": "string"
-}
removedOutput schema / properties / switching / properties / instructions
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / switching / properties / new_cover_starts
Added value: +{
+ "format": "date",
+ "type": "string"
+}
removedOutput schema / properties / switching / properties / request_cancels_current_insurance
Removed value: -{
- "const": false
-}
removedOutput schema / properties / switching / properties / subsidy_help
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / switching / properties / subsidy_sentence
Removed value: -{
- "description": "Say it when the client mentions a modest income or asks about premium subsidies.",
- "properties": {
- "de": {
- "type": "string"
- },
- "en": {
- "type": "string"
- },
- "fr": {
- "type": "string"
- },
- "it": {
- "type": "string"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / switching / properties / tariff_year
Added value: +{
+ "type": "integer"
+}
addedOutput schema / properties / switching / properties / window
Added value: +{
+ "description": "open until the end of the deadline day in Switzerland, closed afterwards.",
+ "enum": [
+ "open",
+ "closed"
+ ]
+}
changedOutput schema / properties / switching / required
Previous value: -[
- "deadline",
- "effective",
- "client_sentence"
-]New value: +[
+ "tariff_year",
+ "new_cover_starts",
+ "cancellation_deadline",
+ "window"
+]
addedOutput schema / properties / this_cancels_the_current_insurance
Added value: +{
+ "const": false
+}
addedOutput schema / properties / this_is_an_insurance_contract
Added value: +{
+ "const": false
+}
addedOutput schema / properties / to_correct_or_withdraw
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / what_happens_next
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / wording
Added value: +{
+ "description": "Optional sentences validated by the broker, in the language requested.",
+ "properties": {
+ "cancellation_deadline": {
+ "description": "Present while the switching window is open."
+ },
+ "help": {
+ "description": "The broker’s free help; present with a comparison."
+ },
+ "not_cancelled": {},
+ "note": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
changedOutput schema / required
Previous value: -[
- "status",
- "request_id",
- "email_sent",
- "recipient",
- "accepted_at",
- "follow_up_by",
- "message"
-]New value: +[
+ "status",
+ "reference",
+ "sent_to"
+]