full diff

dev.herisson.test.trust.grade

herisson.dev +7 −2
From
bafyreifwsnlcpdgnu4s4enj3yxds5dlz752tjl7rjbdjv2jsvjmuwreb5i indexed 2026-07-26 20:11 UTC View this version
To
bafyreif2u5c3kozokfq3px5vgkcqsirekfmcoqtmepioqxmbmd5kkiw75m indexed 2026-08-25 04:46 UTC View this version

Compatibility

breaking 1 breaking change, 2 non-breaking changes.

Breaking changes (1)
  • ConstraintAdded ConstraintAdded { vertex_id: "dev.herisson.test.trust.grade:body.grade", sort: "maximum", value: "100" }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "dev.herisson.test.trust.grade:body.comment" }
  • AddedEdge AddedEdge { src: "dev.herisson.test.trust.grade:body", tgt: "dev.herisson.test.trust.grade:body.comment", kind: "prop", name: Some("comment") }

Migration guidance

Added

  • AddedVertex { vertex_id: "dev.herisson.test.trust.grade:body.comment" }

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "dev.herisson.test.trust.grade:body.grade", sort: "maximum", value: "100" }

Notes

  • Non-breaking: AddedEdge { src: "dev.herisson.test.trust.grade:body", tgt: "dev.herisson.test.trust.grade:body.comment", kind: "prop", name: Some("comment") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Record declaring a 'grade of trust' a user has for a given identity",
6 "key": "tid",
6 "key": "any",
77 "record": {
88 "properties": {
9 "comment": {
10 "description": "Optional context for the trust grade.",
11 "maxLength": 1000,
12 "type": "string"
13 },
914 "createdAt": {
1015 "format": "datetime",
1116 "type": "string"
1217 },
1318 "grade": {
1419 "description": "The reputation the account is give. 0 means no trust at all, 100 means complete trust.",
15 "maximun": 100,
20 "maximum": 100,
1621 "minimum": 0,
1722 "type": "integer"
1823 },
1924 "subject": {
2025 "description": "The account that is being graded.",
2126 "format": "did",
2227 "type": "string"
2328 }
2429 },
2530 "required": [
2631 "subject",
2732 "createdAt",
2833 "grade"
2934 ],
3035 "type": "object"
3136 },
3237 "type": "record"
3338 }
3439 },
3540 "id": "dev.herisson.test.trust.grade",
3641 "lexicon": 1
3742}

Compare other versions