diff --git a/.changeset/eleven-games-cross.md b/.changeset/eleven-games-cross.md new file mode 100644 index 000000000..58f783200 --- /dev/null +++ b/.changeset/eleven-games-cross.md @@ -0,0 +1,5 @@ +--- +"@koopjs/featureserver": patch +--- + +Fix schema for quantizationParameter diff --git a/packages/featureserver/src/query/validate-query-request-parameters.js b/packages/featureserver/src/query/validate-query-request-parameters.js index 6d66c025e..155957580 100644 --- a/packages/featureserver/src/query/validate-query-request-parameters.js +++ b/packages/featureserver/src/query/validate-query-request-parameters.js @@ -16,7 +16,8 @@ const esriExtentSchema = joi.object({ const quantizationParametersSchema = joi.object({ originPosition: joi.string().optional(), tolerance: joi.number().optional(), - extent: esriExtentSchema.optional() + extent: esriExtentSchema.optional(), + mode: joi.string().optional(), });