From 054899d28bbdafc0d316f980e31292da34a833ee Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Wed, 9 Sep 2020 10:36:20 +0200 Subject: [PATCH] fix: JSON Validation --- objects/github-user/definition.json | 54 ++++++++++++------------- objects/twitter-account/definition.json | 2 +- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/objects/github-user/definition.json b/objects/github-user/definition.json index 820fe21..a23ae4a 100644 --- a/objects/github-user/definition.json +++ b/objects/github-user/definition.json @@ -5,29 +5,23 @@ "misp-attribute": "text", "ui-priority": 1 }, - "profile-image": { - "description": "Profile image of the GitHub user (it can be multiple).", - "misp-attribute": "attachment", - "ui-priority": 1, - "multiple": true + "follower": { + "description": "GitHub user is followed by.", + "misp-attribute": "github-username", + "multiple": true, + "ui-priority": 79 }, "following": { "description": "Followed GitHub users by the GitHub user.", "misp-attribute": "github-username", - "ui-priority": 80, - "multiple": true + "multiple": true, + "ui-priority": 80 }, - "follower": { - "description": "GitHub user is followed by.", - "misp-attribute": "github-username", - "ui-priority": 79, - "multiple": true - }, - "ssh-public-key": { - "description": "SSH public key associated to the GitHub user.", - "misp-attribute": "text", - "ui-priority": 10, - "multiple": true + "link": { + "description": "Original Link to the GitHub account.", + "misp-attribute": "link", + "multiple": true, + "ui-priority": 1 }, "organisation": { "description": "Organisation affiliation of the GitHub user (it can be multiple).", @@ -35,11 +29,11 @@ "multiple": true, "ui-priority": 1 }, - "username": { - "description": "GitHub username.", - "misp-attribute": "github-username", + "profile-image": { + "description": "Profile image of the GitHub user (it can be multiple).", + "misp-attribute": "attachment", "multiple": true, - "ui-priority": 98 + "ui-priority": 1 }, "repository": { "description": "GitHub repository under the GitHub user.", @@ -47,16 +41,22 @@ "multiple": true, "ui-priority": 96 }, + "ssh-public-key": { + "description": "SSH public key associated to the GitHub user.", + "misp-attribute": "text", + "multiple": true, + "ui-priority": 10 + }, "user-fullname": { "description": "Fullname of the GitHub user.", "misp-attribute": "text", "ui-priority": 97 }, - "link": { - "description": "Original Link to the GitHub account.", - "misp-attribute": "link", + "username": { + "description": "GitHub username.", + "misp-attribute": "github-username", "multiple": true, - "ui-priority": 1 + "ui-priority": 98 }, "verified": { "description": "User verified.", @@ -78,4 +78,4 @@ ], "uuid": "4329b5e6-8e6a-4b55-8fd1-9033782017d4", "version": 1 -} +} \ No newline at end of file diff --git a/objects/twitter-account/definition.json b/objects/twitter-account/definition.json index d5b654a..00e766c 100644 --- a/objects/twitter-account/definition.json +++ b/objects/twitter-account/definition.json @@ -182,4 +182,4 @@ ], "uuid": "8066563f-881e-4f6a-9d6c-a9d15b8658bb", "version": 7 -} +} \ No newline at end of file