Versions in this module Expand all Collapse all v1 v1.0.0 Jun 10, 2022 Changes in this version + type Schema struct + func FromFile(f *fs.File) *Schema + func New(name string, content []byte) *Schema + func (*Schema) AddRule(string, jschema.Rule) error + func (*Schema) AddType(string, jschema.Schema) error + func (*Schema) UsedUserTypes() ([]string, error) + func (*Schema) Validate(jschema.Document) error + func (s *Schema) Check() error + func (s *Schema) Example() ([]byte, error) + func (s *Schema) GetAST() (jschema.ASTNode, error) + func (s *Schema) Len() (uint, error) + func (s *Schema) Pattern() (string, error)