Look up accepted operation
lookup_operation
Section titled “lookup_operation”Recover the original accepted request by key, or observe a keyless action by its receipt actionId, in the selected organization without repeating its effects. A missing key is not proof of a completed effect.
Contract metadata
Section titled “Contract metadata”{ "annotations": { "readOnlyHint": true, "destructiveHint": false, "idempotentHint": true, "openWorldHint": false }, "fileParams": [], "requiredPermission": "read", "security": { "type": "oauth2", "scopes": [ "chalksurf:mcp" ] }}Input schema
Section titled “Input schema”The server advertises this JSON Schema to MCP clients. Runtime authorization and business-rule checks still apply.
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "actionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "organizationId": { "description": "The ChalkSurf organization ID to use for this request.", "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "requestId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" } }, "required": [ "organizationId" ], "type": "object"}Output schema
Section titled “Output schema”{ "$schema": "https://json-schema.org/draft/2020-12/schema", "anyOf": [ { "oneOf": [ { "additionalProperties": false, "properties": { "found": { "const": false, "type": "boolean" }, "requestId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "schemaVersion": { "const": "v1", "type": "string" } }, "required": [ "schemaVersion", "found", "requestId" ], "type": "object" }, { "additionalProperties": false, "properties": { "acceptedItems": { "items": { "additionalProperties": false, "properties": { "exerciseFigureId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "itemId": { "type": "string" }, "jobIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "originSheetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "outcome": { "enum": [ "already_complete", "blocked", "invalid", "accepted", "preparing", "queued", "running", "applied", "not_solved", "cancelled", "failed", "conflicting", "not_attempted", "unknown_write" ], "type": "string" }, "sourceItemIds": { "items": { "maxLength": 100, "minLength": 1, "type": "string" }, "maxItems": 100, "type": "array" }, "sourceLanguage": { "anyOf": [ { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" }, { "type": "null" } ] }, "targetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "targetLanguage": { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" } }, "required": [ "itemId", "targetIds", "outcome", "jobIds" ], "type": "object" }, "maxItems": 100, "type": "array" }, "found": { "const": true, "type": "boolean" }, "inputDigest": { "type": "string" }, "itemIds": { "items": { "type": "string" }, "maxItems": 100, "type": "array" }, "jobs": { "items": { "additionalProperties": false, "properties": { "aftercare": { "anyOf": [ { "enum": [ "pending", "completed", "conflicting", "failed", "cancelled" ], "type": "string" }, { "type": "null" } ] }, "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "itemId": { "type": "string" }, "parentJobId": { "anyOf": [ { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, { "type": "null" } ] }, "phaseId": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "resultCode": { "type": [ "string", "null" ] }, "stage": { "enum": [ "pending", "completed", "conflicting", "failed", "cancelled" ], "type": "string" }, "status": { "type": [ "string", "null" ] } }, "required": [ "id", "itemId", "parentJobId", "status", "resultCode", "stage", "aftercare", "reason" ], "type": "object" }, "maxItems": 1000, "type": "array" }, "operation": { "enum": [ "exercise.solution.generate", "sheet.solution.generate", "exercise.description.generate", "exercise.translation.generate", "sheet.translation.generate", "sheet.translation.remove", "exercise.update", "sheet.update", "exercise.import", "exercise.solution.import", "sheet.import", "sheet.solution.import", "sheet.translation.import", "job.cancel", "job.dismiss", "sheet.content.edit", "sheet.exercises.append", "feedback.user.send", "feedback.agent.send", "quality_issue.resolve", "quality_issue.dismiss", "exercise.copy", "exercise.create", "sheet.create", "sheet.copy", "exercise.figure.update", "exercise.figure.remove", "exercise.figure.reorder", "exercise.figure.upload", "exercise.figure.replace", "exercise.delete", "sheet.delete", "exercise.visibility.set", "sheet.visibility.set", "folder.create", "folder.rename", "folder.delete" ], "type": "string" }, "organizationId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "requestId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "results": { "anyOf": [ { "items": { "additionalProperties": false, "properties": { "actionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "cancelledJobCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "error": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "retryable": { "type": "boolean" } }, "required": [ "code", "message", "retryable" ], "type": "object" }, "exerciseFigureIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": "array" }, "feedbackReceipt": { "additionalProperties": false, "properties": { "eventId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "eventType": { "enum": [ "user_feedback_sent", "agent_feedback_sent" ], "type": "string" }, "submittedAt": { "type": "string" } }, "required": [ "eventId", "eventType", "submittedAt" ], "type": "object" }, "figure": { "anyOf": [ { "additionalProperties": false, "properties": { "exerciseFigureId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "orderIndex": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "provenance": { "additionalProperties": false, "properties": { "byteLength": { "maximum": 104857600, "minimum": 0, "type": "integer" }, "createdBy": { "enum": [ "agent", "user", "import" ], "type": "string" }, "mimeType": { "maxLength": 100, "minLength": 1, "type": "string" }, "originalFileName": { "maxLength": 255, "minLength": 1, "type": "string" }, "pixelHeight": { "maximum": 100000, "minimum": 1, "type": "integer" }, "pixelWidth": { "maximum": 100000, "minimum": 1, "type": "integer" }, "renderQualityStatus": { "enum": [ "passed", "needs_revision", "unchecked" ], "type": "string" }, "renderSpecHash": { "pattern": "^[a-f0-9]{64}$", "type": "string" }, "sourceKind": { "enum": [ "local_file", "mcp_file", "https_url", "base64_image", "rendered_figure", "user_upload", "import", "unknown" ], "type": "string" } }, "required": [ "sourceKind", "createdBy" ], "type": "object" }, "rotationClockwiseDegrees": { "anyOf": [ { "const": 0, "type": "number" }, { "const": 90, "type": "number" }, { "const": 180, "type": "number" }, { "const": 270, "type": "number" } ] }, "type": { "enum": [ "text", "solution" ], "type": "string" }, "url": { "format": "uri", "type": "string" }, "widthInCm": { "maximum": 20, "minimum": 1, "type": "number" } }, "required": [ "type", "url", "widthInCm", "exerciseFigureId", "orderIndex", "rotationClockwiseDegrees" ], "type": "object" }, { "type": "null" } ] }, "itemId": { "maxLength": 100, "minLength": 1, "type": "string" }, "jobs": { "items": { "additionalProperties": false, "properties": { "aftercare": { "additionalProperties": false, "properties": { "jobIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "reason": { "type": "string" }, "status": { "enum": [ "pending", "completed", "conflicting", "failed" ], "type": "string" } }, "required": [ "status", "jobIds" ], "type": "object" }, "cancellation": { "additionalProperties": false, "properties": { "available": { "type": "boolean" }, "reason": { "type": [ "string", "null" ] } }, "required": [ "available", "reason" ], "type": "object" }, "error": { "type": [ "string", "null" ] }, "exerciseId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "exerciseSheetId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "itemId": { "type": "string" }, "phaseId": { "type": [ "string", "null" ] }, "requestId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "resultCode": { "type": [ "string", "null" ] }, "status": { "enum": [ "pending", "in_progress", "completed", "failed", "cancelled" ], "type": "string" }, "type": { "type": "string" } }, "required": [ "id", "status", "type", "cancellation" ], "type": "object" }, "maxItems": 100, "type": "array" }, "operationId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "originSheetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "outcome": { "enum": [ "already_complete", "blocked", "invalid", "accepted", "preparing", "queued", "running", "applied", "not_solved", "cancelled", "failed", "conflicting", "not_attempted", "unknown_write" ], "type": "string" }, "reason": { "type": "string" }, "receipt": { "additionalProperties": false, "properties": { "changedPaths": { "items": { "type": "string" }, "type": "array" }, "details": {}, "operation": { "enum": [ "copy_exercise", "copy_sheet", "update_exercise", "resolve_quality_issue", "dismiss_quality_issue", "update_sheet", "bulk_update_sheets", "append_exercises_to_sheet", "create_folder", "rename_folder", "delete_exercise", "delete_sheet", "delete_folder", "create_sheet", "create_exercise", "update_exercise_figure", "replace_exercise_figure", "remove_exercise_figure", "reorder_exercise_figures", "upload_exercise_figure", "set_exercise_visibility", "set_sheet_visibility" ], "type": "string" }, "precondition": { "additionalProperties": false, "properties": { "actualUpdatedAt": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "expectedUpdatedAt": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "status": { "enum": [ "matched", "not_required" ], "type": "string" } }, "required": [ "status" ], "type": "object" }, "resource": { "additionalProperties": false, "properties": { "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": { "enum": [ "exercise", "sheet", "folder" ], "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "type", "id" ], "type": "object" }, "version": { "oneOf": [ { "additionalProperties": false, "properties": { "created": { "const": true, "type": "boolean" }, "resourceType": { "enum": [ "sheet", "exercise" ], "type": "string" }, "versionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "versionNumber": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "resourceType", "created", "versionId", "versionNumber" ], "type": "object" }, { "additionalProperties": false, "properties": { "created": { "const": false, "type": "boolean" }, "reason": { "minLength": 1, "type": "string" }, "resourceType": { "enum": [ "sheet", "exercise" ], "type": "string" } }, "required": [ "resourceType", "created", "reason" ], "type": "object" } ] }, "warnings": { "items": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "details": {}, "message": { "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "type": "array" } }, "required": [ "resource", "operation", "changedPaths", "precondition", "warnings", "details" ], "type": "object" }, "remainingLanguages": { "items": { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" }, "type": "array" }, "review": { "additionalProperties": false, "properties": { "byteLength": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "nextActions": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "pixelHeight": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, { "type": "null" } ] }, "pixelWidth": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, { "type": "null" } ] }, "renderQualityStatus": { "anyOf": [ { "enum": [ "passed", "needs_revision", "unchecked" ], "type": "string" }, { "type": "null" } ] }, "sourceKind": { "enum": [ "local_file", "mcp_file", "https_url", "base64_image", "rendered_figure", "user_upload", "import", "unknown" ], "type": "string" }, "warnings": { "items": { "additionalProperties": false, "properties": { "code": { "minLength": 1, "type": "string" }, "details": {}, "message": { "minLength": 1, "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "type": "array" } }, "required": [ "pixelWidth", "pixelHeight", "byteLength", "sourceKind", "warnings", "renderQualityStatus", "nextActions" ], "type": "object" }, "sourceItemIds": { "items": { "maxLength": 100, "minLength": 1, "type": "string" }, "maxItems": 100, "type": "array" }, "sourceLanguage": { "anyOf": [ { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" }, { "type": "null" } ] }, "targetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "targetLanguage": { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" } }, "required": [ "itemId", "targetIds", "outcome" ], "type": "object" }, "maxItems": 100, "type": "array" }, { "type": "null" } ] }, "schemaVersion": { "const": "v1", "type": "string" }, "state": { "enum": [ "accepted", "result_expired" ], "type": "string" } }, "required": [ "schemaVersion", "found", "requestId", "organizationId", "operation", "inputDigest", "state", "itemIds", "acceptedItems", "results", "jobs" ], "type": "object" } ] }, { "anyOf": [ { "additionalProperties": false, "properties": { "found": { "const": false, "type": "boolean" } }, "required": [ "found" ], "type": "object" }, { "additionalProperties": false, "properties": { "actionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "actionType": { "anyOf": [ { "enum": [ "request", "cancel" ], "type": "string" }, { "type": "null" } ] }, "businessType": { "anyOf": [ { "enum": [ "folder.create", "folder.rename", "folder.delete", "exercise.create", "exercise.update", "exercise.copy", "exercise.delete", "exercise.visibility.set", "exercise.version.revert", "exercise.import", "exercise.solution.generate", "exercise.solution.import", "exercise.description.generate", "exercise.translation.generate", "exercise.translation.remove", "sheet.create", "sheet.update", "sheet.copy", "sheet.delete", "sheet.visibility.set", "sheet.exercises.append", "sheet.import", "sheet.solution.generate", "sheet.solution.import", "sheet.translation.generate", "sheet.translation.import", "sheet.translation.remove", "figure.render_draft", "exercise.figure.upload", "exercise.figure.update", "exercise.figure.replace", "exercise.figure.remove", "exercise.figure.reorder", "quality_issue.resolve", "quality_issue.dismiss", "feedback.user.send", "feedback.agent.send", "job.dismiss", "sheet.share.create", "organization.invitation.create", "organization.invitation.resend" ], "type": "string" }, { "type": "null" } ] }, "found": { "const": true, "type": "boolean" }, "identityCoverage": { "enum": [ "canonical", "legacy_unresolved" ], "type": "string" }, "observation": { "additionalProperties": false, "properties": { "coverage": { "enum": [ "legacy_partial", "missing_jobs", "complete" ], "type": "string" }, "executions": { "items": { "additionalProperties": false, "properties": { "actionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "jobIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": "array" }, "status": { "enum": [ "running", "failed", "cancelled", "completed" ], "type": "string" } }, "required": [ "actionId", "status", "jobIds" ], "type": "object" }, "type": "array" }, "hasCancelled": { "type": "boolean" }, "hasFailed": { "type": "boolean" }, "jobs": { "items": { "additionalProperties": false, "properties": { "createdAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "finishedAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "originatingActionId": { "anyOf": [ { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, { "type": "null" } ] }, "startedAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "status": { "enum": [ "pending", "in_progress", "completed", "failed", "cancelled", "waiting" ], "type": "string" }, "triggeredByActionId": { "anyOf": [ { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, { "type": "null" } ] }, "triggeredByJobId": { "anyOf": [ { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, { "type": "null" } ] }, "type": { "enum": [ "exercise_sheet_import", "exercise_import", "exercise_solution_import", "exercise_solution_generation", "exercise_translation_generation", "exercise_sheet_translation_generation", "exercise_sheet_solution_import", "exercise_description_generation", "exercise_sheet_translation_import", "exercise_figure_render", "exercise_embedding_recalculation", "exercise_automatic_labeling", "external_notification" ], "type": "string" } }, "required": [ "id", "status", "type", "createdAt", "startedAt", "finishedAt", "triggeredByActionId", "triggeredByJobId", "originatingActionId" ], "type": "object" }, "maxItems": 500, "type": "array" }, "missingJobIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "status": { "enum": [ "running", "unknown", "settled", "completed" ], "type": "string" }, "truncated": { "type": "boolean" } }, "required": [ "status", "coverage", "hasFailed", "hasCancelled", "missingJobIds", "truncated", "executions", "jobs" ], "type": "object" }, "operationId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "remainingItemIds": { "items": { "type": "string" }, "maxItems": 100, "type": "array" }, "replayed": { "type": "boolean" }, "resources": { "items": { "additionalProperties": false, "properties": { "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": { "enum": [ "exercise", "sheet", "folder", "job", "event", "figure_asset" ], "type": "string" } }, "required": [ "type", "id" ], "type": "object" }, "maxItems": 500, "type": "array" }, "resourcesTruncated": { "type": "boolean" }, "response": { "anyOf": [ { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "actionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "cancelledJobCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "error": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "retryable": { "type": "boolean" } }, "required": [ "code", "message", "retryable" ], "type": "object" }, "exerciseFigureIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": "array" }, "feedbackReceipt": { "additionalProperties": false, "properties": { "eventId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "eventType": { "enum": [ "user_feedback_sent", "agent_feedback_sent" ], "type": "string" }, "submittedAt": { "type": "string" } }, "required": [ "eventId", "eventType", "submittedAt" ], "type": "object" }, "figure": { "anyOf": [ { "additionalProperties": false, "properties": { "exerciseFigureId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "orderIndex": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "provenance": { "additionalProperties": false, "properties": { "byteLength": { "maximum": 104857600, "minimum": 0, "type": "integer" }, "createdBy": { "enum": [ "agent", "user", "import" ], "type": "string" }, "mimeType": { "maxLength": 100, "minLength": 1, "type": "string" }, "originalFileName": { "maxLength": 255, "minLength": 1, "type": "string" }, "pixelHeight": { "maximum": 100000, "minimum": 1, "type": "integer" }, "pixelWidth": { "maximum": 100000, "minimum": 1, "type": "integer" }, "renderQualityStatus": { "enum": [ "passed", "needs_revision", "unchecked" ], "type": "string" }, "renderSpecHash": { "pattern": "^[a-f0-9]{64}$", "type": "string" }, "sourceKind": { "enum": [ "local_file", "mcp_file", "https_url", "base64_image", "rendered_figure", "user_upload", "import", "unknown" ], "type": "string" } }, "required": [ "sourceKind", "createdBy" ], "type": "object" }, "rotationClockwiseDegrees": { "anyOf": [ { "const": 0, "type": "number" }, { "const": 90, "type": "number" }, { "const": 180, "type": "number" }, { "const": 270, "type": "number" } ] }, "type": { "enum": [ "text", "solution" ], "type": "string" }, "url": { "format": "uri", "type": "string" }, "widthInCm": { "maximum": 20, "minimum": 1, "type": "number" } }, "required": [ "type", "url", "widthInCm", "exerciseFigureId", "orderIndex", "rotationClockwiseDegrees" ], "type": "object" }, { "type": "null" } ] }, "itemId": { "maxLength": 100, "minLength": 1, "type": "string" }, "jobs": { "items": { "additionalProperties": false, "properties": { "aftercare": { "additionalProperties": false, "properties": { "jobIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "reason": { "type": "string" }, "status": { "enum": [ "pending", "completed", "conflicting", "failed" ], "type": "string" } }, "required": [ "status", "jobIds" ], "type": "object" }, "cancellation": { "additionalProperties": false, "properties": { "available": { "type": "boolean" }, "reason": { "type": [ "string", "null" ] } }, "required": [ "available", "reason" ], "type": "object" }, "error": { "type": [ "string", "null" ] }, "exerciseId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "exerciseSheetId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "itemId": { "type": "string" }, "phaseId": { "type": [ "string", "null" ] }, "requestId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "resultCode": { "type": [ "string", "null" ] }, "status": { "enum": [ "pending", "in_progress", "completed", "failed", "cancelled" ], "type": "string" }, "type": { "type": "string" } }, "required": [ "id", "status", "type", "cancellation" ], "type": "object" }, "maxItems": 100, "type": "array" }, "operationId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "originSheetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "outcome": { "enum": [ "already_complete", "blocked", "invalid", "accepted", "preparing", "queued", "running", "applied", "not_solved", "cancelled", "failed", "conflicting", "not_attempted", "unknown_write" ], "type": "string" }, "reason": { "type": "string" }, "receipt": { "additionalProperties": false, "properties": { "changedPaths": { "items": { "type": "string" }, "type": "array" }, "details": {}, "operation": { "enum": [ "copy_exercise", "copy_sheet", "update_exercise", "resolve_quality_issue", "dismiss_quality_issue", "update_sheet", "bulk_update_sheets", "append_exercises_to_sheet", "create_folder", "rename_folder", "delete_exercise", "delete_sheet", "delete_folder", "create_sheet", "create_exercise", "update_exercise_figure", "replace_exercise_figure", "remove_exercise_figure", "reorder_exercise_figures", "upload_exercise_figure", "set_exercise_visibility", "set_sheet_visibility" ], "type": "string" }, "precondition": { "additionalProperties": false, "properties": { "actualUpdatedAt": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "expectedUpdatedAt": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "status": { "enum": [ "matched", "not_required" ], "type": "string" } }, "required": [ "status" ], "type": "object" }, "resource": { "additionalProperties": false, "properties": { "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": { "enum": [ "exercise", "sheet", "folder" ], "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "type", "id" ], "type": "object" }, "version": { "oneOf": [ { "additionalProperties": false, "properties": { "created": { "const": true, "type": "boolean" }, "resourceType": { "enum": [ "sheet", "exercise" ], "type": "string" }, "versionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "versionNumber": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "resourceType", "created", "versionId", "versionNumber" ], "type": "object" }, { "additionalProperties": false, "properties": { "created": { "const": false, "type": "boolean" }, "reason": { "minLength": 1, "type": "string" }, "resourceType": { "enum": [ "sheet", "exercise" ], "type": "string" } }, "required": [ "resourceType", "created", "reason" ], "type": "object" } ] }, "warnings": { "items": { "additionalProperties": false, "properties": { "code": { "type": "string" }, "details": {}, "message": { "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "type": "array" } }, "required": [ "resource", "operation", "changedPaths", "precondition", "warnings", "details" ], "type": "object" }, "remainingLanguages": { "items": { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" }, "type": "array" }, "review": { "additionalProperties": false, "properties": { "byteLength": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "nextActions": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "pixelHeight": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, { "type": "null" } ] }, "pixelWidth": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, { "type": "null" } ] }, "renderQualityStatus": { "anyOf": [ { "enum": [ "passed", "needs_revision", "unchecked" ], "type": "string" }, { "type": "null" } ] }, "sourceKind": { "enum": [ "local_file", "mcp_file", "https_url", "base64_image", "rendered_figure", "user_upload", "import", "unknown" ], "type": "string" }, "warnings": { "items": { "additionalProperties": false, "properties": { "code": { "minLength": 1, "type": "string" }, "details": {}, "message": { "minLength": 1, "type": "string" } }, "required": [ "code", "message" ], "type": "object" }, "type": "array" } }, "required": [ "pixelWidth", "pixelHeight", "byteLength", "sourceKind", "warnings", "renderQualityStatus", "nextActions" ], "type": "object" }, "sourceItemIds": { "items": { "maxLength": 100, "minLength": 1, "type": "string" }, "maxItems": 100, "type": "array" }, "sourceLanguage": { "anyOf": [ { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" }, { "type": "null" } ] }, "targetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "targetLanguage": { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" } }, "required": [ "itemId", "targetIds", "outcome" ], "type": "object" }, "maxItems": 100, "type": "array" }, "version": { "const": 1, "type": "number" } }, "required": [ "version", "items" ], "type": "object" }, { "type": "null" } ] }, "result": { "additionalProperties": false, "properties": { "items": { "items": { "additionalProperties": false, "properties": { "exerciseFigureId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "itemId": { "type": "string" }, "jobIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "originSheetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "outcome": { "enum": [ "already_complete", "blocked", "invalid", "accepted", "preparing", "queued", "running", "applied", "not_solved", "cancelled", "failed", "conflicting", "not_attempted", "unknown_write" ], "type": "string" }, "sourceItemIds": { "items": { "maxLength": 100, "minLength": 1, "type": "string" }, "maxItems": 100, "type": "array" }, "sourceLanguage": { "anyOf": [ { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" }, { "type": "null" } ] }, "targetIds": { "items": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "maxItems": 100, "type": "array" }, "targetLanguage": { "enum": [ "english", "hungarian", "german", "french", "spanish", "italian", "czech", "slovak" ], "type": "string" } }, "required": [ "itemId", "targetIds", "outcome", "jobIds" ], "type": "object" }, "maxItems": 100, "type": "array" }, "legacy": { "additionalProperties": false, "properties": { "itemIds": { "items": { "type": "string" }, "maxItems": 100, "type": "array" }, "sealed": { "type": "boolean" } }, "required": [ "itemIds", "sealed" ], "type": "object" }, "receipts": { "items": { "additionalProperties": false, "properties": { "changedPaths": { "items": { "type": "string" }, "type": "array" }, "operation": { "enum": [ "copy_exercise", "copy_sheet", "update_exercise", "resolve_quality_issue", "dismiss_quality_issue", "update_sheet", "bulk_update_sheets", "append_exercises_to_sheet", "create_folder", "rename_folder", "delete_exercise", "delete_sheet", "delete_folder", "create_sheet", "create_exercise", "update_exercise_figure", "replace_exercise_figure", "remove_exercise_figure", "reorder_exercise_figures", "upload_exercise_figure", "set_exercise_visibility", "set_sheet_visibility" ], "type": "string" }, "precondition": { "additionalProperties": false, "properties": { "actualUpdatedAt": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "expectedUpdatedAt": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "status": { "enum": [ "matched", "not_required" ], "type": "string" } }, "required": [ "status" ], "type": "object" }, "resource": { "additionalProperties": false, "properties": { "id": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "type": { "enum": [ "exercise", "sheet", "folder" ], "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "type", "id" ], "type": "object" }, "version": { "oneOf": [ { "additionalProperties": false, "properties": { "created": { "const": true, "type": "boolean" }, "resourceType": { "enum": [ "sheet", "exercise" ], "type": "string" }, "versionId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "versionNumber": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "resourceType", "created", "versionId", "versionNumber" ], "type": "object" }, { "additionalProperties": false, "properties": { "created": { "const": false, "type": "boolean" }, "reason": { "minLength": 1, "type": "string" }, "resourceType": { "enum": [ "sheet", "exercise" ], "type": "string" } }, "required": [ "resourceType", "created", "reason" ], "type": "object" } ] }, "warnings": { "items": { "additionalProperties": false, "properties": { "code": { "type": "string" } }, "required": [ "code" ], "type": "object" }, "type": "array" } }, "required": [ "resource", "operation", "changedPaths", "precondition", "warnings" ], "type": "object" }, "maxItems": 100, "type": "array" }, "version": { "const": 1, "type": "number" } }, "required": [ "version", "items" ], "type": "object" }, "resultExpired": { "type": "boolean" } }, "required": [ "found", "resources", "resourcesTruncated", "actionId", "operationId", "replayed", "result", "response", "resultExpired", "remainingItemIds", "businessType", "actionType", "identityCoverage", "observation" ], "type": "object" } ] } ]}