changedInput schema / properties / id / description
Previous value: -"The unique request ID."New value: +"Stable local request ID to load (must already exist; typically from list_requests)."
addedInput schema / properties / id / minimum
Added value: +1
addedOutput schema / properties / correspondence / description
Added value: +"Stored correspondence items linked to the request, in database order."
addedOutput schema / properties / correspondence / items / additionalProperties
Added value: +false
addedOutput schema / properties / correspondence / items / description
Added value: +"A correspondence item associated with an FYI request."
addedOutput schema / properties / correspondence / items / properties
Added value: +{
+ "attachments": {
+ "description": "Optional attachment URLs or identifiers linked to the correspondence.",
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "body": {
+ "description": "Message body or extracted correspondence text.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "direction": {
+ "description": "Whether the correspondence was sent by the requester or received as an authority response.",
+ "enum": [
+ "request",
+ "response"
+ ],
+ "type": "string"
+ },
+ "sent_at": {
+ "description": "ISO-8601 sent timestamp when captured.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "state": {
+ "description": "Optional Alaveteli correspondence state when captured.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+}
addedOutput schema / properties / correspondence / items / required
Added value: +[
+ "direction",
+ "body",
+ "sent_at"
+]
addedOutput schema / properties / request / additionalProperties
Added value: +false
addedOutput schema / properties / request / description
Added value: +"The requested FYI/Alaveteli request record."
addedOutput schema / properties / request / properties
Added value: +{
+ "body": {
+ "description": "Request body or draft correspondence text.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "created_at": {
+ "description": "ISO-8601 creation timestamp when recorded.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Stable local request identifier.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "status": {
+ "description": "Current Alaveteli/FYI request lifecycle status.",
+ "enum": [
+ "draft",
+ "submitted",
+ "waiting_response",
+ "successful",
+ "partially_successful",
+ "refused",
+ "overdue",
+ "clean",
+ "dirty",
+ "pending",
+ "conflict",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tags": {
+ "description": "Optional local tags attached to the request.",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Public title of the official information request.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "ISO-8601 update timestamp used for ordering and sync.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "Canonical public request URL when available.",
+ "format": "uri",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "user_name": {
+ "description": "Requester display name when known.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+}
addedOutput schema / properties / request / required
Added value: +[
+ "id",
+ "title",
+ "body"
+]