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 | |
---|
1 | import type {Vocabulary} from "../../types"
|
---|
2 | import refKeyword from "./ref"
|
---|
3 | import typeKeyword, {JTDTypeError} from "./type"
|
---|
4 | import enumKeyword, {JTDEnumError} from "./enum"
|
---|
5 | import elements, {JTDElementsError} from "./elements"
|
---|
6 | import properties, {JTDPropertiesError} from "./properties"
|
---|
7 | import optionalProperties from "./optionalProperties"
|
---|
8 | import discriminator, {JTDDiscriminatorError} from "./discriminator"
|
---|
9 | import values, {JTDValuesError} from "./values"
|
---|
10 | import union from "./union"
|
---|
11 | import metadata from "./metadata"
|
---|
12 |
|
---|
13 | const 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 |
|
---|
29 | export default jtdVocabulary
|
---|
30 |
|
---|
31 | export type JTDErrorObject =
|
---|
32 | | JTDTypeError
|
---|
33 | | JTDEnumError
|
---|
34 | | JTDElementsError
|
---|
35 | | JTDPropertiesError
|
---|
36 | | JTDDiscriminatorError
|
---|
37 | | JTDValuesError
|
---|
Note:
See
TracBrowser
for help on using the repository browser.