| 1 | {
|
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 | "type": "object",
|
| 4 | "properties": {
|
| 5 | "feedbackId": {
|
| 6 | "type": "string",
|
| 7 | "format": "uuid",
|
| 8 | "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)$"
|
| 9 | },
|
| 10 | "interactionId": {
|
| 11 | "type": "string",
|
| 12 | "format": "uuid",
|
| 13 | "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)$"
|
| 14 | },
|
| 15 | "receiptId": {
|
| 16 | "type": "string",
|
| 17 | "format": "uuid",
|
| 18 | "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)$"
|
| 19 | },
|
| 20 | "reviewerAgentId": {
|
| 21 | "type": "string"
|
| 22 | },
|
| 23 | "subjectAgentId": {
|
| 24 | "type": "string"
|
| 25 | },
|
| 26 | "taskCompleted": {
|
| 27 | "type": "boolean"
|
| 28 | },
|
| 29 | "outputAccepted": {
|
| 30 | "type": "boolean"
|
| 31 | },
|
| 32 | "specificationMatched": {
|
| 33 | "type": "boolean"
|
| 34 | },
|
| 35 | "deadlineMet": {
|
| 36 | "type": "boolean"
|
| 37 | },
|
| 38 | "communicationQuality": {
|
| 39 | "type": "number",
|
| 40 | "minimum": 0,
|
| 41 | "maximum": 1
|
| 42 | },
|
| 43 | "evidenceProvided": {
|
| 44 | "type": "boolean"
|
| 45 | },
|
| 46 | "scopeRespected": {
|
| 47 | "type": "boolean"
|
| 48 | },
|
| 49 | "disputeRaised": {
|
| 50 | "type": "boolean"
|
| 51 | },
|
| 52 | "comment": {
|
| 53 | "type": "string",
|
| 54 | "maxLength": 1000
|
| 55 | },
|
| 56 | "submittedAt": {
|
| 57 | "type": "string",
|
| 58 | "format": "date-time",
|
| 59 | "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))$"
|
| 60 | },
|
| 61 | "signature": {
|
| 62 | "type": "object",
|
| 63 | "properties": {
|
| 64 | "algorithm": {
|
| 65 | "type": "string",
|
| 66 | "const": "Ed25519"
|
| 67 | },
|
| 68 | "keyId": {
|
| 69 | "type": "string",
|
| 70 | "minLength": 1
|
| 71 | },
|
| 72 | "value": {
|
| 73 | "type": "string",
|
| 74 | "minLength": 1
|
| 75 | }
|
| 76 | },
|
| 77 | "required": [
|
| 78 | "algorithm",
|
| 79 | "keyId",
|
| 80 | "value"
|
| 81 | ],
|
| 82 | "additionalProperties": false
|
| 83 | }
|
| 84 | },
|
| 85 | "required": [
|
| 86 | "feedbackId",
|
| 87 | "interactionId",
|
| 88 | "receiptId",
|
| 89 | "reviewerAgentId",
|
| 90 | "subjectAgentId",
|
| 91 | "taskCompleted",
|
| 92 | "outputAccepted",
|
| 93 | "specificationMatched",
|
| 94 | "deadlineMet",
|
| 95 | "communicationQuality",
|
| 96 | "evidenceProvided",
|
| 97 | "scopeRespected",
|
| 98 | "disputeRaised",
|
| 99 | "submittedAt"
|
| 100 | ],
|
| 101 | "additionalProperties": false
|
| 102 | }
|