{ "title": "Writing what it found", "credential": "annotator", "request": { "using": [ "urn:ietf:params:jmap:core", "urn:ietf:params:jmap:filenode", "https://ns.ordner.fyi/svc/jmap/files" ], "methodCalls": [ [ "FileAnnotation/set", { "accountId": "${accountId}", "update": { "${notes}": { "blobId": "${notesBlob}", "description": "A reminder to call the harbour master", "labels": [ { "name": "Reminder", "confidence": 0.82 }, { "name": "Harbour", "confidence": 0.64 } ] }, "${invoice}": { "blobId": "${invoiceBlob}", "description": "An invoice from the boat yard", "labels": [ { "name": "Invoice", "confidence": 0.97 } ], "text": "${invoiceText}" } } }, "a" ] ] }, "response": { "methodResponses": [ [ "FileAnnotation/set", { "accountId": "${accountId}", "oldState": "${*}", "newState": "${*}", "created": null, "updated": { "${notes}": null, "${invoice}": null }, "destroyed": null, "notCreated": null, "notUpdated": null, "notDestroyed": null }, "a" ] ], "sessionState": "${*}" } }