changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "esim": {
+ "additionalProperties": {},
+ "properties": {
+ "activation_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "charged_price_cents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "completed_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "countries": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "data_limit_gb": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data_unlimited": {
+ "type": "boolean"
+ },
+ "expires_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "iccid": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_topup": {
+ "type": "boolean"
+ },
+ "parent_order_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "qr_code_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "routing_location": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "smdp_address": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "processing",
+ "completed",
+ "cancelled",
+ "refunded",
+ "expired"
+ ],
+ "type": "string"
+ },
+ "validity_days": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "status",
+ "product_id",
+ "is_topup",
+ "parent_order_id",
+ "iccid",
+ "activation_code",
+ "qr_code_url",
+ "smdp_address",
+ "data_limit_gb",
+ "data_unlimited",
+ "validity_days",
+ "countries",
+ "routing_location",
+ "charged_price_cents",
+ "currency",
+ "created_at",
+ "completed_at",
+ "expires_at"
+ ],
+ "type": "object"
+ },
+ "usage": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "esim_id": {
+ "type": "string"
+ },
+ "esim_status": {
+ "type": "string"
+ },
+ "packages": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "activation_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "expiration_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "percent_used": {
+ "type": "number"
+ },
+ "remaining_gb": {
+ "type": "number"
+ },
+ "remaining_mb": {
+ "type": "number"
+ },
+ "total_gb": {
+ "type": "number"
+ },
+ "total_mb": {
+ "type": "number"
+ },
+ "used_gb": {
+ "type": "number"
+ },
+ "used_mb": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "total_mb",
+ "total_gb",
+ "used_mb",
+ "used_gb",
+ "remaining_mb",
+ "remaining_gb",
+ "percent_used",
+ "activation_date",
+ "expiration_date"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "esim_id",
+ "esim_status",
+ "packages"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "esim",
+ "usage"
+ ],
+ "type": "object"
+}