Form D - Education Grant
Summary
7 total questions | 100% mapped to the CommonGrants schema
Education grant application form
Details
Sample version of the rendered form.
What the form data looks like when it is submitted.
{ "projectDetails": { "title": "Project D", "fundingNeeded": 80000, "startDate": "2025-06-01" }, "contact": { "givenName": "Diana", "familyName": "Darby" }}
UI and JSON schemas used to render and validate the form.
JSON schema
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "projectDetails": { "type": "object", "properties": { "title": { "type": "string", "title": "Project title" }, "requestedBy": { "type": "string", "title": "Project type", "enum": [ "NGO", "Corporation", "College or University", "Individual", "Government", "Other" ] }, "fundingNeeded": { "type": "number", "title": "Funding needed (USD)" }, "startDate": { "type": "string", "format": "date", "title": "Anticipated start date" } }, "required": [ "title", "startDate" ] }, "contact": { "type": "object", "properties": { "givenName": { "type": "string", "title": "Given name" }, "middleName": { "type": "string", "title": "Middle name" }, "familyName": { "type": "string", "title": "Family name" } }, "required": [ "givenName", "familyName" ] } }, "required": [ "projectDetails", "contact" ]}
UI Schema
{ "type": "VerticalLayout", "elements": [ { "type": "Group", "label": "Project Details", "elements": [ { "type": "Control", "scope": "#/properties/projectDetails/properties/title" }, { "type": "Control", "scope": "#/properties/projectDetails/properties/requestedBy" }, { "type": "Control", "scope": "#/properties/projectDetails/properties/fundingNeeded" }, { "type": "Control", "scope": "#/properties/projectDetails/properties/startDate" } ] }, { "type": "Group", "label": "Application contact", "elements": [ { "type": "Control", "scope": "#/properties/contact/properties/givenName" }, { "type": "Control", "scope": "#/properties/contact/properties/middleName" }, { "type": "Control", "scope": "#/properties/contact/properties/familyName" } ] } ]}
Mappings between the form and the CommonGrants schema.
Mapping to CommonGrants
{ "project": { "title": { "field": "projectDetails.title" }, "applicantType": { "switch": { "field": "projectDetails.requestedBy", "case": { "NGO": "nonprofit-general", "Corporation": "business-general", "College or University": "nonprofit-educational", "Individual": "individual", "Government": "government-general", "Other": "custom" }, "default": "custom" } }, "amountRequested": { "field": "projectDetails.fundingNeeded" }, "startDate": { "field": "projectDetails.startDate" } }, "pointOfContact": { "firstName": { "field": "contact.givenName" }, "middleName": { "field": "contact.middleName" }, "lastName": { "field": "contact.familyName" } }}
Mapping from CommonGrants
{ "projectDetails": { "title": { "field": "project.title" }, "requestedBy": { "switch": { "field": "project.applicantType", "case": { "nonprofit-general": "NGO", "nonprofit-religious": "NGO", "nonprofit-educational": "College or University", "business-small": "Corporation", "business-general": "Corporation", "government-tribal": "Government", "government-state": "Government", "government-local": "Government", "government-general": "Government", "individual": "Individual", "custom": "Other" }, "default": "custom" } }, "fundingNeeded": { "field": "project.amountRequested" }, "startDate": { "field": "project.startDate" } }, "contact": { "givenName": { "field": "pointOfContact.firstName" }, "middleName": { "field": "pointOfContact.middleName" }, "familyName": { "field": "pointOfContact.lastName" } }}