Modules§
- authority
- Provides a way to construct
DocumentAuthority
. - isl
- Provides a way to construct ISL types/constraints programmatically.
- result
- Represents the
IonSchemaResult
type for error handling. - schema
- Represents a
Schema
which is collection of zero or moreTypeDefinition
s. Provides functions to get the underlyingTypeDefinition
s from theSchema
that can be used to validate an Ion value. - system
- Provides functions for getting instances of
Schema
usingSchemaSystem
. - types
- violation
Macros§
- assert_
equivalent_ violations - Equivalence for
Violation
s is not supported due to its tree structure of having children violations. This macro can be used for comparing if two violations are equal and usesflattened_violations
for the comparison. - assert_
non_ equivalent_ violations - Equivalence for
Violation
s is not supported due to its tree structure of having children violations. This macro can be used for comparing if two violations are not equal and usesflattened_violations
for the comparison. - isl_
require - A macro that checks some condition required to be valid ISL.
Structs§
- Document
Hint - Marker type to indicate that a sequence of Element should be validated as a
document
. - IonSchema
Element - Represents a value that can be validated by Ion Schema.
- User
Reserved Fields