lib/compile/jtd/types.ts
raw| 1 | import type {SchemaObject} from "../../types" |
| 2 | |
| 3 | export type SchemaObjectMap = {[Ref in string]?: SchemaObject} |
| 4 | |
| 5 | export const jtdForms = [ |
| 6 | "elements", |
| 7 | "values", |
| 8 | "discriminator", |
| 9 | "properties", |
| 10 | "optionalProperties", |
| 11 | "enum", |
| 12 | "type", |
| 13 | "ref", |
| 14 | ] as const |
| 15 | |
| 16 | export type JTDForm = (typeof jtdForms)[number] |