Transaction object

pull/76/head
chrisr3d 2018-02-07 15:36:37 +01:00
parent fd74fac62b
commit ad8e01d4c5
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,56 @@
{
"requiredOneOf": [
"transaction-number",
"date",
"amount",
"transmode-code"
],
"attributes": {
"text": {
"description": "A description of the transaction.",
"disable_correlation": true,
"ui-priority": 1,
"misp-attribute": "text"
},
"transaction-number": {
"description": "A unique number identifying a transaction.",
"ui-priority": 0,
"misp-attribute": "text"
},
"location": {
"description": "Location where the transaction took place.",
"ui-priority": 0,
"misp-attribute": "text"
},
"transmode-code": {
"description": "How the transaction was conducted.",
"ui-priority": 0,
"misp-attribute": "text"
},
"transmode-comment": {
"description": "Comment describing transmode-code, if needed.",
"ui-priority": 0,
"misp-attribute": "text"
},
"date": {
"description": "Date and time of the transaction.",
"ui-priority": 0,
"misp-attribute": "datetime"
},
"amount": {
"description": "The value of the transaction in local currency.",
"ui-priority": 0,
"misp-attribute": "text"
},
"date-posting": {
"description": "Date of posting, if different from date of transaction.",
"ui-priority": 0,
"misp-attribute": "datetime"
}
},
"version": 1,
"description": "An object to describe a transaction.",
"meta-category": "misc",
"uuid": "a47fa26a-01b6-4747-a394-5144e34456dc",
"name": "transaction"
}