changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "plan": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "amount_change": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "effective_date": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "effective_date",
+ "amount"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "attention": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "autopay_state": {
+ "type": "string"
+ },
+ "cadence": {
+ "type": "string"
+ },
+ "card": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "type": "string"
+ },
+ "last4": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "brand",
+ "last4"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "client_id": {
+ "type": "string"
+ },
+ "client_name": {
+ "type": "string"
+ },
+ "collection": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "cycles_sent": {
+ "type": "number"
+ },
+ "due_in_days": {
+ "type": "number"
+ },
+ "end_after_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ends": {
+ "type": "string"
+ },
+ "heads_up_always": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_invoice_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "monthly_amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "next_invoice_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pause": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "until": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "from",
+ "until"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "pending_one_off_lines": {
+ "type": "number"
+ },
+ "recent_attempts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "attempt": {
+ "type": "number"
+ },
+ "decline_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hard_decline": {
+ "type": "boolean"
+ },
+ "invoice_id": {
+ "type": "string"
+ },
+ "next_retry_on": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "invoice_id",
+ "attempt",
+ "reason",
+ "status",
+ "decline_code",
+ "hard_decline",
+ "next_retry_on",
+ "at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "retry": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attempt": {
+ "type": "number"
+ },
+ "invoice_id": {
+ "type": "string"
+ },
+ "last_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "next_on": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "invoice_id",
+ "attempt",
+ "next_on",
+ "last_code"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sending": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "waiting_on_client_invoice_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "status",
+ "attention",
+ "client_id",
+ "client_name",
+ "cadence",
+ "amount",
+ "monthly_amount",
+ "currency",
+ "next_invoice_date",
+ "collection",
+ "autopay_state",
+ "card",
+ "retry",
+ "waiting_on_client_invoice_id",
+ "cycles_sent",
+ "last_invoice_id",
+ "sending",
+ "due_in_days",
+ "heads_up_always",
+ "ends",
+ "end_after_date",
+ "pause",
+ "amount_change",
+ "pending_one_off_lines",
+ "recent_attempts"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "plan"
+ ],
+ "type": "object"
+}