diff --git a/intents/README.md b/intents/README.md new file mode 100644 index 0000000..63622f9 --- /dev/null +++ b/intents/README.md @@ -0,0 +1,14 @@ +# Intents + +This is the location for the intent registry as +used in menus. The intents in menus can be of various +formats. + +Accepted intent identifier formats are: + +* fully qualified URLs that have a protocol, host name and path (such as https://..); +* a resource path, implyinng it is relative to the same host but with full path (one or more /s); +* a FDC3 intent, which can only be composed of alphanumeric (e.g. no /) characters and "." for namespace. It is in UpperCamelCase. + +The intent identifier will have associated additional information in its registry value depending on +format. diff --git a/menu/en_menu_selfserve.json b/menu/en_menu_selfserve.json new file mode 100644 index 0000000..31b6c63 --- /dev/null +++ b/menu/en_menu_selfserve.json @@ -0,0 +1,403 @@ +{ + "id": "menu-selfserve", + "intent": "", + "label": "L0 Menu", + "children": [ + { + "id": "home1", + "label": "Welcome Home", + "target": "_blank", + "icon": "fa-home", + "tenant": "", + "children": [ + { + "id": "menu-001-001", + "label": "Dashboard", + "functionId": "menu-001-001", + "intent": "/content/dashboard.html", + "target": "Home", + "icon": "fa-tachometer-alt", + "iconActive": "fa-chart-line", + "tenant": "" + }, + { + "id": "menu-001-002", + "label": "Alternate Dashboard", + "functionId": "menu-001-002", + "intent": "/content/dashboard-alt.html", + "target": "Home", + "icon": "fa-chart-line", + "tenant": "" + } + ] + }, + { + "id": "apps1", + "intent": "", + "label": "Apps 1", + "functionId": "apps1", + "children": [ + { + "children": [ + { + "id": "menu-002-001", + "intent": "/content/viewaccounts.html", + "label": "View", + "target": "Accounts", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "menu-002-002", + "intent": "/content/transfer.html", + "label": "Transfer", + "target": "Payment", + "icon": "fa-exchange-alt", + "tenant": "" + }, + { + "id": "menu-002-003", + "intent": "/content/payment.html", + "label": "Payment", + "target": "Payment", + "icon": "fa-money-check-dollar", + "tenant": "" + } + ], + "id": "menu-002", + "label": "Accounts", + "target": "_blank", + "icon": "fa-wallet", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-003-001", + "intent": "https://news.com.au", + "label": "News (AU)", + "target": "news", + "icon": "fa-envelope", + "tenant": "" + }, + { + "id": "menu-003-002", + "intent": "https://bbc.co.uk/news", + "label": "BBC", + "target": "news", + "icon": "fa-radio", + "tenant": "" + }, + { + "id": "menu-003-003", + "intent": "https://smh.com.au", + "label": "SMH", + "target": "news", + "icon": "fa-envelope-open", + "tenant": "" + }, + { + "id": "menu-003-004", + "intent": "https://abc.net.au/news", + "label": "ABC news", + "target": "news", + "icon": "fa-envelope-open", + "tenant": "" + }, + { + "id": "menu-003-005", + "intent": "https://cnn.com", + "label": "CNN", + "target": "news", + "icon": "fa-envelope-open", + "tenant": "" + } + ], + "id": "menu-003", + "intent": "/accounts", + "label": "News", + "target": "_blank", + "icon": "fa-newspaper", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-004-001", + "label": "Production Site", + "intent": "https://villacentrum.com", + "target": "vcm", + "icon": "fa-server", + "functionId": "menu-004-001", + "tenant": "" + }, + { + "id": "menu-004-002", + "label": "Photos", + "icon": "fa-images", + "iconActive": "fa-level-up-alt", + "tenant": "", + "functionId": "", + "children": [ + { + "id": "menu-004-002-001", + "label": "Global notes 1", + "intent": "/content/global_notes1.html", + "icon": "fa-image", + "iconActive": "fa-image", + "target": "Photos", + "functionId": "menu-004-002-001", + "tenant": "" + }, + { + "id": "menu-004-002-002", + "label": "Oberon lake", + "intent": "/content/IMG_6662.html", + "target": "Photos", + "icon": "fa-image", + "iconActive": "fa-image", + "functionId": "menu-004-002-002", + "tenant": "" + } + ] + } + ], + "id": "menu-004", + "label": "Villa Centrum", + "icon": "fa-building", + "iconActive": "fa-building", + "functionId": "menu-004", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-005-001", + "intent": "https://google.com.au", + "label": "Google", + "target": "search", + "icon": "fa-magnifying-glass", + "functionId": "menu-005-001", + "tenant": "" + }, + { + "id": "menu-005-002", + "intent": "https://bing.com", + "label": "Bing", + "target": "search", + "icon": "fa-magnifying-glass-dollar", + "functionId": "menu-005-002", + "tenant": "" + }, + { + "id": "menu-005-003", + "intent": "https://duckduckgo.com/", + "label": "Duck Duck Go", + "target": "search", + "icon": "fa-magnifying-glass", + "functionId": "menu-005-003", + "tenant": "" + } + ], + "id": "menu-005", + "intent": "", + "label": "Search", + "target": "_blank", + "icon": "fa-magnifying-glass-location", + "functionId": "menu-005", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-099-001", + "intent": "/content/about.html", + "label": "About", + "target": "Support", + "icon": "fa-circle-info", + "functionId": "menu-099-001", + "tenant": "" + }, + { + "id": "menu-099-002", + "intent": "/content/contact.html", + "label": "Contact", + "target": "Support", + "icon": "fa-phone", + "functionId": "menu-099-002", + "tenant": "" + } + ], + "id": "menu-099", + "intent": "", + "label": "Support", + "icon": "fa-caret-right", + "tenant": "" + } + ] + }, + { + "id": "apps2", + "intent": "", + "label": "Apps 2", + "functionId": "", + "children": [ + { + "children": [ + { + "id": "apps2-002-001", + "intent": "/content/viewfx.html", + "functionId": "apps2-002-001", + "label": "View", + "target": "FX", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps2-002-002", + "intent": "/content/transferfx.html", + "functionId": "apps2-002-002", + "label": "Transfer FX", + "target": "FXHome", + "icon": "fa-exchange-alt", + "tenant": "" + }, + { + "id": "apps2-002-003", + "intent": "/content/travelcard.html", + "functionId": "apps2-002-003", + "label": "Travel Card", + "target": "FXHome", + "icon": "fa-money-check-dollar", + "tenant": "" + } + ], + "id": "apps2-002", + "label": "Foreign Exchange", + "target": "_blank", + "icon": "fa-wallet", + "tenant": "" + } + ] + }, + { + "id": "apps3", + "intent": "", + "label": "Self serve", + "functionId": "", + "children": [ + { + "children": [ + { + "id": "apps3-001-001", + "intent": "/content/shopping/page1.html", + "functionId": "apps2-002-001", + "label": "Shopping1", + "target": "Shopping", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps3-001-002", + "intent": "/content/shopping/page2.html", + "functionId": "apps2-002-002", + "label": "Shopping2", + "target": "Shopping", + "icon": "fa-money-check-dollar", + "tenant": "" + }, + { + "id": "apps3-001-003", + "intent": "/content/shopping/page3.html", + "functionId": "apps2-002-003", + "label": "Shoppping3", + "target": "Shopping", + "icon": "fa-building", + "tenant": "" + } + ], + "id": "apps3-001", + "intent": "/content/shopping/index.html", + "label": "Shopping", + "target": "_blank", + "icon": "fa-building", + "tenant": "" + }, + { + "children": [ + { + "id": "apps3-002-001", + "intent": "/content/payments/page1.html", + "functionId": "apps3-002-001", + "label": "Payments1", + "target": "Payments", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps3-002-002", + "intent": "/content/payments/page2.html", + "functionId": "apps3-002-002", + "label": "Payments2", + "target": "Payments", + "icon": "fa-money-check-dollar", + "tenant": "" + }, + { + "id": "apps3-002-003", + "intent": "/content/payments/page3.html", + "functionId": "apps3-002-003", + "label": "Payments3", + "target": "Payments", + "icon": "fa-building", + "tenant": "" + } + ], + "id": "apps3-002", + "intent": "/content/payments/index.html", + "label": "Payments", + "target": "_blank", + "icon": "fa-wallet", + "tenant": "" + }, + { + "children": [ + { + "id": "apps3-003-001", + "intent": "/content/health/page1.html", + "functionId": "apps2-002-001", + "label": "Health1", + "target": "Health", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps3-003-002", + "intent": "/content/health/page2.html", + "functionId": "apps2-002-002", + "label": "Health2", + "target": "Health", + "icon": "fa-money-check-dollar", + "tenant": "" + }, + { + "id": "apps3-003-003", + "intent": "/content/health/page3.html", + "functionId": "apps2-002-003", + "label": "Health3", + "target": "Health", + "icon": "fa-building", + "tenant": "" + } + ], + "id": "apps3-003", + "intent": "/content/health/index.html", + "label": "Health", + "target": "_blank", + "icon": "fa-eye", + "tenant": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/menu/sv_menu_selfserve.json b/menu/sv_menu_selfserve.json new file mode 100644 index 0000000..ad3ca42 --- /dev/null +++ b/menu/sv_menu_selfserve.json @@ -0,0 +1,403 @@ +{ + "id": "menu-selfserve", + "intent": "", + "label": "L0-meny", + "children": [ + { + "id": "home1", + "label": "Välkommen hem", + "target": "_blank", + "icon": "fa-home", + "tenant": "", + "children": [ + { + "id": "menu-001-001", + "label": "Instrumentpanel", + "functionId": "menu-001-001", + "intent": "/content/dashboard.html", + "target": "Home", + "icon": "fa-tachometer-alt", + "iconActive": "fa-chart-line", + "tenant": "" + }, + { + "id": "menu-001-002", + "label": "Alternativ instrumentpanel", + "functionId": "menu-001-002", + "intent": "/content/dashboard-alt.html", + "target": "Home", + "icon": "fa-chart-line", + "tenant": "" + } + ] + }, + { + "id": "apps1", + "intent": "", + "label": "Appar 1", + "functionId": "apps1", + "children": [ + { + "children": [ + { + "id": "menu-002-001", + "intent": "/content/viewaccounts.html", + "label": "Visa", + "target": "Accounts", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "menu-002-002", + "intent": "/content/transfer.html", + "label": "Överför", + "target": "Payment", + "icon": "fa-exchange-alt", + "tenant": "" + }, + { + "id": "menu-002-003", + "intent": "/content/payment.html", + "label": "Betalning", + "target": "Payment", + "icon": "fa-money-check-dollar", + "tenant": "" + } + ], + "id": "menu-002", + "label": "Konton", + "target": "_blank", + "icon": "fa-wallet", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-003-001", + "intent": "https://news.com.au", + "label": "Nyheter (AU)", + "target": "news", + "icon": "fa-envelope", + "tenant": "" + }, + { + "id": "menu-003-002", + "intent": "https://bbc.co.uk/news", + "label": "BBC", + "target": "news", + "icon": "fa-radio", + "tenant": "" + }, + { + "id": "menu-003-003", + "intent": "https://smh.com.au", + "label": "SMH", + "target": "news", + "icon": "fa-envelope-open", + "tenant": "" + }, + { + "id": "menu-003-004", + "intent": "https://abc.net.au/news", + "label": "ABC-nyheter", + "target": "news", + "icon": "fa-envelope-open", + "tenant": "" + }, + { + "id": "menu-003-005", + "intent": "https://cnn.com", + "label": "CNN", + "target": "news", + "icon": "fa-envelope-open", + "tenant": "" + } + ], + "id": "menu-003", + "intent": "/accounts", + "label": "Nyheter", + "target": "_blank", + "icon": "fa-newspaper", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-004-001", + "label": "Produktionssida", + "intent": "https://villacentrum.com", + "target": "vcm", + "icon": "fa-server", + "functionId": "menu-004-001", + "tenant": "" + }, + { + "id": "menu-004-002", + "label": "Bilder", + "icon": "fa-images", + "iconActive": "fa-level-up-alt", + "tenant": "", + "functionId": "", + "children": [ + { + "id": "menu-004-002-001", + "label": "Globala anteckningar 1", + "intent": "/content/global_notes1.html", + "icon": "fa-image", + "iconActive": "fa-image", + "target": "Photos", + "functionId": "menu-004-002-001", + "tenant": "" + }, + { + "id": "menu-004-002-002", + "label": "Oberon-sjön", + "intent": "/content/IMG_6662.html", + "target": "Photos", + "icon": "fa-image", + "iconActive": "fa-image", + "functionId": "menu-004-002-002", + "tenant": "" + } + ] + } + ], + "id": "menu-004", + "label": "Villa Centrum", + "icon": "fa-building", + "iconActive": "fa-building", + "functionId": "menu-004", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-005-001", + "intent": "https://google.com.au", + "label": "Google", + "target": "search", + "icon": "fa-magnifying-glass", + "functionId": "menu-005-001", + "tenant": "" + }, + { + "id": "menu-005-002", + "intent": "https://bing.com", + "label": "Bing", + "target": "search", + "icon": "fa-magnifying-glass-dollar", + "functionId": "menu-005-002", + "tenant": "" + }, + { + "id": "menu-005-003", + "intent": "https://duckduckgo.com/", + "label": "Duck Duck Go", + "target": "search", + "icon": "fa-magnifying-glass", + "functionId": "menu-005-003", + "tenant": "" + } + ], + "id": "menu-005", + "intent": "", + "label": "Sök", + "target": "_blank", + "icon": "fa-magnifying-glass-location", + "functionId": "menu-005", + "tenant": "" + }, + { + "children": [ + { + "id": "menu-099-001", + "intent": "/content/about.html", + "label": "Om", + "target": "Support", + "icon": "fa-circle-info", + "functionId": "menu-099-001", + "tenant": "" + }, + { + "id": "menu-099-002", + "intent": "/content/contact.html", + "label": "Kontakt", + "target": "Support", + "icon": "fa-phone", + "functionId": "menu-099-002", + "tenant": "" + } + ], + "id": "menu-099", + "intent": "", + "label": "Hjälp", + "icon": "fa-caret-right", + "tenant": "" + } + ] + }, + { + "id": "apps2", + "intent": "", + "label": "Appar 2", + "functionId": "", + "children": [ + { + "children": [ + { + "id": "apps2-002-001", + "intent": "/content/viewfx.html", + "functionId": "apps2-002-001", + "label": "Visa", + "target": "FX", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps2-002-002", + "intent": "/content/transferfx.html", + "functionId": "apps2-002-002", + "label": "Överföring FX", + "target": "FXHome", + "icon": "fa-exchange-alt", + "tenant": "" + }, + { + "id": "apps2-002-003", + "intent": "/content/travelcard.html", + "functionId": "apps2-002-003", + "label": "Resekort", + "target": "FXHome", + "icon": "fa-money-check-dollar", + "tenant": "" + } + ], + "id": "apps2-002", + "label": "Valutaväxling", + "target": "_blank", + "icon": "fa-wallet", + "tenant": "" + } + ] + }, + { + "id": "apps3", + "intent": "", + "label": "Självbetjäning", + "functionId": "", + "children": [ + { + "children": [ + { + "id": "apps3-001-001", + "intent": "/content/shopping/page1.html", + "functionId": "apps2-002-001", + "label": "Handla 1", + "target": "Shopping", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps3-001-002", + "intent": "/content/shopping/page2.html", + "functionId": "apps2-002-002", + "label": "Handla 2", + "target": "Shopping", + "icon": "fa-money-check-dollar", + "tenant": "" + }, + { + "id": "apps3-001-003", + "intent": "/content/shopping/page3.html", + "functionId": "apps2-002-003", + "label": "Handla 3", + "target": "Shopping", + "icon": "fa-building", + "tenant": "" + } + ], + "id": "apps3-001", + "intent": "/content/shopping/index.html", + "label": "Handla", + "target": "_blank", + "icon": "fa-building", + "tenant": "" + }, + { + "children": [ + { + "id": "apps3-002-001", + "intent": "/content/payments/page1.html", + "functionId": "apps3-002-001", + "label": "Betalningar 1", + "target": "Payments", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps3-002-002", + "intent": "/content/payments/page2.html", + "functionId": "apps3-002-002", + "label": "Betalningar 2", + "target": "Payments", + "icon": "fa-money-check-dollar", + "tenant": "" + }, + { + "id": "apps3-002-003", + "intent": "/content/payments/page3.html", + "functionId": "apps3-002-003", + "label": "Betalningar 3", + "target": "Payments", + "icon": "fa-building", + "tenant": "" + } + ], + "id": "apps3-002", + "intent": "/content/payments/index.html", + "label": "Betalningar", + "target": "_blank", + "icon": "fa-wallet", + "tenant": "" + }, + { + "children": [ + { + "id": "apps3-003-001", + "intent": "/content/health/page1.html", + "functionId": "apps2-002-001", + "label": "Hälsa 1", + "target": "Health", + "icon": "fa-eye", + "tenant": "" + }, + { + "id": "apps3-003-002", + "intent": "/content/health/page2.html", + "functionId": "apps2-002-002", + "label": "Hälsa 2", + "target": "Health", + "icon": "fa-money-check-dollar", + "tenant": "" + }, + { + "id": "apps3-003-003", + "intent": "/content/health/page3.html", + "functionId": "apps2-002-003", + "label": "Hälsa 3", + "target": "Health", + "icon": "fa-building", + "tenant": "" + } + ], + "id": "apps3-003", + "intent": "/content/health/index.html", + "label": "Hälsa", + "target": "_blank", + "icon": "fa-eye", + "tenant": "" + } + ] + } + ] +} \ No newline at end of file