org.hypercerts.context.evaluation
Schema Diff
+9 -6
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 0 non-breaking changes.
Breaking Changes (6)
- KindChanged KindChanged { vertex_id: "org.hypercerts.context.evaluation#score.max", old_kind: "integer", new_kind: "string" }
- KindChanged KindChanged { vertex_id: "org.hypercerts.context.evaluation#score.min", old_kind: "integer", new_kind: "string" }
- KindChanged KindChanged { vertex_id: "org.hypercerts.context.evaluation#score.value", old_kind: "integer", new_kind: "string" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.max", sort: "maxLength", value: "50" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.value", sort: "maxLength", value: "50" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.min", sort: "maxLength", value: "50" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.min", sort: "maxLength", value: "50" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.value", sort: "maxLength", value: "50" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.max", sort: "maxLength", value: "50" }
Additional Notes
- Breaking: KindChanged { vertex_id: "org.hypercerts.context.evaluation#score.max", old_kind: "integer", new_kind: "string" }
- Breaking: KindChanged { vertex_id: "org.hypercerts.context.evaluation#score.min", old_kind: "integer", new_kind: "string" }
- Breaking: KindChanged { vertex_id: "org.hypercerts.context.evaluation#score.value", old_kind: "integer", new_kind: "string" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "An evaluation of a hypercert record (e.g. an activity and its impact).",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"content": {
10
10
"description": "Evaluation data (URIs or blobs) containing detailed reports or methodology",
11
11
"items": {
12
12
"refs": [
13
13
"org.hypercerts.defs#uri",
14
14
"org.hypercerts.defs#smallBlob"
15
15
],
16
16
"type": "union"
17
17
},
18
18
"maxLength": 100,
19
19
"type": "array"
20
20
},
21
21
"createdAt": {
22
22
"description": "Client-declared timestamp when this record was originally created",
23
23
"format": "datetime",
24
24
"type": "string"
25
25
},
26
26
"evaluators": {
27
27
"description": "DIDs of the evaluators",
28
28
"items": {
29
29
"ref": "app.certified.defs#did",
30
30
"type": "ref"
31
31
},
32
32
"maxLength": 1000,
33
33
"type": "array"
34
34
},
35
35
"location": {
36
36
"description": "An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location.",
37
37
"ref": "com.atproto.repo.strongRef",
38
38
"type": "ref"
39
39
},
40
40
"measurements": {
41
41
"description": "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.context.measurement",
42
42
"items": {
43
43
"ref": "com.atproto.repo.strongRef",
44
44
"type": "ref"
45
45
},
46
46
"maxLength": 100,
47
47
"type": "array"
48
48
},
49
49
"score": {
50
50
"description": "Optional overall score for this evaluation on a numeric scale.",
51
51
"ref": "#score",
52
52
"type": "ref"
53
53
},
54
54
"subject": {
55
55
"description": "A strong reference to what is being evaluated (e.g. activity, measurement, contribution, etc.)",
56
56
"ref": "com.atproto.repo.strongRef",
57
57
"type": "ref"
58
58
},
59
59
"summary": {
60
60
"description": "Brief evaluation summary",
61
61
"maxGraphemes": 1000,
62
62
"maxLength": 5000,
63
63
"type": "string"
64
64
}
65
65
},
66
66
"required": [
67
67
"evaluators",
68
68
"summary",
69
69
"createdAt"
70
70
],
71
71
"type": "object"
72
72
},
73
73
"type": "record"
74
74
},
75
75
"score": {
76
76
"description": "Overall score for an evaluation on a numeric scale.",
77
77
"properties": {
78
78
"max": {
79
-
"description": "Maximum value of the scale, e.g. 5 or 10.",
80
-
"type": "integer"
79
+
"description": "Maximum value of the scale as a numeric string (e.g. '5', '10').",
80
+
"maxLength": 50,
81
+
"type": "string"
81
82
},
82
83
"min": {
83
-
"description": "Minimum value of the scale, e.g. 0 or 1.",
84
-
"type": "integer"
84
+
"description": "Minimum value of the scale as a numeric string (e.g. '0', '1').",
85
+
"maxLength": 50,
86
+
"type": "string"
85
87
},
86
88
"value": {
87
-
"description": "Score within the inclusive range [min, max].",
88
-
"type": "integer"
89
+
"description": "Score within the inclusive range [min, max] as a numeric string (e.g. '3.7').",
90
+
"maxLength": 50,
91
+
"type": "string"
89
92
}
90
93
},
91
94
"required": [
92
95
"min",
93
96
"max",
94
97
"value"
95
98
],
96
99
"type": "object"
97
100
}
98
101
},
99
102
"id": "org.hypercerts.context.evaluation",
100
103
"lexicon": 1
101
104
}