changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "messages": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "received_at": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "text",
+ "received_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "messages_total": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "rental": {
+ "additionalProperties": {},
+ "properties": {
+ "auto_renew": {
+ "type": "boolean"
+ },
+ "can_cancel": {
+ "type": "boolean"
+ },
+ "cancel_window_expires_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "charged_price_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "country": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "display_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "duration": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "received_at": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "received_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "next_renewal_price_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "paid_until": {
+ "type": "string"
+ },
+ "phone_number": {
+ "type": "string"
+ },
+ "re_rent_available": {
+ "type": "boolean"
+ },
+ "re_rent_blocked_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "re_rent_price_cents": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "refunded_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "rental_type": {
+ "const": "rental",
+ "type": "string"
+ },
+ "service_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "service_name": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "active",
+ "expired",
+ "cancelled"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status",
+ "phone_number",
+ "service_id",
+ "service_name",
+ "country",
+ "duration",
+ "rental_type",
+ "charged_price_cents",
+ "auto_renew",
+ "next_renewal_price_cents",
+ "re_rent_available",
+ "re_rent_price_cents",
+ "re_rent_blocked_at",
+ "created_at",
+ "paid_until",
+ "expires_at",
+ "can_cancel"
+ ],
+ "type": "object"
+ },
+ "verification": {
+ "additionalProperties": {},
+ "properties": {
+ "allow_paid_reuse": {
+ "type": "boolean"
+ },
+ "allow_reuse": {
+ "type": "boolean"
+ },
+ "can_cancel": {
+ "type": "boolean"
+ },
+ "charged_price_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "charged_reuse_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "code": {
+ "type": "string"
+ },
+ "code_received_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "display_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "paid_reuse_price_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "phone_number": {
+ "type": "string"
+ },
+ "refunded_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "reuse_counter": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "service_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "service_name": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "waiting_for_code",
+ "code_received",
+ "cancelled",
+ "expired",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status",
+ "phone_number",
+ "service_id",
+ "service_name",
+ "charged_price_cents",
+ "expires_at",
+ "can_cancel",
+ "created_at",
+ "reuse_counter",
+ "allow_reuse",
+ "allow_paid_reuse",
+ "paid_reuse_price_cents"
+ ],
+ "type": "object"
+ },
+ "wait": {
+ "additionalProperties": {},
+ "properties": {
+ "outcome": {
+ "enum": [
+ "status_changed",
+ "window_closed",
+ "wait_ended",
+ "cancelled_by_client"
+ ],
+ "type": "string"
+ },
+ "waited_seconds": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "waited_seconds",
+ "outcome"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+}