feat(foundry): close the operational map data loop

This commit is contained in:
Codex
2026-07-20 20:45:05 +03:00
parent aac44d057f
commit a02c3ff3dd
44 changed files with 4158 additions and 811 deletions
@@ -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" }
}
}
}
}
}
}
}