Fiscal Sponsor 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": "fiscal@example.org"}CommonGrants Data
What the data looks like translated to the CommonGrants data model using the mapping-to-cg.
{ "organizations": { "otherOrgs": { "fiscalSponsor": { "emails": { "primary": "fiscal@example.org" } } } }}JSON Schema
Provides the structure and data validation for this question.
$id: QuestionFiscalSponsorEmail.yamltype: objectunevaluatedProperties: not: {}examples: - email: fiscal@example.org - email: contact@example.comdescription: The email address of the fiscal sponsor organizationx-ui-schema: type: VerticalLayout elements: - type: Control scope: '#/properties/email' label: Fiscal Sponsor Email Addressx-mapping-to-cg: organizations: otherOrgs: fiscalSponsor: emails: primary: field: emailx-mapping-from-cg: email: field: organizations.otherOrgs.fiscalSponsor.emails.primaryx-entity: - fiscalSponsorx-tags: - organization - 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": "Fiscal Sponsor Email Address" } ]}Mapping to CommonGrants
How to translate this question into the CommonGrants ProposalBase data model.
{ "organizations": { "otherOrgs": { "fiscalSponsor": { "emails": { "primary": { "field": "email" } } } } }}Mapping from CommonGrants
How to pre-fill this question with data from the ProposalBase data model.
{ "email": { "field": "organizations.otherOrgs.fiscalSponsor.emails.primary" }}