Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2026 Changes in this version + func CheckLock(s *Schema, lockPath string) error + func SortedPropertyNames(props map[string]Property) []string + func WriteLock(s *Schema, lockPath string) error + type EdgeType struct + From string + Name string + Properties map[string]Property + To string + type NodeType struct + Name string + Properties map[string]Property + type PropType string + const PropTypeBool + const PropTypeFloat + const PropTypeInt + const PropTypeString + type Property struct + Name string + Required bool + Type PropType + type Schema struct + Edges map[string]*EdgeType + Nodes map[string]*NodeType + func Load(path string) (*Schema, error) + func Parse(data []byte) (*Schema, error) + func (s *Schema) EdgeTypeID(name string) (uint16, bool) + func (s *Schema) LabelID(name string) (uint16, bool) + func (s *Schema) SortedEdgeNames() []string + func (s *Schema) SortedNodeNames() []string + func (s *Schema) Validate() error