Merge pull request #76 from chrisr3d/master

Transaction object, first version
pull/77/head
Alexandre Dulaunoy 2018-02-07 16:26:01 +01:00 committed by GitHub
commit 4f80aee4d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}