String types
string
A sequence of characters.
$schema: https://json-schema.org/draft/2020-12/schema$id: string.yamltype: stringdescription: A sequence of characters
"Hello, world!"
url
A Uniform Resource Locator (URL).
$schema: https://json-schema.org/draft/2020-12/schema$id: url.yamltype: stringformat: uridescription: A Uniform Resource Locator (URL)
"https://example.com/path"
uuid
A universally unique identifier.
$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;
"30a12e5e-5940-4c08-921c-17a8960fcf4b"