schema/v1.0/customer.json in fidor_schema-0.10.0 vs schema/v1.0/customer.json in fidor_schema-0.10.1

- old
+ new

@@ -13,27 +13,23 @@ "email" : { "$ref" : "./base_types/base_types.json#definitions/email" }, "first_name" : { "description" : "The given name of the customer", - "type" : "string", - "maxLength" : 30 + "$ref" : "./base_types/base_types.json#definitions/name" }, "additional_first_name" : { "description" : "The additional given name of the customer", - "type" : "string", - "maxLength" : 30 + "$ref" : "./base_types/base_types.json#definitions/name" }, "last_name" : { "description" : "The family name of the customer", - "type" : "string", - "maxLength" : 30 + "$ref" : "./base_types/base_types.json#definitions/name" }, "maiden_name" : { "description" : "Name at birth, maiden name.", - "type" : "string", - "maxLength" : 30 + "$ref" : "./base_types/base_types.json#definitions/name" }, "password" : { "description" : "Password for accessing your account later. You can use lower and upper case letters, digits and special characters", "type" : ["string", "null"], "minLength" : 6, @@ -55,16 +51,14 @@ "f" ], "type" : "string" }, "title" : { - "description" : "Salutation: 1 - Mr., 2 - Ms., 3 - Mr. Dr., 4 - Ms. Dr.", + "description" : "Salutation: 1 - Mr., 2 - Mrs.", "enum" : [ 1, - 2, - 3, - 4 + 2 ], "type" : "integer" }, "nick" : { "description" : "Nickname used in community.", @@ -230,13 +224,15 @@ { "rel" : "confirmations", "href" : "customers/{id}/confirmations" }, { - "rel" : "create", - "href" : "customers", - "method" : "POST", - "description" : "Creates a customer" + "rel" : "rewards", + "href" : "customers/{id}/rewards" + }, + { + "rel" : "projected_rewards", + "href" : "customers/{id}/projected_rewards" }, { "rel" : "update", "href" : "customers/{id}", "method" : "PUT",