schema/v1.0/customer.json in fidor_schema-0.4.3 vs schema/v1.0/customer.json in fidor_schema-0.5.0

- old
+ new

@@ -1,54 +1,49 @@ { "type" : "object", "title" : "Customer", "name" : "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", - "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" : { @@ -112,11 +107,11 @@ "readonly" : true }, "birthday" : { "description" : "Date of birth", "type" : "string", - "format" : "date", + "format" : "date-time", "readonly" : true }, "creditor_identifier" : { "description" : "Creditor Identifier ID set if the customer wants to create direct debits.", "type" : "string", @@ -179,10 +174,10 @@ "type" : "string", "readonly" : true }, "id_card_valid_until" : { "description" : "Expiration date of id card", - "format" : "date", + "format" : "date-time", "type" : "string", "readonly" : true }, "created_at" : { "$ref" : "./base_types/base_types.json#definitions/created_at"