GraphSchemaNodeType
One selectable node type and the field vocabularies it supports. The three field lists are different sets, so a field appearing in one does not imply the others; fieldValues carries the values of those selectable fields whose value set is closed, and identity states the spellings a caller reads back and writes.
Properties
nameenum requiredThe node type name, usable as anchor.nodeType.Values:resource,stackselectableFieldsarray[string] requiredField names usable in anchor match.fields predicates for this node type. This is the widest of the three vocabularies.projectableFieldsarray[string] requiredField names usable in return.fields projections, and — for node types that carry a document — in a traverse step’s target.match. Naming a field outside this list returns a 400.groupByFieldsarray[string] requiredField names usable in aggregate.groupBy for this node type. Naming a field outside this list returns a 400. Empty for node types that cannot be aggregated.identitystring requiredHow a node of this type is identified in a response and how a selector names one. For stacks the two spellings differ, and the field lists cannot say so: they name fields, never formats.fieldValuesmap[string]array requiredFor the subset of selectableFields whose values are a fixed, closed set defined in code, the values themselves, keyed by field name. Absence from this map means no fixed set is advertised, not that the field has none; where such a field also appears in groupByFields, aggregate on it to discover its values.