Form C - Community Grant
Summary
11 total questions | 100% mapped to the CommonGrants schema
Community grant application form
Details
Sample version of the rendered form.
What the form data looks like when it is submitted.
{ "community_project_name": "Project C", "community_project_description": "Project C", "funding_requested": "5000", "project_start": "2025-06-01", "project_end": "2026-06-01", "community_leader": { "first_name": "Charlie", "last_name": "Chaplin", "title": "Project Coordinator", "email": "email@example.org", "phone": "555-111-2222" }, "community_organization": "Community Development Association"}
UI and JSON schemas used to render and validate the form.
JSON schema
{ "type": "object", "properties": { "community_project_name": { "type": "string", "title": "Project Name" }, "community_project_description": { "type": "string", "title": "Project Description" }, "funding_requested": { "type": "string", "title": "Funding Requested (USD)" }, "project_start": { "type": "string", "format": "date", "title": "Project Start Date" }, "project_end": { "type": "string", "format": "date", "title": "Project End Date" }, "community_leader": { "type": "object", "properties": { "first_name": { "type": "string", "title": "First Name" }, "last_name": { "type": "string", "title": "Last Name" }, "title": { "type": "string", "title": "Title" }, "email": { "type": "string", "format": "email", "title": "Email" }, "phone": { "type": "string", "title": "Phone" } }, "title": "Project Contact", "required": [ "first_name", "last_name", "title", "email", "phone" ] }, "community_organization": { "type": "string", "title": "Organization" } }, "required": [ "community_project_name", "community_project_description", "funding_requested", "project_start", "project_end", "community_leader", "community_organization" ]}
UI Schema
{ "type": "VerticalLayout", "elements": [ { "type": "Control", "scope": "#/properties/community_project_name" }, { "type": "Control", "scope": "#/properties/community_project_description" }, { "type": "Control", "scope": "#/properties/funding_requested" }, { "type": "Control", "scope": "#/properties/project_start" }, { "type": "Control", "scope": "#/properties/project_end" }, { "type": "Group", "label": "Project Contact", "elements": [ { "type": "Control", "scope": "#/properties/community_leader/properties/first_name" }, { "type": "Control", "scope": "#/properties/community_leader/properties/last_name" }, { "type": "Control", "scope": "#/properties/community_leader/properties/title" }, { "type": "Control", "scope": "#/properties/community_leader/properties/email" }, { "type": "Control", "scope": "#/properties/community_leader/properties/phone" } ] }, { "type": "Control", "scope": "#/properties/community_organization" } ]}
Mappings between the form and the CommonGrants schema.
Mapping to CommonGrants
{ "title": { "field": "community_project_name" }, "description": { "field": "community_project_description" }, "amountRequested": { "amount": { "field": "funding_requested" }, "currency": "USD" }, "projectTimeline": { "startDate": { "name": "Project Start Date", "eventType": "singleDate", "date": { "field": "project_start" } }, "endDate": { "name": "Project End Date", "eventType": "singleDate", "date": { "field": "project_end" } } }, "contacts": { "primary": { "name": { "firstName": { "field": "community_leader.first_name" }, "lastName": { "field": "community_leader.last_name" } }, "title": { "field": "community_leader.title" }, "emails": { "primary": { "field": "community_leader.email" } }, "phones": { "primary": { "countryCode": "+1", "number": { "field": "community_leader.phone" }, "isMobile": false } } } }, "organizations": { "primary": { "id": "00000000-0000-0000-0000-000000000000", "name": { "field": "community_organization" }, "orgType": { "term": "Community Organization", "class": "Organization types", "code": "UC000000" } } }}
Mapping from CommonGrants
{ "community_project_name": { "field": "title" }, "community_project_description": { "field": "description" }, "funding_requested": { "field": "amountRequested.amount" }, "project_start": { "field": "projectTimeline.startDate.date" }, "project_end": { "field": "projectTimeline.endDate.date" }, "community_leader": { "first_name": { "field": "contacts.primary.name.firstName" }, "last_name": { "field": "contacts.primary.name.lastName" }, "title": { "field": "contacts.primary.title" }, "email": { "field": "contacts.primary.emails.primary" }, "phone": { "field": "contacts.primary.phones.primary.number" } }, "community_organization": { "field": "organizations.primary.name" }}