source: trip-planner-front/node_modules/ajv/lib/vocabularies/jtd/union.ts@ 6c1585f

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

initial commit

  • Property mode set to 100644
File size: 292 bytes
Line 
1import type {CodeKeywordDefinition} from "../../types"
2import {validateUnion} from "../code"
3
4const def: CodeKeywordDefinition = {
5 keyword: "union",
6 schemaType: "array",
7 trackErrors: true,
8 code: validateUnion,
9 error: {message: "must match a schema in union"},
10}
11
12export default def
Note: See TracBrowser for help on using the repository browser.