Updated Data model (in progress) (markdown)

Azgaar 2024-09-08 15:39:15 +02:00
parent 135559347f
commit 10e5a90aa5

@ -6,19 +6,24 @@ Relevant links:
* [Refactor 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: Structure:
```yaml ```json
{ {
"meta": { "meta": {
"copyright": "Azgaar's Fantasy Map Generator", "copyright": "Azgaar's Fantasy Map Generator",
"license": "MIT", "license": "MIT",
"source": "http://azgaar.github.io/Fantasy-Map-Generator", "source": "http://azgaar.github.io/Fantasy-Map-Generator",
"seed": "342342342323", "seed": "342342342323",
"createdOn": "2023-09-11T23:36:17.227Z", "initial": {
"updatedOn": "2023-09-11T23:42:31.748Z", "timestamp": "2023-09-11T23:36:17.227Z",
"revision": 2, "version": "2.1.12",
"initialVersion": "1.91.12", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
"currentVersion": "1.93.03", },
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" "current": {
"timestamp": "2025-02-15T14:42:31.748Z",
"version": "2.126.3",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)",
"revision": 124
}
}, },
"settings": { "settings": {
"graph": { "graph": {
@ -70,16 +75,11 @@ Structure:
"y": 99 "y": 99
} }
}, },
"layers": { "military": {
"heightmap": false, "units": {
"states": true "0": {
"name": "infantry"
} }
},
"style": {
"scaleBar": {
"size": 2,
"backOpacity": 0.2,
"backColor": "#ffffff",
} }
}, },
"world": { "world": {
@ -95,7 +95,14 @@ Structure:
"northPole": -30, "northPole": -30,
"southPole": -25 "southPole": -25
}, },
"winds": [225,45,225,315,135,315], "winds": [
225,
45,
225,
315,
135,
315
],
"precipitation": 100 "precipitation": 100
}, },
"geography": { "geography": {
@ -105,7 +112,7 @@ Structure:
"latN": 34 "latN": 34
} }
}, },
"measurements": { "units": {
"distance": { "distance": {
"unit": "m", "unit": "m",
"scale": 3 "scale": 3
@ -129,52 +136,76 @@ Structure:
"density": 10 "density": 10
} }
} }
},
"rulers": {
"0": {
"i": 0,
"type": "ruler",
"points": [[0,0],[642,17]],
} }
}, },
"military": { "layers": {
"units": { "heightmap": false,
"0": { "states": true
"name": "infantry"
}
} }
}, },
"biomes": { "style": {
"0": { "scaleBar": {
"name": "Marine", "size": 2,
"isCustom": false "backOpacity": 0.2,
} "backColor": "#ffffff"
},
"states": {
"0": {},
"1": {}
},
"notes": {
"0": {}
} }
}, },
"data": {
"grid": { "grid": {
"cells": { "cells": {
"i": [], "i": [],
"temp": [] "temp": []
}, },
"vertices": { "vertices": {
"c": [[]] "c": [
[]
]
} }
}, },
"pack": { "pack": {
"cells": { "cells": {
"i": [], "i": [],
"g": [], "g": [],
"states": [] "state": [],
"culture": []
}, },
"vertices": { "vertices": {
"c": [[]] "c": [
[]
]
}
},
"biomes": {
"0": {
"name": "Marine",
"isCustom": false,
"cells": 354
},
"1": {}
},
"states": {
"0": {},
"1": {}
},
"cultures": {},
"notes": {
"0": {}
},
"rulers": {
"0": {
"i": 0,
"type": "ruler",
"points": [
[
0,
0
],
[
642,
17
]
]
}
} }
} }
} }