String types
String types used throughout the protocol.
string
Section titled “string”A sequence of characters. The base JSON Schema type for all string-derived scalars.
"string"$schema: https://json-schema.org/draft/2020-12/schema$id: string.yamltype: stringdescription: A sequence of characters. The base JSON Schema type for all string-derived scalars.A Uniform Resource Locator (URL).
"http://example.com"$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: stringexamples: - 30a12e5e-5940-4c08-921c-17a8960fcf4bformat: uuiddescription: A universally unique identifier./** A universally unique identifier. */@example("30a12e5e-5940-4c08-921c-17a8960fcf4b")@format("uuid")@Versioning.added(Versions.v0_1)scalar uuid extends string;An email address.
"test@example.com"$schema: https://json-schema.org/draft/2020-12/schema$id: email.yamltype: stringexamples: - test@example.comformat: emaildescription: An email address./** An email address. */@example("test@example.com")@format("email")@Versioning.added(Versions.v0_1)scalar email extends string;