schema/v1.0/transaction.json in fidor_schema-0.5.0 vs schema/v1.0/transaction.json in fidor_schema-0.5.1
- old
+ new
@@ -7,19 +7,19 @@
"id" : {
"$ref" : "./base_types/base_types.json#definitions/id"
},
"account_id" : {
"$ref" : "./base_types/base_types.json#definitions/account_id",
- "readonly" : true
+ "readOnly" : true
},
"transaction_type" : {
"$ref" : "./base_types/base_types.json#definitions/transaction_type",
- "readonly" : true
+ "readOnly" : true
},
"transaction_type_details" : {
"description" : "Details specific to this transaction type are collected here.",
- "readonly" : true,
+ "readOnly" : true,
"type" : "object",
"oneOf" : [
{
"name" : "credit_card_details",
"properties" : {
@@ -46,40 +46,40 @@
}
]
},
"subject" : {
"$ref" : "./base_types/base_types.json#definitions/subject",
- "readonly" : true
+ "readOnly" : true
},
"amount" : {
"description" : "The transferred amount in account currency, in minor units, e.g. 1EUR is represented as 100. Can be negative e.g. if something was withdrawn from an account.",
"type" : "integer",
- "readonly" : true
+ "readOnly" : true
},
"currency" : {
"$ref" : "./base_types/base_types.json#definitions/currency",
- "readonly" : true
+ "readOnly" : true
},
"booking_date" : {
"description" : "Date the transaction was booked. ISO 8601 Date",
"format" : "date-time",
- "readonly" : true,
+ "readOnly" : true,
"type" : "string"
},
"value_date" : {
"description" : "Date the amount was credited to the account. ISO 8601 Date",
"format" : "date-time",
- "readonly" : true,
+ "readOnly" : true,
"type" : "string"
},
"booking_code" : {
"description" : "Accounting transaction code in the central banking system",
- "readonly" : true,
+ "readOnly" : true,
"type" : "string"
},
"return_transaction_id" : {
"description" : "If the transaction was marked for return, this references the new return transaction.",
- "readonly" : true,
+ "readOnly" : true,
"type" : "string"
},
"created_at" : {
"$ref" : "./base_types/base_types.json#definitions/created_at"
},