{
    "properties": {
        "accountHolderName": {
            "_id": "order:010_accountHolderName",
            "maxLength": 200,
            "minLength": 1,
            "title": "Account Name",
            "type": "string"
        },
        "bankAccount": {
            "_id": "order:040_bankAccount",
            "maxLength": 20,
            "minLength": 1,
            "title": "Account Number",
            "type": "string"
        },
        "currencies": {
            "_id": "order:050_currencies",
            "items": {
                "enum": [
                    {
                        "enum": [
                            "USD"
                        ],
                        "title": "$ (US)",
                        "type": "string"
                    },
                    {
                        "enum": [
                            "GBP"
                        ],
                        "title": "\u00a3 (Sterling)",
                        "type": "string"
                    }
                ]
            },
            "minItems": 1,
            "title": "Permitted currencies",
            "type": "array"
        },
        "iban": {
            "_id": "order:020_iban",
            "description": "e.g. GB29 NWBK 6016 1331 9268 19. Exact format is country-specific.",
            "maxLength": 39,
            "minLength": 12,
            "pattern": "^[A-Z]{2}[0-9]{2}(?: ?[0-9A-Z]{4}){2,6}? ?[0-9A-Z]{0,4}$",
            "title": "IBAN",
            "type": "string"
        },
        "name": {
            "_id": "order:005_name",
            "description": "A short name to identify this payment option e.g. in lists",
            "maxLength": 20,
            "minLength": 1,
            "title": "Payment Option Name",
            "type": "string"
        },
        "notes": {
            "_id": "order:999_notes",
            "description": "If the payee needs any additional information e.g. a payment reference to provide, please mention it here.",
            "format": "textarea",
            "title": "Notes",
            "type": "string"
        },
        "sortCode": {
            "_id": "order:030_sortCode",
            "description": "Also known as Transit Code, IFSC, MFO, Clearing Number",
            "maxLength": 10,
            "minLength": 1,
            "title": "Bank Code/Sort Code",
            "type": "string"
        },
        "type": {
            "_id": "order:007_type",
            "description": "Type of payment",
            "enum": [
                "Online",
                "Bank",
                "InPerson"
            ],
            "readonly": true,
            "title": "Type",
            "type": "string"
        }
    },
    "required": [
        "name",
        "accountHolderName"
    ],
    "type": "object"
}