{ "type" : "object", "title" : "Customer", "name" : "customer", "description" : "", "properties" : { "id" : { "$ref" : "./base_types/base_types.json#definitions/id" }, "email" : { "$ref" : "./base_types/base_types.json#definitions/email", "required" : true, "readonly" : true }, "first_name" : { "description" : "The given name of the customer", "type" : "string", "required" : true, "maxLength" : 30, "readonly" : true }, "last_name" : { "description" : "The family name of the customer", "type" : "string", "required" : true, "maxLength" : 30, "readonly" : true }, "gender" : { "description" : "The gender of the customer", "enum" : [ "m", "f" ], "type" : "string", "required" : true, "readonly" : true }, "title" : { "description" : "Salutation e.g Mr. or Ms./Mrs.", "type" : "string", "required" : true, "maxLength" : 30, "readonly" : true }, "nick" : { "description" : "Nickname used in community.", "type" : "string", "required" : true, "maxLength" : 40, "minLength" : 2, "readonly" : true }, "maiden_name" : { "description" : "Name at birth, maiden name.", "type" : "string", "maxLength" : 30, "readonly" : true }, "adr_street" : { "description" : "Address street", "type" : "string", "maxLength" : 100, "readonly" : true }, "adr_street_number" : { "description" : "Address street number", "type" : "string", "maxLength" : 10, "readonly" : true }, "adr_post_code" : { "description" : "Address post code", "type" : "string", "maxLength" : 10, "readonly" : true }, "adr_city" : { "description" : "Address City", "type" : "string", "maxLength" : 100, "readonly" : true }, "adr_country" : { "description" : "Address Country", "type" : "string", "maxLength" : 100, "readonly" : true }, "adr_phone" : { "description" : "Phone home", "type" : "string", "maxLength" : 30, "readonly" : true }, "adr_mobile" : { "description" : "Phone mobile", "type" : "string", "maxLength" : 30, "readonly" : true }, "adr_fax" : { "description" : "Phone fax", "type" : "string", "maxLength" : 30, "readonly" : true }, "adr_businessphone" : { "description" : "Phone business", "type" : "string", "maxLength" : 30, "readonly" : true }, "birthday" : { "description" : "Date of birth", "type" : "string", "format" : "date", "readonly" : true }, "creditor_identifier" : { "description" : "Creditor Identifier ID set if the customer wants to create direct debits.", "type" : "string", "readonly" : true }, "is_verified" : { "description" : "Indicates whether KYC has been performed.", "type" : "boolean", "readonly" : true }, "nationality" : { "$ref" : "./base_types/base_types.json#definitions/country", "readonly" : true }, "marital_status" : { "description" : "1: single, 2: married, 3: widowed, 4: divorced, 5: seperated, 6: de facto", "enum" : [ 1, 2, 3, 4, 5, 6 ], "type" : "integer", "readonly" : true }, "religion" : { "description" : "Denomination for tax reasons. 0: no information, 1: no denomination, 2: Protestant, 3: Roman-Catholic, 4-18: Other denominations", "enum" : [ 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ], "type" : "integer", "readonly" : true }, "id_card_registration_city" : { "description" : "City where the id card is registered.", "type" : "string", "readonly" : true }, "id_card_number" : { "description" : "ID card number", "type" : "string", "readonly" : true }, "id_card_valid_until" : { "description" : "Expiration date of id card", "format" : "date", "type" : "string", "readonly" : true }, "created_at" : { "$ref" : "./base_types/base_types.json#definitions/created_at" }, "updated_at" : { "$ref" : "./base_types/base_types.json#definitions/updated_at" } }, "links" : [ { "rel" : "self", "href" : "customers/{id}" }, { "rel" : "instances", "href" : "customers" }, { "rel" : "accounts", "href" : "customers/{id}/accounts" } ] }