File size: 3,859 Bytes
2c93ae3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "research-exam-compact-grading-capsule/v1",
  "title": "First-pass grading output",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "record_id",
    "case_id",
    "attempt_id",
    "grader_id",
    "attempt",
    "atomic_outcomes",
    "output_status",
    "central_checks",
    "failed_item_notes",
    "inspected_claim_images",
    "readbacks",
    "descriptive_rc",
    "rc_rationale",
    "fairness",
    "retest"
  ],
  "properties": {
    "schema_version": {
      "const": "research-exam-compact-grading-capsule/v1"
    },
    "record_id": {"type": "string", "minLength": 1},
    "case_id": {"type": "string", "minLength": 1},
    "attempt_id": {"type": "string", "minLength": 1},
    "grader_id": {"type": "string", "minLength": 1},
    "attempt": {
      "type": "object",
      "additionalProperties": false,
      "required": ["disposition", "scientific_completion", "note"],
      "properties": {
        "disposition": {
          "enum": ["normal_score", "candidate_incomplete_zero", "invalid_not_scored"]
        },
        "scientific_completion": {
          "enum": ["assessable_complete", "assessable_incomplete", "no_assessable_submission", "not_applicable"]
        },
        "note": {"type": "string"}
      }
    },
    "atomic_outcomes": {
      "type": "object",
      "additionalProperties": {
        "enum": ["pass", "fail", "unresolved", "not_applicable"]
      }
    },
    "output_status": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": false,
        "required": ["object_valid", "presentation_adequate", "claim_adequate"],
        "properties": {
          "object_valid": {"type": "boolean"},
          "presentation_adequate": {"type": "boolean"},
          "claim_adequate": {"type": "boolean"}
        }
      }
    },
    "central_checks": {
      "type": "object",
      "additionalProperties": {
        "enum": ["pass", "fail", "unresolved", "not_applicable"]
      }
    },
    "failed_item_notes": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": false,
        "required": ["reason", "evidence"],
        "properties": {
          "reason": {"type": "string", "minLength": 1},
          "evidence": {
            "type": "array",
            "minItems": 1,
            "maxItems": 3,
            "items": {"type": "string", "minLength": 1}
          }
        }
      }
    },
    "central_check_notes": {
      "type": "object",
      "additionalProperties": {"type": "string", "minLength": 1},
      "default": {}
    },
    "inspected_claim_images": {
      "type": "array",
      "uniqueItems": true,
      "items": {"type": "string", "minLength": 1}
    },
    "readbacks": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["locator", "purpose", "finding"],
        "properties": {
          "locator": {"type": "string", "minLength": 1},
          "purpose": {"type": "string", "minLength": 1},
          "finding": {"type": "string", "minLength": 1}
        }
      }
    },
    "descriptive_rc": {"enum": ["RC0", "RC1", "RC2", "RC3", "RC4"]},
    "rc_rationale": {"type": "string", "minLength": 1},
    "fairness": {
      "type": "object",
      "additionalProperties": false,
      "required": ["hold", "reason"],
      "properties": {
        "hold": {"type": "boolean"},
        "reason": {"type": "string"}
      }
    },
    "retest": {
      "type": "object",
      "additionalProperties": false,
      "required": ["recommended", "reason"],
      "properties": {
        "recommended": {"type": "boolean"},
        "reason": {"type": "string"}
      }
    }
  }
}