DateA calendar date as an ISO 8601 string, `YYYY-MM-DD` (e.g. `2026-08-26`). A refinement of string — the value is still plain text on the wire — with `format: date

A calendar date as an ISO 8601 string, YYYY-MM-DD (e.g. 2026-08-26). A refinement of string — the value is still plain text on the wire — with format: date so an editor renders a date picker rather than a text box, and a pattern so a validator can check the shape without parsing.

This document describes the onyx-date type — a schema. Its formal schema is attached (the schemaDefinition in this document's metadata), so the app can show it and create values of this type.

Shape

Kind: string.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime