Updated Data model (markdown)

Azgaar 2023-01-12 13:49:47 -08:00
parent 3a3e536c9f
commit d3a965803a

@ -174,7 +174,7 @@ States (countries) data is stored as an array of objects with strict element ord
* `removed`: `boolean` - `true` if state is removed * `removed`: `boolean` - `true` if state is removed
## Provinces ## Provinces
Provinces data is stored as an array of objects with strict element order. Element 0 is not used. If province is removed, the element is not getting removed, but instead a `removed` attribute is added. Object structure: Provinces data is stored as an array of objects with strict element order. Element 0 is not used. If religion is removed, the element is not getting removed, but instead a `removed` attribute is added. Object structure:
* `i`: `number` - province id, always equal to the array index * `i`: `number` - province id, always equal to the array index
* `name`: `string` - short (proper) form of the province name * `name`: `string` - short (proper) form of the province name
* `formName`: `string` - string form name, used to get province `fullName` * `formName`: `string` - string form name, used to get province `fullName`