{
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "object": {
            "type": "string"
        },
        "address": {
            "type": "object",
            "properties": {
                "country": {
                    "type": "string"
                }
            },
            "required": [
                "city",
                "country",
                "line1",
                "line2",
                "postal_code",
                "state"
            ]
        },
        "balance": {
            "type": "integer"
        },
        "created": {
            "type": "integer"
        },
        "delinquent": {
            "type": "boolean"
        },
        "invoice_prefix": {
            "type": "string"
        },
        "invoice_settings": {
            "type": "object",
            "properties": {
                "custom_fields": {
                    "type": "null"
                },
                "footer": {
                    "type": "null"
                }
            },
            "required": [
                "custom_fields",
                "default_payment_method",
                "footer",
                "rendering_options"
            ]
        },
        "livemode": {
            "type": "boolean"
        },
        "preferred_locales": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "tax_exempt": {
            "type": "string"
        }
    },
    "required": [
        "id",
        "object"
    ],
    "version": 1
}
