ReadonlyfieldsThe default/example value for every field, declaring the capability's shape.
Optional ReadonlygettersNamed getter operations, keyed by the name they're called/documented under.
Optional ReadonlymutatorsNamed mutator operations, keyed by the name they're called/documented under.
Optional ReadonlysubscriptionsNamed subscription operations, keyed by the name they're called/documented under.
The full schema shape both
buildDataand the runtime'screateDataaccept -- each reads only the part it needs (buildDataonly ever readsfields; agetters/mutators/subscriptionssection on the same object is simply ignored by it).documentDataaccepts this same shape so onedocumentData(schema, docs)call documents whichever of the two a given schema is ultimately passed to.