| %doc | "Source-of-truth manifest of the structured data Module:Company stores: the values p.getStructuredData collects, shaped into the Bucket rows p.bucketRows builds via Module:Entity/StructuredData.shape. Multi-value fields are SEMICOLON-separated. Page-type properties (Founder, Subsidiaries, Area served, Parent company, Predecessor, Successor) store the wikilink TARGET(s); the list-valued ones (Founder, Subsidiaries, Area served, Predecessor, Successor) are semicolon-split into one value per item. Headquarters stores one star system per HQ: the last wikilink of each semicolon-separated HQ segment (convention 'place, ..., system'). Area served stores every served place (each semicolon item's link target, not collapsed to system); fill it only when narrower than the whole UEE (a bare 'United Empire of Earth' carries no signal). Industry/Products store the per-item delink + lcfirst display label, semicolon-split. Founded is the clean year (the module renders the date via {{Start date and age}} for display only). Display-only fields (Key people, Fate, Defunct, Formerly, Allies, Rivals) are intentionally absent. Also the source of the `company` Bucket schema and, for Name/Subject type/Image, three fields of the shared `entity` Bucket schema (merged with Module:Entity/properties.json's own `entity` entries at generation time; the two definitions of a shared field must agree on type/index/repeated); type/bucket/field/index/repeated are the Bucket keys. Subject type is a source-free constant (no source key); its default fires on every Company page, marking the page subject so companies are queryable cross-module on the shared `entity` bucket's subject_type column. %kinds routes Company to entity+company the same way Module:Entity/properties.json routes each Entity kind, for tests/manifest.lua's bucket-limit checks." |
|---|
| %kinds | |
|---|
| Subject type | | type | "TEXT" |
|---|
| bucket | "entity" |
|---|
| field | "subject_type" |
|---|
| index | true |
|---|
| default | "Company" |
|---|
|
|---|
| Name | | type | "TEXT" |
|---|
| bucket | "entity" |
|---|
| field | "name" |
|---|
| source | "name" |
|---|
|
|---|
| Image | | type | "TEXT" |
|---|
| bucket | "entity" |
|---|
| field | "image" |
|---|
| source | "image" |
|---|
| desc | "Infobox image filename without the File: prefix, the value PageImages picks as the page image." |
|---|
|
|---|
| Industry | | type | "TEXT" |
|---|
| bucket | "company" |
|---|
| field | "industry" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "industry" |
|---|
| transform | "textList" |
|---|
|
|---|
| Products | | type | "TEXT" |
|---|
| bucket | "company" |
|---|
| field | "products" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "products" |
|---|
| transform | "textList" |
|---|
|
|---|
| Manufacturer code | | type | "TEXT" |
|---|
| bucket | "company" |
|---|
| field | "manufacturer_code" |
|---|
| index | true |
|---|
| source | "code" |
|---|
|
|---|
| Race | | type | "TEXT" |
|---|
| bucket | "company" |
|---|
| field | "race" |
|---|
| index | true |
|---|
| source | "race" |
|---|
| default | "Human" |
|---|
|
|---|
| Headquarters | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "headquarters" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "headquarters" |
|---|
| transform | "hqSystems" |
|---|
|
|---|
| Area served | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "area_served" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "areaserved" |
|---|
| transform | "pageList" |
|---|
|
|---|
| Founder | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "founder" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "founder" |
|---|
| transform | "pageList" |
|---|
|
|---|
| Founded | | type | "TEXT" |
|---|
| bucket | "company" |
|---|
| field | "founded" |
|---|
| index | true |
|---|
| source | "founded" |
|---|
|
|---|
| Parent company | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "parent_company" |
|---|
| source | "parent" |
|---|
| transform | "page" |
|---|
|
|---|
| Subsidiaries | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "subsidiaries" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "subsidiaries" |
|---|
| transform | "pageList" |
|---|
|
|---|
| Predecessor | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "predecessor" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "predecessor" |
|---|
| transform | "pageList" |
|---|
|
|---|
| Successor | | type | "PAGE" |
|---|
| bucket | "company" |
|---|
| field | "successor" |
|---|
| index | true |
|---|
| repeated | true |
|---|
| source | "successor" |
|---|
| transform | "pageList" |
|---|
|
|---|