Prose/data/ENTITY IDENTITY
Prose — Master Entity-Identity Table (L5)
The register of structured canon-as-data. Per SS-LAW-1 the live authoritative canon is the SQL database (
Entities+Records.Json);engine_data/*.jsonis the seed/export mirror. This table maps, per type: the on-disk corpus → its JSON Schema → its stableidderivation → its name/key fields. Registration only — no canon values were rewritten and the files were not relocated (see BIBLE §4.4).
Identity scheme
Stable entity id = <type>.<slug> where slug is the lowercase, hyphen-collapsed form of the entity's name (the same slug the SQL importer writes to Entities.Slug). Three types already carry an explicit opaque hex id on disk and use that verbatim. Cross-references in prose/docs cite the id, never the fields.
Types
Type (EntityType)
|
Corpus dir | Files | Schema | Name/key field | id derivation
|
|---|---|---|---|---|---|
character
|
engine_data/people/
|
200 | character.schema.json | name (+ species)
|
character.<slug(name)>
|
geneware
|
engine_data/geneware/
|
100 | geneware.schema.json | name
|
geneware.<slug(name)>
|
elf
|
engine_data/elfs/
|
107 | elf.schema.json | name
|
elf.<slug(name)>
|
quote
|
engine_data/quotes/
|
512 | quote.schema.json | attribution + source + quote
|
quote.<slug(attribution)>-<hash>
|
document
|
engine_data/documents/
|
157 | document.schema.json | file_name / title
|
document.<file_name>
|
lab_specimen
|
engine_data/lab_specimens/
|
52 | lab_specimen.schema.json | name (has on-disk id)
|
on-disk hex id
|
psionic
|
engine_data/psionics/
|
5 | psionic.schema.json | name (has on-disk id)
|
on-disk hex id
|
transportation
|
engine_data/transportation/
|
100 | transportation.schema.json | name
|
transportation.<slug(name)>
|
wasteland_entity
|
engine_data/wasteland_entities/
|
6 | wasteland_entity.schema.json | name (has on-disk id)
|
on-disk hex id
|
engine_data/archives/ceramic_men/ (4 files) is an archived sub-corpus and is intentionally not registered as a live type.
Notes
- The full ~28-type canon lives in SQL; this table registers only the structured types that have an on-disk seed corpus under
engine_data/. Other types (places, factions, weapons, materials, …) are DB-native and described in BIBLE.md §4.2. - Schemas are descriptive (
additionalProperties: true) so they register existing shapes without rejecting valid canon. They are not a migration; canon values are untouched. - The
id-on-import phase (stamping<type>.<slug>ontoEntities.Slugso on-disk ↔ DB ↔ doc ids are one value) is RFC 0001 phase 2, future.