abp-blueprint
Version:
RoadieJS blueprint to support Ordnance Survey's AddressBase Premium
309 lines (292 loc) • 5.57 kB
JSON
[
{
"element": "ui",
"id": "lpiUi",
"config": {
"title": "LPI"
}
},
{
"element": "widget",
"id": "modal",
"path": "lpiUi",
"config": {
"widgetType": "modal",
"heading": "Land and Property Identifier",
"controlScheme": "simple"
}
},
{
"element": "widget",
"id": "lpiKey",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "Key"
},
"dataPath": "lpiKey"
}
},
{
"element": "widget",
"id": "language",
"path": "lpiUi.modal",
"config": {
"widgetType": "select",
"prompt": {
"text": "Language"
},
"listId": "languageCodes",
"dataPath": "language"
}
},
{
"element": "widget",
"id": "logicalStatus",
"path": "lpiUi.modal",
"config": {
"widgetType": "select",
"prompt": {
"text": "Logical status"
},
"listId": "logicalStatusCodes",
"dataPath": "logicalStatus"
}
},
{
"element": "widget",
"id": "lpiStartDate",
"path": "lpiUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "Start date"
},
"dataPath": "startDate"
}
},
{
"element": "widget",
"id": "lpiEndDate",
"path": "lpiUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "End date"
},
"dataPath": "endDate"
}
},
{
"element": "widget",
"id": "lpiLastUpdateDate",
"path": "lpiUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "Last update"
},
"dataPath": "lastUpdateDate"
}
},
{
"element": "widget",
"id": "lpiEntryDate",
"path": "lpiUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "Entry date"
},
"dataPath": "entryDate"
}
},
{
"element": "widget",
"id": "saoStartNumber",
"path": "lpiUi.modal",
"config": {
"widgetType": "number",
"prompt": {
"text": "SAO start number"
},
"dataPath": "saoStartNumber"
}
},
{
"element": "widget",
"id": "saoStartPrefix",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "SAO start prefix"
},
"dataPath": "saoStartPrefix"
}
},
{
"element": "widget",
"id": "saoEndNumber",
"path": "lpiUi.modal",
"config": {
"widgetType": "number",
"prompt": {
"text": "SAO end number"
},
"dataPath": "saoEndNumber"
}
},
{
"element": "widget",
"id": "saoEndPrefix",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "SAO end prefix"
},
"dataPath": "saoEndPrefix"
}
},
{
"element": "widget",
"id": "saoText",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "SAO text"
},
"dataPath": "saoText"
}
},
{
"element": "widget",
"id": "paoStartNumber",
"path": "lpiUi.modal",
"config": {
"widgetType": "number",
"prompt": {
"text": "PAO start number"
},
"dataPath": "paoStartNumber"
}
},
{
"element": "widget",
"id": "paoStartPrefix",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "PAO start prefix"
},
"dataPath": "paoStartPrefix"
}
},
{
"element": "widget",
"id": "paoEndNumber",
"path": "lpiUi.modal",
"config": {
"widgetType": "number",
"prompt": {
"text": "PAO end number"
},
"dataPath": "paoEndNumber"
}
},
{
"element": "widget",
"id": "paoEndPrefix",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "PAO end prefix"
},
"dataPath": "paoEndPrefix"
}
},
{
"element": "widget",
"id": "paoText",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "PAO text"
},
"dataPath": "paoText"
}
},
{
"element": "widget",
"id": "class",
"path": "lpiUi.modal",
"config": {
"widgetType": "lookup",
"widgetSubType": "single",
"placeholder": "Street",
"singular": "street",
"field": "usrn",
"schema": "streets",
"required": true,
"prompt": {
"text": "Street"
}
}
},
{
"element": "widget",
"id": "usrnMatchIndicator",
"path": "lpiUi.modal",
"config": {
"widgetType": "select",
"prompt": {
"text": "Street match"
},
"listId": "usrnMatchIndicatorCodes",
"dataPath": "usrnMatchIndicator"
}
},
{
"element": "widget",
"id": "areaName",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "Area name"
},
"dataPath": "areaName"
}
},
{
"element": "widget",
"id": "level",
"path": "lpiUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "Level"
},
"dataPath": "level"
}
},
{
"element": "widget",
"id": "officialFlag",
"path": "lpiUi.modal",
"config": {
"widgetType": "select",
"prompt": {
"text": "Official?"
},
"listId": "officialFlagCodes",
"dataPath": "officialFlag"
}
}
]