feat(foundry): close the operational map data loop
This commit is contained in:
@@ -64,6 +64,91 @@
|
||||
"features": {
|
||||
"type": "object",
|
||||
"additionalProperties": { "type": "boolean" }
|
||||
},
|
||||
"layout": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"map": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dataProductBindings": {
|
||||
"type": "array",
|
||||
"maxItems": 64,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": { "type": "string", "minLength": 1 },
|
||||
"displayName": { "type": "string", "minLength": 1, "maxLength": 120 },
|
||||
"order": { "type": "integer", "minimum": 0, "maximum": 10000 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"subjectStates": {
|
||||
"type": "array",
|
||||
"maxItems": 64,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["bindingId", "visible", "filters", "window"],
|
||||
"properties": {
|
||||
"bindingId": { "type": "string", "minLength": 1 },
|
||||
"visible": { "type": "boolean" },
|
||||
"filters": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": { "type": "string" }
|
||||
}
|
||||
},
|
||||
"window": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["open", "rect", "maximized", "zIndex"],
|
||||
"properties": {
|
||||
"open": { "type": "boolean" },
|
||||
"rect": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["x", "y", "width", "height"],
|
||||
"properties": {
|
||||
"x": { "type": "number" },
|
||||
"y": { "type": "number" },
|
||||
"width": { "type": "number", "minimum": 200 },
|
||||
"height": { "type": "number", "minimum": 160 }
|
||||
}
|
||||
},
|
||||
"maximized": { "type": "boolean" },
|
||||
"zIndex": { "type": "integer", "minimum": 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"designOverrides": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"map": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"settings": {
|
||||
"type": "object",
|
||||
"additionalProperties": { "type": ["string", "number", "boolean"] }
|
||||
},
|
||||
"presentationProfiles": {
|
||||
"type": "array",
|
||||
"items": { "type": "object" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,6 +101,12 @@
|
||||
"lensCount": { "type": "integer", "minimum": 1, "maximum": 12 },
|
||||
"autoHide": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"pageTypes": {
|
||||
"type": "object",
|
||||
"maxProperties": 64,
|
||||
"propertyNames": { "pattern": "^[a-z0-9-]+@[0-9]+\\.[0-9]+\\.[0-9]+$" },
|
||||
"additionalProperties": { "$ref": "#/$defs/mapPageFragment" }
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -129,6 +135,25 @@
|
||||
"fieldOpacity": { "$ref": "#/$defs/percent" },
|
||||
"nestedHex": { "$ref": "#/$defs/hex" }
|
||||
}
|
||||
},
|
||||
"mapPageFragment": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "templateId", "templateVersion", "settings", "presentationProfiles"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"templateId": { "const": "map" },
|
||||
"templateVersion": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" },
|
||||
"settings": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": { "type": ["string", "number", "boolean"] }
|
||||
},
|
||||
"presentationProfiles": {
|
||||
"type": "array",
|
||||
"items": { "type": "object" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user