From ad8e01d4c5d6898ebe6f64483e98b3252308519d Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Wed, 7 Feb 2018 15:36:37 +0100 Subject: [PATCH] Transaction object --- objects/transaction/definition.json | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 objects/transaction/definition.json diff --git a/objects/transaction/definition.json b/objects/transaction/definition.json new file mode 100644 index 0000000..46fd9e4 --- /dev/null +++ b/objects/transaction/definition.json @@ -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" +}