org.hypercerts.context.evaluation

hypercerts.org

Schema Diff

+9 -6

From

CID
bafyreiddxl56hxp...
Indexed At
2026-03-19 20:27 UTC
View this version

To

CID
bafyreifzvlfmyye...
Indexed At
2026-04-07 22:42 UTC
View this version

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.value", sort: "maxLength", value: "50" }
  • ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.context.evaluation#score.max", 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.max", sort: "maxLength", value: "50" }
  • 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" }

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

Compare Other Versions

Lexicon Garden

@