Job firefox extension json menu
Необхідне базове володіння англ. мовою для спілкування та обговорень.
When we select text and choose the 'add person' menu button, we want to
generate a new menu item with sub menu items according to the predefined def-person.json architecture.
different name/person, is new menu item
we add this to our local data object where the key values are being stored.
we also want to store key values automatically like the source field. The source field is the url in the address bar
Maybe we can start with this Person definition as def-person.json. But any changes in this file should be picked up by the plugin. So if we add a key here, we also add a menu item.
There should be exception for keys like source and maybe future keys created and modified. These will be set automatically and should not be edited.
{
"Person": [
{
"sex": "M",
"source": [{"url": "https://test.com"}],
"names": [
{
"nameForms": [
{
"lang": "en-GB",
"fullText": "Bartholomew"
}
]
}
],
"Birth": {
"Date": {
"Original": "1995",
"HasYear": true,
"HasMonth": false,
"HasDay": false,
"Value": "1995-01-21T23:00:00.000Z"
},
"Place": "Poland, Warsaw"
},
"Death": {
"Date": {
"Original": "2020",
"HasYear": true,
"HasMonth": false,
"HasDay": false,
"Value": "2020-01-21T23:00:00.000Z"
},
"Place": "Poland, Warsaw"
}
}
]
}