A collection of email addresses for a person or organization.
EmailCollection
Section titled “EmailCollection”A collection of email addresses.
| Property | Type | Required | Description |
|---|---|---|---|
primary | email | Yes | The primary email address for a person or organization. |
otherEmails | RecordEmail | No | Additional email addresses keyed by a descriptive label (e.g., "work", "personal", "support"). |
{ "primary": "john.doe@example.com", "otherEmails": { "work": "john.doe@work.com", "personal": "john.doe@gmail.com", "school": "john.doe@school.edu" }}$schema: https://json-schema.org/draft/2020-12/schema$id: EmailCollection.yamltype: objectproperties: primary: $ref: email.yaml description: The primary email address for a person or organization. otherEmails: $ref: "#/$defs/RecordEmail" description: Additional email addresses keyed by a descriptive label (e.g., "work", "personal", "support").required: - primaryexamples: - primary: john.doe@example.com otherEmails: work: john.doe@work.com personal: john.doe@gmail.com school: john.doe@school.edudescription: A collection of email addresses.$defs: RecordEmail: type: object properties: {} unevaluatedProperties: $ref: email.yaml/** A collection of email addresses. */@example(Examples.Email.personalCollection)@Versioning.added(Versions.v0_1)model EmailCollection { /** The primary email address for a person or organization. */ primary: Types.email;
/** Additional email addresses keyed by a descriptive label (e.g., "work", "personal", "support"). */ otherEmails?: Record<Types.email>;}