Question
A Question is what a pending Action asks a Party, a Role, or a Worker before it resumes, kept on the Action with its answer.
A Question is what a Worker asks a Party during an Action, with choices or a schema, and its answer resumes the Action.
Properties
| Property | Type | Required | Description |
|---|---|---|---|
to | Thing | required | Who is asked: a Party such as the Customer or the caller, a Role, or a Worker. |
text | text | required | The question, in one message. |
choices | string[] | The answers offered, rendered as a picker; free text when absent. | |
schema | json | The typed answer’s shape, rendered as form fields in the Portal. | |
answerBy | datetime | After this, the Action’s timeout rule applies. | |
answer | json | The answer given, with who gave it and through which Interface. | |
answeredAt | datetime | When the answer arrived; the Action resumes then. |
Object
{
"$id": "https: //api.sb/ petpantry.shop/ questions/ question_1",
"$type": "Question",
"to": "thing_1",
"text": "Example text",
"choices": [
"Example choices"
],
"schema": {},
"answerBy": "2026-10-22T12: 00: 00Z",
"answer": {},
"answeredAt": "2026-10-22T12: 00: 00Z"
}Relationships
- A Question has one Action: a pending Action asks Questions and waits
awaitingInputuntil each is answered or its deadline passes.action, inverseasks. - A Question is posted in one Thread: each Question posts in the Thread of the record it concerns, where free-text replies land.
postedIn, inversequestions.
Verbs
getReturns one Question by id.GET /{namespace}/questions/{id}listReturns Questions, newest first, one page at a time.GET /{namespace}/questions
A Question is kept forever and never edited: it has no update or delete.
Permissions
Which Access level may call each Verb. One-way Verbs wait their delay window.
| Operation | owner | admin | member | viewer |
|---|---|---|---|---|
Question.get | Yes | Yes | Yes | Yes |
Question.list | Yes | Yes | Yes | Yes |
Call it
Show me the latest question.Example
patentpad.com's drafting Agent asks a Customer which of two inventions to claim, with three choices and an answerBy two days out. The Customer taps one in the Portal, and the draft resumes.