Skip to main content

Module schema

Module schema 

Source
Expand description

Schema records: the OpenSPG-compatible type declarations that a .ant file can carry as schema_type records.

Structs§

PropertyDef
A property declaration on a SchemaType.
RelationDef
A relation (edge type) declaration on a SchemaType.
Schema
A whole schema: every declared type, keyed by qualified name.
SchemaType
One declared type: kind, qualified name, properties, relations.

Enums§

IndexKind
How a property is indexed for retrieval.
SpgTypeKind
OpenSPG type kind, serialized in SCREAMING_SNAKE_CASE on the wire.
ValueType
Declared value type of a property.

Functions§

qualify
Convenience: namespace-qualify an unqualified label (Deal) into Antares.Deal using the project’s namespace.