diff --git a/objects/dark-pattern/definition.json b/objects/dark-pattern/definition.json new file mode 100644 index 0000000..fe3970b --- /dev/null +++ b/objects/dark-pattern/definition.json @@ -0,0 +1,63 @@ +{ + "requiredOneOf": [ + "location", + "screenshot" + ], + "attributes": { + "location": { + "description": "Location where to find the item", + "ui-priority": 0, + "disable_correlation": true, + "multiple": true, + "misp-attribute": "text" + }, + "time": { + "description": "Date and time of first-seen", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "datetime" + }, + "implementer": { + "description": "Who is the vendor / holder of the item", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "text" + }, + "user": { + "description": "who are the user of the item", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "text" + }, + "comment": { + "description": "textual comment about the item", + "ui-priority": 0, + "disable_correlation": true, + "misp-attribute": "text" + }, + "gain": { + "description": "What is the implementer is gaining by deceiving the user", + "ui-priority": 0, + "misp-attribute": "text", + "values_list": [ + "registration", + "personal data", + "money", + "contacts", + "audience" + ], + "disable_correlation": true + }, + "screenshot": { + "description": "A screencapture or a screengrab of the item at work", + "ui-priority": 1, + "disable_correlation": true, + "misp-attribute": "attachment" + } + }, + "version": 1, + "description": "An Iten whose User Interface implements a dark pattern.", + "meta-category": "misc", + "uuid": "05755e29-8f5f-464d-bcff-2b4686472769", + "name": "dark-pattern-item" +}