hexo/node_modules/ajv/lib/vocabularies/jtd/index.ts

31 lines
780 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
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