Form B - Research Grant
Summary
13 total questions | 100% mapped to the CommonGrants schema
Research grant application form
Details
Sample version of the rendered form.
What the form data looks like when it is submitted.
{ "project_name": "Project B", "project_description": "Project B", "institution_type": "University", "institution_name": "Research University", "principal_investigator": { "first_name": "Bob", "middle_name": "B.", "last_name": "Barker", "title": "Principal Investigator", "email": "email@example.edu", "phone": "555-111-2222" }, "budget": "25000", "kickoff": "2025-06-01", "completion": "2026-06-01"}
UI and JSON schemas used to render and validate the form.
JSON schema
{ "type": "object", "properties": { "project_name": { "type": "string", "title": "Research Project Name" }, "project_description": { "type": "string", "title": "Project Description" }, "institution_type": { "type": "string", "title": "Institution Type", "enum": [ "University", "Nonprofit", "Government", "Corporation", "Independent Researcher", "Not Listed" ] }, "institution_name": { "type": "string", "title": "Institution Name" }, "principal_investigator": { "type": "object", "properties": { "first_name": { "type": "string", "title": "PI First Name" }, "middle_name": { "type": "string", "title": "PI Middle Name" }, "last_name": { "type": "string", "title": "PI Last Name" }, "title": { "type": "string", "title": "PI Title" }, "email": { "type": "string", "format": "email", "title": "PI Email" }, "phone": { "type": "string", "title": "PI Phone" } }, "title": "Principal Investigator", "required": [ "first_name", "last_name", "title", "email", "phone" ] }, "budget": { "type": "string", "title": "Total Budget (USD)" }, "kickoff": { "type": "string", "format": "date", "title": "Kick-off Date" }, "completion": { "type": "string", "format": "date", "title": "Completion Date" } }, "required": [ "project_name", "project_description", "institution_type", "institution_name", "principal_investigator", "budget", "kickoff", "completion" ]}
UI Schema
{ "type": "VerticalLayout", "elements": [ { "type": "Control", "scope": "#/properties/project_name" }, { "type": "Control", "scope": "#/properties/project_description" }, { "type": "Control", "scope": "#/properties/institution_type" }, { "type": "Control", "scope": "#/properties/institution_name" }, { "type": "Group", "label": "Principal Investigator", "elements": [ { "type": "Control", "scope": "#/properties/principal_investigator/properties/first_name" }, { "type": "Control", "scope": "#/properties/principal_investigator/properties/middle_name" }, { "type": "Control", "scope": "#/properties/principal_investigator/properties/last_name" }, { "type": "Control", "scope": "#/properties/principal_investigator/properties/title" }, { "type": "Control", "scope": "#/properties/principal_investigator/properties/email" }, { "type": "Control", "scope": "#/properties/principal_investigator/properties/phone" } ] }, { "type": "Control", "scope": "#/properties/budget" }, { "type": "Control", "scope": "#/properties/kickoff" }, { "type": "Control", "scope": "#/properties/completion" } ]}
Mappings between the form and the CommonGrants schema.
Mapping to CommonGrants
{ "title": { "field": "project_name" }, "description": { "field": "project_description" }, "amountRequested": { "amount": { "field": "budget" }, "currency": "USD" }, "projectTimeline": { "startDate": { "name": "Project Start Date", "eventType": "singleDate", "date": { "field": "kickoff" } }, "endDate": { "name": "Project End Date", "eventType": "singleDate", "date": { "field": "completion" } } }, "contacts": { "primary": { "name": { "firstName": { "field": "principal_investigator.first_name" }, "middleName": { "field": "principal_investigator.middle_name" }, "lastName": { "field": "principal_investigator.last_name" } }, "title": { "field": "principal_investigator.title" }, "emails": { "primary": { "field": "principal_investigator.email" } }, "phones": { "primary": { "countryCode": "+1", "number": { "field": "principal_investigator.phone" }, "isMobile": false } } } }, "organizations": { "primary": { "id": "00000000-0000-0000-0000-000000000000", "name": { "field": "institution_name" }, "orgType": { "term": { "field": "institution_type" }, "class": "Organization types", "code": "UC000000" } } }}
Mapping from CommonGrants
{ "project_name": { "field": "title" }, "project_description": { "field": "description" }, "institution_type": { "field": "organizations.primary.orgType.term" }, "institution_name": { "field": "organizations.primary.name" }, "principal_investigator": { "first_name": { "field": "contacts.primary.name.firstName" }, "middle_name": { "field": "contacts.primary.name.middleName" }, "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" } }, "budget": { "field": "amountRequested.amount" }, "kickoff": { "field": "projectTimeline.startDate.date" }, "completion": { "field": "projectTimeline.endDate.date" }}