Skip to content

Commit

Permalink
fix: use correct JSON schema keyword
Browse files Browse the repository at this point in the history
fixes #3025
  • Loading branch information
domoritz authored and jheer committed Dec 23, 2020
1 parent cf8e57d commit c151787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vega-schema/src/scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const scheme = object({
stringType,
array(oneOf(stringType, signalRef)), signalRef),
count: numberOrSignal,
extent: oneOf(array(numberOrSignal, {numItems: 2}), signalRef)
extent: oneOf(array(numberOrSignal, {minItems: 2, maxItems: 2}), signalRef)
});

const schemeRange = oneOf(
Expand Down

0 comments on commit c151787

Please # to comment.