document library

Classes

ValidationError
A base class for validation errors

Enums

ValidationRule
Available validation rules

Functions

validate(Node node, Set<ValidationRule> rules) List<ValidationError>
Validates a node given a Set of ValidationRules
validateOperation(Node operation) List<ValidationError>
Validates an operation without knowing anything about the schema
validateRequest(DocumentNode schema, DocumentNode operation) List<ValidationError>
Validates an operation in the context of schema
validateSchema(Node schema) List<ValidationError>
Validates a schema