Updated Data model (in progress) (markdown)

Azgaar 2023-09-12 13:12:39 +04:00
parent 169555a196
commit 78a4f43b2a

@ -3,7 +3,7 @@ In this document I would like to outline the expected data structure.
Relevant links:
* [Current data model](https://github.com/Azgaar/Fantasy-Map-Generator/wiki/Data-model)
* [Trello ticket](https://trello.com/c/IWltiMC2/902-rework-save-data-format)
* [Refactro branch contract changes](https://github.com/Azgaar/Fantasy-Map-Generator/pull/842)
* [Refactor branch contract changes](https://github.com/Azgaar/Fantasy-Map-Generator/pull/842)
Structure:
```yaml
@ -31,7 +31,7 @@ Structure:
"heightmap": {
"template": "Volcano",
"isRandom": false,
"isCrecreated": false,
"isPrecreated": false,
"isCustom": false
},
"cultures": {
@ -52,23 +52,38 @@ Structure:
"ratio": 30
},
"burgs": {
"limit": null
"limit": null,
"showMfcgMap": true
},
"religions": {
"limit": 7
},
"labels": {
"autoHide": true,
"rescaleOnZoom": true
},
"notes": {
"pinned": false
},
"showMfcgMap": true,
"scaleBar": {
"size": 2
"label": "",
"position": {
"x": 99,
"y": 99
}
},
"layers": {
"heightmap": false,
"states": true
}
},
"style": {
"scaleBar": {
"size": 2,
"backOpacity": 0.2,
"backColor": "#ffffff",
}
},
"world": {
"name": "Narnia",
"calendar": {
@ -82,10 +97,12 @@ Structure:
"northPole": -30,
"southPole": -25
},
"winds": [],
"winds": [225, 45, 225, 315, 135, 315],
"precipitation": 100
},
"geography": {
"mapSize": 11,
"latitudeShift": 50,
"coordinates": {
"latN": 34
}