Module expect

Source

Modules§

ops

Functions§

array
Expects a JSON array. This has further operations to assert the length, uniqueness, all values meet a condition, etc.
email
Expects a valid-looking email address.
float
Expects a valid email address in the received JSON.
integer
Expects a valid email address in the received JSON.
iso_date_time
Expects a valid-looking ISO date time.
object
Expects a JSON object.
string
Expects a JSON string.
uuid
Expect a valid UUID.