Skip to main content
Version: 2.0.1

Unlimited amount in usage limits

Question

How do I express an unlimited amount in usage limits?

Answer

In yaml you can use the keywork .inf of the YAML specification to express an unlimited amount of something. See Canonical and Examples section to see the usage and the syntax definition.

This keyword is very usefull in Pricing2Yaml specification if you want to model an usage limit that in some tier of your plan is Unlimited.

Example:

usageLimits:
todoNotesLimit:
valueType: NUMERIC
defaultValue: 10
plans:
FREE:
usageLimits: null
STANDARD:
usageLimits:
todoNotesLimit: .inf