JsonSchemaOptions
Defined in: extract/schema.ts:70
Options for JsonSchema.output().
Properties
Section titled “Properties”deduplicate?
Section titled “deduplicate?”
readonlyoptionaldeduplicate:boolean
Defined in: extract/schema.ts:74
Extract repeated sub-schemas into $defs/definitions (default: false)
description?
Section titled “description?”
readonlyoptionaldescription:string
Defined in: extract/schema.ts:80
Set description on root schema
draft?
Section titled “draft?”
readonlyoptionaldraft:"draft-07"|"2019-09"|"2020-12"
Defined in: extract/schema.ts:72
JSON Schema draft version (default: ‘2020-12’)
readonlyoptionalid:string
Defined in: extract/schema.ts:76
Set $id on root schema
title?
Section titled “title?”
readonlyoptionaltitle:string
Defined in: extract/schema.ts:78
Set title on root schema