{ "$schema" : "http://json-schema.org/draft-04/schema#", "type" : "object", "title" : "customer", "description" : "", "required" : ["email", "first_name", "last_name", "gender", "title", "nick"], "properties" : { "id" : { "$ref" : "./base_types/base_types.json#definitions/id" }, "email" : { "$ref" : "./base_types/base_types.json#definitions/email", "readOnly" : true }, "first_name" : { "description" : "The given name of the customer", "type" : "string", "maxLength" : 30, "readOnly" : true }, "last_name" : { "description" : "The family name of the customer", "type" : "string", "maxLength" : 30, "readOnly" : true }, "gender" : { "description" : "The gender of the customer", "enum" : [ "m", "f" ], "type" : "string", "readOnly" : true }, "title" : { "description" : "Salutation e.g Mr. or Ms./Mrs.", "type" : "string", "maxLength" : 30, "readOnly" : true }, "nick" : { "description" : "Nickname used in community.", "type" : "string", "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-time", "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-time", "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" } ] }