Skip to content

Form Response

Base model for a form response.

PropertyTypeRequiredDescription
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": [],
"createdAt": "2024-01-01T00:00:00Z",
"lastModifiedAt": "2024-01-01T00:00:00Z"
}
VersionChangesSchema
0.2.0
  • Added FormResponseBase model
FormResponseBase.yaml

The status of a form response.

PropertyTypeRequiredDescription
valueFormResponseStatusOptionsYesThe status of the form response, 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": "complete",
"description": "The form response is complete"
}
VersionChangesSchema
0.2.0
  • Added FormResponseStatus model
FormResponseStatus.yaml

The options for the status of a form response.

ValueDescription
notStartedThe form response has not been started
inProgressThe form response is in progress
completeThe form response is complete, meaning all required fields have been filled out and there are no validation errors

A JSON example of this model.

"inProgress"
VersionChangesSchema
0.2.0
  • Added FormResponseStatusOptions enum
FormResponseStatusOptions.yaml