Setting the file. One moment.
Subchapter 44.67
domains/README.mdMarkdown2 KBView on GitHub
This directory is the compact, machine-readable knowledge base for Wix target entity
suitability. Domain and entity files are the source of truth. index.json is generated
from those files and checked in so mapper/codegen lookups stay token-cheap.
Authoring or materially editing entities in a domain starts with the domain’s full docs menu, never a keyword hit:
domain.json docsRoots[]
(paths under https://dev.wix.com/docs/, e.g. api-reference/business-solutions/events).
A domain may span several roots (stores also owns the Coupons and Business Management → Tags
trees).node scripts/docs-survey-sync.js <domain> — it fetches each root’s .md menu page and
writes the surface list into domains/<domain>/docs-survey.json. New surfaces arrive as
unreviewed, which fails validation.claimed (with refs[] that must resolve),
not-importable (reason required), not-relevant (reason required), or gap
(reason + tracking required). Every verdict carries reviewedOn.native / native-plus-cms must cite its …-object docs page in
evidence[] — the field-level facts live on the object, not the method list. A surface with
no object page anywhere (e.g. Comments, which has no REST reference) declares
objectPageException with the reason.The validator enforces all of it; a domain with entities and no survey fails the build.
domains/<domain>/ subtree when changing domain-owned facts.preferredWrite.writerId only for exported functions from
rp-target-wix/lib/wix-writers.js. Use null for direct REST plans, setup work, or
unsupported native gaps.IMPORT_UNRELIABLE in
reliability.flags[]. Field-level lossiness belongs in pitfalls[].node skills/wix-replatform/resources/rp-target-wix/scripts/domain-knowledge-validate.js --write-index