source: trip-planner-front/node_modules/ajv/lib/vocabularies/jtd/index.ts@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1007 bytes
Line 
1import type {Vocabulary} from "../../types"
2import refKeyword from "./ref"
3import typeKeyword, {JTDTypeError} from "./type"
4import enumKeyword, {JTDEnumError} from "./enum"
5import elements, {JTDElementsError} from "./elements"
6import properties, {JTDPropertiesError} from "./properties"
7import optionalProperties from "./optionalProperties"
8import discriminator, {JTDDiscriminatorError} from "./discriminator"
9import values, {JTDValuesError} from "./values"
10import union from "./union"
11import metadata from "./metadata"
12
13const jtdVocabulary: Vocabulary = [
14 "definitions",
15 refKeyword,
16 typeKeyword,
17 enumKeyword,
18 elements,
19 properties,
20 optionalProperties,
21 discriminator,
22 values,
23 union,
24 metadata,
25 {keyword: "additionalProperties", schemaType: "boolean"},
26 {keyword: "nullable", schemaType: "boolean"},
27]
28
29export default jtdVocabulary
30
31export type JTDErrorObject =
32 | JTDTypeError
33 | JTDEnumError
34 | JTDElementsError
35 | JTDPropertiesError
36 | JTDDiscriminatorError
37 | JTDValuesError
Note: See TracBrowser for help on using the repository browser.