Merge pull request #206 from Delta-Sierra/master

add translation object
pull/207/head
Alexandre Dulaunoy 2019-09-20 07:13:38 +02:00 committed by GitHub
commit 00cf5aa98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 4 deletions

View File

@ -15,9 +15,8 @@
}, },
"link": { "link": {
"description": "Original link into the microblog post (Supposed harmless)", "description": "Original link into the microblog post (Supposed harmless)",
"ui-priority": 0, "ui-priority": 1,
"misp-attribute": "link", "misp-attribute": "link"
"multiple": true
}, },
"type": { "type": {
"description": "Type of the microblog post", "description": "Type of the microblog post",
@ -77,9 +76,15 @@
"ui-priority": 0, "ui-priority": 0,
"multiple": true, "multiple": true,
"misp-attribute": "text" "misp-attribute": "text"
},
"hashtag": {
"description": "Hashtag into the microblog post",
"ui-priority": 0,
"misp-attribute": "text",
"multiple": true
} }
}, },
"version": 7, "version": 8,
"description": "Microblog post like a Twitter tweet or a post on a Facebook wall.", "description": "Microblog post like a Twitter tweet or a post on a Facebook wall.",
"meta-category": "misc", "meta-category": "misc",
"uuid": "8ec8c911-ddbe-4f5b-895b-fbff70c42a60", "uuid": "8ec8c911-ddbe-4f5b-895b-fbff70c42a60",

View File

@ -0,0 +1,34 @@
{
"attributes": {
"original-text": {
"description": "Original text",
"ui-priority": 1,
"misp-attribute": "text"
},
"translated-text": {
"description": "Text after translation",
"ui-priority": 1,
"misp-attribute": "text"
},
"original-language": {
"description": "Language of the original text",
"ui-priority": 1,
"misp-attribute": "text"
},
"translation-language": {
"description": "Language of translation",
"ui-priority": 1,
"misp-attribute": "text"
},
"translation-service": {
"description": "translation service used for the translation",
"ui-priority": 1,
"misp-attribute": "text"
}
},
"version": 1,
"description": "Used to keep a text and its translation",
"meta-category": "misc",
"uuid": "a43b54fa-dac9-11e9-9b0d-97296aceae1a",
"name": "translation"
}