changedOutput schema / properties / cover_first / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "chosen_quote_id": {
- "description": "The one estimate's quote_id, to pass to carrier_questions. Null when there is none.",
- "type": [
- "string",
- "null"
- ]
- },
- "confirmed_price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "due_today": {
- "type": "number"
- },
- "monthly_payment": {
- "type": "number"
- },
- "total_for_term": {
- "type": "number"
- }
- },
- "required": [
- "currency",
- "due_today",
- "monthly_payment",
- "total_for_term"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The carrier's confirmed amounts, once confirmed. Still subject to eligibility and state rules."
- },
- "more_options_offered": {
- "description": "True when Sigo offers to look at the other carriers beside a confirmed price. Offer it once; other_carrier_questions is how, and only if the customer wants to compare.",
- "type": "boolean"
- },
- "next_call": {
- "description": "Exactly what to call next, with its arguments; null when nothing is.",
- "type": [
- "string",
- "null"
- ]
- },
- "note": {
- "description": "What to tell the customer and do next, in their language.",
- "type": "string"
- },
- "poll_after_seconds": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "While confirming: how long to wait before get_quote again."
- },
- "status": {
- "description": "rating: carriers still answering. questions_pending: ask carrier_questions for the one estimate shown. confirming: Sigo is confirming the price, read again. confirmed: the price is in confirmed_price and the customer pays in the link. declined / not_available: that option is not the answer; other_carrier_questions follows.",
- "enum": [
- "rating",
- "questions_pending",
- "confirming",
- "confirmed",
- "declined",
- "not_available"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "chosen_quote_id",
- "confirmed_price",
- "more_options_offered",
- "poll_after_seconds",
- "next_call",
- "note"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "chosen_quote_id": {
+ "description": "The one estimate's quote_id, to pass to carrier_questions. Null when there is none.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "confirmed_price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "due_today": {
+ "type": "number"
+ },
+ "monthly_payment": {
+ "type": "number"
+ },
+ "total_for_term": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "due_today",
+ "monthly_payment",
+ "total_for_term"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The carrier's confirmed amounts, once confirmed. Still subject to eligibility and state rules."
+ },
+ "more_options_offered": {
+ "description": "True when Sigo offers to look at the other carriers beside a confirmed price. Offer it once; other_carrier_questions is how, and only if the customer wants to compare.",
+ "type": "boolean"
+ },
+ "next_call": {
+ "description": "Exactly what to call next, with its arguments; null when nothing is.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "note": {
+ "description": "What to tell the customer and do next, in their language.",
+ "type": "string"
+ },
+ "poll_after_seconds": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "While confirming: how long to wait before get_quote again."
+ },
+ "status": {
+ "description": "rating: carriers still answering. questions_pending: ask carrier_questions for the one estimate shown. handed_off: the answers are in and the carrier did not confirm here; give the customer next_step's link and stop. confirming: Sigo is confirming the price, read again. confirmed: the price is in confirmed_price and the customer pays in the link. declined / not_available: that option is not the answer; other_carrier_questions follows.",
+ "enum": [
+ "rating",
+ "questions_pending",
+ "confirming",
+ "confirmed",
+ "declined",
+ "not_available",
+ "handed_off"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "chosen_quote_id",
+ "confirmed_price",
+ "more_options_offered",
+ "poll_after_seconds",
+ "next_call",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]