Scalar schema
The variant for a scalar value (null, boolean, integer, float, string, bytes), optionally narrowed by value constraints. To pin a scalar to one value, use a literal.Fetching schema…
This document describes the schema/scalar-schema type — a meta-schema variant. 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
A closed struct with these fields:
type (required) — one of "null" | "boolean" | "integer" | "float" | "string" | "bytes"
minLength — integer
maxLength — integer
pattern — string
minimum — integer
maximum — integer
name — string
description — string
params — map ⟨ * : schema ⟩
Depends on
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App