feat(foundry): close the operational map data loop
This commit is contained in:
@@ -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