menu

destack:schema

import destack:schema

Classes

  1. SchemaRuntime schema graph for T.

Structs

  1. AttributeSchema attribute.
  2. IssueSchema validation issue.
  3. LengthConstraintLength constraint for strings and indexed collections.
  4. PatternConstraintPattern constraint for strings.
  5. RangeConstraintRange constraint for ordered scalar values.
  6. RefinementConstraintUser-defined refinement constraint.
  7. SchemaDefinitionSchema definition.
  8. SchemaElementSchema element.
  9. SchemaFieldSchema field.
  10. ValidationErrorSchema validation error.

Enums

  1. IssueCodeSchema issue code.
  2. SchemaKindSchema graph node kind.

Newtypes

  1. ConstraintSchema constraint.

Newtype interfaces

  1. RefinementRuntime schema refinement.

Type aliases

  1. AttributeValueSchema attribute value.
  2. PathPath inside a validated value.
  3. PathSegmentPath segment inside a validated value.

Functions

  1. fromTypeCreate a schema from reflected type metadata.
  2. isReturn true when value satisfies schema.
  3. issuesReturn validation issues for value.
  4. schemaReturn the reflected schema for T.
  5. validateValidate value against schema.