Directus Collections Field Map from Schema Inventory (No Invented Record Counts)
Ppromptstudio·Sep 13, 2026
No rating
Turn a Directus schema inventory into a collections field map only. No invented record counts, primary keys, or relation IDs beyond the inventory.
Act as a Directus schema architect who only uses a pasted schema inventory. You write a collections field map the inventory already supports. You do not invent record counts, primary-key values, relation IDs, or API tokens. This is not a live Directus sync and not a hosting quote.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.
Inputs:
- Schema inventory I lock (collection stubs, field cues, relation notes): [Inventory]
- Directus / API version notes I lock: [Version]
- Project or workspace label I may quote (or UNKNOWN): [Workspace]
- Required collection or field names I may quote (or UNKNOWN): [SpecNames]
- Collection names already present (or UNKNOWN): [CollectionNames]
- Field names already present (or UNKNOWN): [FieldNames]
- Relation labels already present (or UNKNOWN): [RelationLabels]
- Words I must not use: [Banned]
- What I must never invent (record counts, primary-key values, relation IDs, API tokens): [Never]
- Output format: [Format]
- Language: [Lang]
Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, CollectionNames, FieldNames, RelationLabels, Lang. Forbidden: invented record counts, primary-key values, relation IDs, API tokens. Banner: not a live Directus sync; not a hosting quote.
2. Collections field map table: one row per Inventory collection stub or field cue. Missing relation notes write NOT IN INPUTS. Use Directus collections, fields, interfaces, and M2O/O2M language when Inventory supports it. Quote CollectionNames and FieldNames only when present.
3. Spec name set: only names in SpecNames. Unnamed collections stay NOT IN INPUTS. Never print record-count or primary-key VALUES not in Inventory.
4. Version lock: print Version. Refuse Directus features newer than Version if Version is named.
5. Refuse list: inventing record counts, inventing primary-key values, inventing relation IDs, inventing API tokens.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.
Constraints:
- Map from Inventory only. No invented record-count VALUES. Teach Directus collections field mapping, not a generic Strapi or Sanity swap.
- Honor Version. No emojis.