diff --git a/Data-model.md b/Data-model.md index 6986e12..c631a26 100644 --- a/Data-model.md +++ b/Data-model.md @@ -105,7 +105,7 @@ Cultures (races, language zones) data is stored as an array of objects with stri * `i`: `number` - culture id, always equal to the array index * `base`: `number` - _nameBase_ id, name base is used for names generation * `name`: `string` - culture name -* `origin`: `number` - origin culture id. Used to render cultures tree to show cultures evolution +* `origins`: `number[]` - ids of origin cultures. Used to render cultures tree to show cultures evolution. The first array member is main link, other - supporting out-of-tree links * `shield`: `string` - shield type. Used for emblems rendering * `center`: `number` - cell id of culture center (initial cell) * `code`: `string` - culture name abbreviation. Used to render cultures tree @@ -197,7 +197,7 @@ Religions data is stored as an array of objects with strict element order. Eleme * `deity`: `string` - religion supreme deity if any * `color`: `string` - religion color in hex (e.g. `#45ff12`) or link to hatching pattern (e.g. `url(#hatch7)`) * `code`: `string` - religion name abbreviation. Used to render religions tree -* `origin`: `number` - if of ancestor religion. `0` if religion is folk and doesn't have an ancestor +* `origins`: `number[]` - ids of ancestor religions. `[0]` if religion doesn't have an ancestor. Used to render religions tree. The first array member is main link, other - supporting out-of-tree links * `center`: `number` - cell id of religion center (initial cell) * `culture`: `number` - if of religion original culture * `pole`: `number[]` - state pole of inaccessibility (visual center) coordinates, see [the concept description](https://blog.mapbox.com/a-new-algorithm-for-finding-a-visual-center-of-a-polygon-7c77e6492fbc?gi=6bd4fcb9ecc1)