abp-blueprint
Version:
RoadieJS blueprint to support Ordnance Survey's AddressBase Premium
130 lines (120 loc) • 2.41 kB
JSON
[
{
"element": "ui",
"id": "classificationUi",
"config": {
"title": "Classification"
}
},
{
"element": "widget",
"id": "modal",
"path": "classificationUi",
"config": {
"widgetType": "modal",
"heading": "Classification",
"controlScheme": "simple"
}
},
{
"element": "widget",
"id": "classKey",
"path": "classificationUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "Key"
},
"dataPath": "classKey"
}
},
{
"element": "widget",
"id": "class",
"path": "classificationUi.modal",
"config": {
"widgetType": "lookup",
"widgetSubType": "single",
"placeholder": "Class",
"singular": "class",
"field": "classificationCode ",
"schema": "classificationCodes",
"required": true,
"prompt": {
"text": "Classification"
}
}
},
{
"element": "widget",
"id": "classScheme",
"path": "classificationUi.modal",
"config": {
"widgetType": "text",
"prompt": {
"text": "Scheme"
},
"dataPath": "classScheme"
}
},
{
"element": "widget",
"id": "schemeVersion",
"path": "classificationUi.modal",
"config": {
"widgetType": "number",
"prompt": {
"text": "Scheme version"
},
"dataPath": "schemeVersion"
}
},
{
"element": "widget",
"id": "classificationStartDate",
"path": "classificationUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "Start date"
},
"dataPath": "startDate"
}
},
{
"element": "widget",
"id": "classificationEndDate",
"path": "classificationUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "End date"
},
"dataPath": "endDate"
}
},
{
"element": "widget",
"id": "classificationLastUpdateDate",
"path": "classificationUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "Last update"
},
"dataPath": "lastUpdateDate"
}
},
{
"element": "widget",
"id": "classificationEntryDate",
"path": "classificationUi.modal",
"config": {
"widgetType": "date",
"prompt": {
"text": "Entry date"
},
"dataPath": "entryDate"
}
}
]