Skip to content

Application

Base model for an application to a funding opportunity.

PropertyTypeRequiredDescription
id uuid Yes The unique identifier for the application
name string Yes The name of the application
competitionId uuid Yes The unique identifier for the competition
opportunityId uuid Yes The unique identifier for the opportunity being applied to
formResponses record<AppFormResponse> Yes The form responses for the application
status AppStatus Yes The status of the application
submittedAt utcDateTime or null No The date and time the application was submitted
validationErrors array<unknown> No The validation errors for the application and form responses
customFields record<CustomField> No The custom fields about the application
createdAt utcDateTime Yes The timestamp (in UTC) at which the record was created.
lastModifiedAt utcDateTime Yes The 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"
}
}
}
Version Changes
0.3.0
  • Added opportunityId field
0.2.0
  • Added ApplicationBase model

The status of an application.

PropertyTypeRequiredDescription
value AppStatusOptions Yes The status of the application, from a predefined set of options
customValue string No A custom value for the status
description string No A human-readable description of the status

A JSON example of this model.

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

The default set of values accepted for application status.

ValueDescription
inProgress The application is in progress
submitted The application has been submitted and is being reviewed
accepted The application has been accepted
rejected The application has been rejected
custom A custom status

A JSON example of this model.

"submitted"
Version Changes
0.1.0
  • Added AppStatusOptions enum

A form response associated with an application.

PropertyTypeRequiredDescription
applicationId uuid Yes The unique identifier for the application
id uuid Yes The unique identifier for the form response
formId uuid Yes The form being responded to
response record Yes The response to the form
status FormResponseStatus Yes The status of the form response
validationErrors array<unknown> No The validation errors for the form response
customFields record<CustomField> No Custom attributes about the form response
createdAt utcDateTime Yes The timestamp (in UTC) at which the record was created.
lastModifiedAt utcDateTime Yes The 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"
}
Version Changes
0.2.0
  • Added AppFormResponse model