Skip to main content

Range Exclusion

Cloud APIs have quirks 🤷 and its occassionally necessary to not permit some values in a range.

title: Range Exclusion Example
type: object
properties:
range:
title: Zero or between 10 and 1000
type: integer
minimum: 0
maximum: 1000
not:
minimum: 1
maximum: 9