rngo

Reference

JSON Schema

format Keyword

rngo supports the format keyword for string schemas, including all built-in formats from the JSON Scheme specification (eventually), along with many custom options.

Date / Time

KeyDescriptionExample
dateRFC 3339 date"2024-11-13"
date-timeRFC 3339 date and time together"2024-11-13T20:20:39+00:00"
timeRFC 3339 time string"20:20:39+00:00"

IDs

KeyDescriptionExample
cuidSecure, colision-resistant ID"el81eslmbh0u6kkav308v2r2j"
uuidRFC 4122 universally unqiue identifier"c116b452-3449-4e1d-88ac-ef007a08d92f"

Internet

KeyDescriptionExample
emailRFC 5321 email address"alice@example.com"
Previous
Expressions