AOR Email
← Back to Question Bank
Details
Sample version of the rendered form.
Form Data
What the form data looks like when it is submitted.
{ "email": "aor@example.org"}CommonGrants Data
What the data looks like translated to the CommonGrants data model using the mapping-to-cg.
{ "contacts": { "otherContacts": { "authorizedRepresentative": { "emails": { "primary": "aor@example.org" } } } }}JSON Schema
Provides the structure and data validation for this question.
$id: QuestionAorEmail.yamltype: objectunevaluatedProperties: not: {}examples: - email: aor@example.org - email: contact@example.comdescription: The email address of the Authorized Organization Representative (AOR)x-ui-schema: type: VerticalLayout elements: - type: Control scope: '#/properties/email' label: AOR Email Addressx-mapping-to-cg: contacts: otherContacts: authorizedRepresentative: emails: primary: field: emailx-mapping-from-cg: email: field: contacts.otherContacts.authorizedRepresentative.emails.primaryx-entity: - authorizedRepresentativex-tags: - person - emailrequired: - emailproperties: email: description: Email address $schema: https://json-schema.org/draft/2020-12/schema $id: email.yaml type: string examples: - test@example.com format: emailUI Schema
Describes how to present the question in the form UI.
{ "type": "VerticalLayout", "elements": [ { "type": "Control", "scope": "#/properties/email", "label": "AOR Email Address" } ]}Mapping to CommonGrants
How to translate this question into the CommonGrants ProposalBase data model.
{ "contacts": { "otherContacts": { "authorizedRepresentative": { "emails": { "primary": { "field": "email" } } } } }}Mapping from CommonGrants
How to pre-fill this question with data from the ProposalBase data model.
{ "email": { "field": "contacts.otherContacts.authorizedRepresentative.emails.primary" }}