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
Key | Description | Example |
date | RFC 3339 date | "2024-11-13" |
date-time | RFC 3339 date and time together | "2024-11-13T20:20:39+00:00" |
time | RFC 3339 time string | "20:20:39+00:00" |
IDs
Key | Description | Example |
cuid | Secure, colision-resistant ID | "el81eslmbh0u6kkav308v2r2j" |
uuid | RFC 4122 universally unqiue identifier | "c116b452-3449-4e1d-88ac-ef007a08d92f" |
Internet
Key | Description | Example |
email | RFC 5321 email address | "alice@example.com" |