mirror of https://github.com/jkjoy/sunpeiwen.git
31 lines
810 B
TypeScript
31 lines
810 B
TypeScript
import type {Vocabulary} from "../../types"
|
|
// import definitions from "./definitions"
|
|
import refKeyword from "./ref"
|
|
import typeKeyword from "./type"
|
|
import enumKeyword from "./enum"
|
|
import elements from "./elements"
|
|
import properties from "./properties"
|
|
import optionalProperties from "./optionalProperties"
|
|
import discriminator from "./discriminator"
|
|
import values from "./values"
|
|
import union from "./union"
|
|
import metadata from "./metadata"
|
|
|
|
const jtdVocabulary: Vocabulary = [
|
|
"definitions",
|
|
refKeyword,
|
|
typeKeyword,
|
|
enumKeyword,
|
|
elements,
|
|
properties,
|
|
optionalProperties,
|
|
discriminator,
|
|
values,
|
|
union,
|
|
metadata,
|
|
{keyword: "additionalProperties", schemaType: "boolean"},
|
|
{keyword: "nullable", schemaType: "boolean"},
|
|
]
|
|
|
|
export default jtdVocabulary
|