Hyperlinkv0.8.0-beta.28

Schema

Schema.toRepresentationfunctioneffect/Schema.ts:13325
(schema: Constraint): SchemaRepresentation.Document

Derives an intermediate SchemaRepresentation.Document from a schema. This document is used internally by toJsonSchemaDocument and related functions to produce JSON Schema output.

RepresentationtoJsonSchemaDocument
export function toRepresentation(schema: Constraint): SchemaRepresentation.Document {
  return InternalStandard.fromAST(schema.ast)
}
Referenced by 1 symbols