1import * as Schema from "effect/Schema"
2import * as SchemaRepresentation from "effect/SchemaRepresentation"
3
4const schema = Schema.Struct({
5 a: Schema.String,
6 b: Schema.optional(Schema.FiniteFromString),
7 c: Schema.Array(Schema.String)
8})
9
10export const document = SchemaRepresentation.toCodeDocument(SchemaRepresentation.toRepresentations([schema.ast]))