Skip to content

Application

Base model for an application to a funding opportunity.

PropertyTypeRequiredDescription
iduuidYesThe unique identifier for the application
namestringYesThe name of the application
competitionIduuidYesThe unique identifier for the competition
opportunityIduuidYesThe unique identifier for the opportunity being applied to
formResponsesrecord<AppFormResponse>YesThe form responses for the application
statusAppStatusYesThe status of the application
submittedAtutcDateTime or nullNoThe date and time the application was submitted
validationErrorsarray<unknown>NoThe validation errors for the application and form responses
customFieldsrecord<CustomField>NoThe custom fields about the application
createdAtutcDateTimeYesThe timestamp (in UTC) at which the record was created.
lastModifiedAtutcDateTimeYesThe timestamp (in UTC) at which the record was last modified.

A JSON example of this model.

{
"id": "083b4567-e89d-42c8-a439-6c1234567890",
"name": "Example Application",
"competitionId": "083b4567-e89d-42c8-a439-6c1234567890",
"formResponses": {
// Form responses would be here
},
"status": {
"value": "inProgress",
"description": "Application is in progress."
},
"validationErrors": [],
"submittedAt": null,
"customFields": {
"pctComplete": {
"name": "Percentage Complete",
"fieldType": "string",
"value": "50%",
"description": "Percentage of the application that has been completed"
}
}
}
VersionChangesSchema
0.3.0
  • Added opportunityId field
ApplicationBase.yaml
0.2.0
  • Added ApplicationBase model
ApplicationBase.yaml

The status of an application.

PropertyTypeRequiredDescription
valueAppStatusOptionsYesThe status of the application, from a predefined set of options
customValuestringNoA custom value for the status
descriptionstringNoA human-readable description of the status

A JSON example of this model.

{
"value": "submitted",
"description": "Application has been submitted."
}
VersionChangesSchema
0.2.0
  • Added AppStatus model
AppStatus.yaml

The default set of values accepted for application status.

ValueDescription
inProgressThe application is in progress
submittedThe application has been submitted and is being reviewed
acceptedThe application has been accepted
rejectedThe application has been rejected
customA custom status

A JSON example of this model.

"submitted"
VersionChangesSchema
0.1.0
  • Added AppStatusOptions enum
AppStatusOptions.yaml

A form response associated with an application.

PropertyTypeRequiredDescription
applicationIduuidYesThe unique identifier for the application
iduuidYesThe unique identifier for the form response
formIduuidYesThe form being responded to
responserecordYesThe response to the form
statusFormResponseStatusYesThe status of the form response
validationErrorsarray<unknown>NoThe validation errors for the form response
customFieldsrecord<CustomField>NoCustom attributes about the form response
createdAtutcDateTimeYesThe timestamp (in UTC) at which the record was created.
lastModifiedAtutcDateTimeYesThe timestamp (in UTC) at which the record was last modified.

A JSON example of this model.

{
"id": "083b4567-e89d-42c8-a439-6c1234567890",
"form": {
"id": "b7c1e2f4-8a3d-4e2a-9c5b-1f2e3d4c5b6a",
"name": "Form A",
"description": "Form A description"
},
"response": {
"name": {
"first": "John",
"last": "Doe"
},
"email": "john.doe@example.com",
"phone": "555-123-4567"
},
"status": {
"value": "complete",
"description": "The form response is complete"
},
"validationErrors": [],
"applicationId": "083b4567-e89d-42c8-a439-6c1234567890",
"createdAt": "2024-01-01T00:00:00Z",
"lastModifiedAt": "2024-01-01T00:00:00Z"
}
VersionChangesSchema
0.2.0
  • Added AppFormResponse model
AppFormResponse.yaml