String types
string
Section titled “string”A sequence of characters.
"Hello, world!"
$schema: https://json-schema.org/draft/2020-12/schema$id: string.yamltype: stringdescription: A sequence of characters
A Uniform Resource Locator (URL).
"https://example.com/path"
$schema: https://json-schema.org/draft/2020-12/schema$id: url.yamltype: stringformat: uridescription: A Uniform Resource Locator (URL)
A universally unique identifier.
"30a12e5e-5940-4c08-921c-17a8960fcf4b"
$schema: https://json-schema.org/draft/2020-12/schema$id: uuid.yamltype: stringformat: uuiddescription: A universally unique identifier
/** A universally unique identifier */@example("30a12e5e-5940-4c08-921c-17a8960fcf4b")@format("uuid")scalar uuid extends string;