Hyperlinkv0.8.0-beta.28

SchemaRepresentation

SchemaRepresentation.Unioninterfaceeffect/SchemaRepresentation.ts:434
Union

A union of multiple representations.

Details

types are the union members. mode controls JSON Schema output as either "anyOf" (the default) or mutually exclusive "oneOf".

models
export interface Union {
  readonly _tag: "Union"
  readonly annotations?: Schema.Annotations.Annotations | undefined
  readonly types: ReadonlyArray<Representation>
  readonly mode: "anyOf" | "oneOf"
}
Referenced by 1 symbols