diff --git a/packages/dmn-runner/src/ajv.ts b/packages/dmn-runner/src/ajv.ts index a11e634c2f4..7d23ade1fda 100644 --- a/packages/dmn-runner/src/ajv.ts +++ b/packages/dmn-runner/src/ajv.ts @@ -50,7 +50,7 @@ import { * ajv: 'date-time' * dmn: 'date and time' */ -enum DmnAjvSchemaFormat { +export enum DmnAjvSchemaFormat { DATE = "date", TIME = "time", DATE_TIME = "date-time", diff --git a/packages/dmn-runner/src/jsonSchema.ts b/packages/dmn-runner/src/jsonSchema.ts index 4b4e8252ecb..cac101e3a0a 100644 --- a/packages/dmn-runner/src/jsonSchema.ts +++ b/packages/dmn-runner/src/jsonSchema.ts @@ -18,7 +18,7 @@ */ import { JSON_SCHEMA_INPUT_SET_PATH, RECURSION_KEYWORD, RECURSION_REF_KEYWORD, X_DMN_TYPE_KEYWORD } from "./constants"; -import { ValidateFunction } from "./ajv"; +import { DmnAjvSchemaFormat, ValidateFunction } from "./ajv"; import { ExtendedServicesDmnJsonSchema, DmnInputFieldProperties, @@ -77,6 +77,17 @@ export function removeChangedPropertiesAndAdditionalProperties