{
    "$id": "https://www.fatzebra.com/schemas/applepay/options.json",
    "type": "object",
    "definitions": {
        "Options": {
            "type": "object",
            "properties": {
                "allowed_card_networks": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "amex",
                            "chinaUnionPay",
                            "discover",
                            "jcb",
                            "maestro",
                            "masterCard",
                            "visa"
                        ]
                    }
                },
                "allowed_card_types": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "enum": [
                            "supports3DS",
                            "supportsCredit",
                            "supportsDebit",
                            "supportsEMV"
                        ]
                    }
                },
                "apple_button_type": {
                    "type": "string",
                    "enum": [
                        "buy",
                        "donate",
                        "plain",
                        "set-up",
                        "book",
                        "check-out",
                        "subscribe",
                        "add-money",
                        "contribute",
                        "order",
                        "reload",
                        "rent",
                        "support",
                        "tip",
                        "top-up",
                        "continue"
                    ]
                },
                "apple_button_style": {
                    "type": "string",
                    "enum": [
                        "black",
                        "white",
                        "white-outline"
                    ]
                },
                "apple_button_locale": {
                    "type": "string",
                    "enum": [
                        "ar-AB",
                        "ca-ES",
                        "cs-CZ",
                        "da-DK",
                        "de-DE",
                        "el-GR",
                        "en-AU",
                        "en-GB",
                        "en-US",
                        "es-ES",
                        "es-MX",
                        "fi-FI",
                        "fr-CA",
                        "fr-FR",
                        "he-IL",
                        "hi-IN",
                        "hr-HR",
                        "hu-HU",
                        "id-ID",
                        "it-IT",
                        "ja-JP",
                        "ko-KR",
                        "ms-MY",
                        "nb-NO",
                        "nl-NL",
                        "pl-PL",
                        "pt-BR",
                        "pt-PT",
                        "ro-RO",
                        "ru-RU",
                        "sk-SK",
                        "sv-SE",
                        "th-TH",
                        "tr-TR",
                        "uk-UA",
                        "vi-VN",
                        "zh-CN",
                        "zh-HK",
                        "zh-TW"
                    ]
                },
                "domain_name": {
                    "type": "string"
                }
            },
            "additionalProperties": false
        }
    }
}
