schema/v1.0/overdraft.json in fidor_schema-0.8.0 vs schema/v1.0/overdraft.json in fidor_schema-0.10.0
- old
+ new
@@ -6,13 +6,11 @@
"properties" : {
"id" : {
"$ref" : "./base_types/base_types.json#definitions/id"
},
"account_id" : {
- "description" : "The external account id.",
- "type" : "string",
- "maxLength" : 8,
+ "$ref" : "./base_types/base_types.json#definitions/account_id",
"readOnly" : true
},
"line" : {
"description" : "Overdraft line",
"type" : "integer",
@@ -22,11 +20,11 @@
"description" : "Interest based on the balance of the account",
"type" : "number",
"readOnly" : true
},
"active" : {
- "description" : "",
+ "description" : "Indicates whether the overdraft is an active one or not",
"type" : "boolean",
"readOnly" : true
},
"created_at" : {
"$ref" : "./base_types/base_types.json#definitions/created_at"
@@ -41,8 +39,12 @@
},
"links" : [
{
"rel" : "self",
"href" : "overdrafts/{id}"
+ },
+ {
+ "rel" : "instances",
+ "href" : "overdrafts"
}
]
}