gg.lou.record
Schema Diff
+8 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "gg.lou.record:body.completed", sort: "default", value: "false" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "gg.lou.record:body.completed" }
- AddedEdge AddedEdge { src: "gg.lou.record:body", tgt: "gg.lou.record:body.completed", kind: "prop", name: Some("completed") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "gg.lou.record:body.completed" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "gg.lou.record:body.completed", sort: "default", value: "false" }
Additional Notes
- Non-breaking: AddedEdge { src: "gg.lou.record:body", tgt: "gg.lou.record:body.completed", kind: "prop", name: Some("completed") }
1
1
{
2
2
"id": "gg.lou.record",
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
-
"title"
10
+
"title",
11
+
"completed"
11
12
],
12
13
"properties": {
13
14
"title": {
14
15
"type": "string",
15
16
"maxLength": 640,
16
17
"minLength": 1,
17
18
"description": "title name of record; can not be empty",
18
19
"maxGraphemes": 64
20
+
},
21
+
"completed": {
22
+
"type": "boolean",
23
+
"default": false,
24
+
"description": "Whether this record has been completed"
19
25
}
20
26
}
21
27
},
22
28
"description": "An example schema to show off how lexshift allows for easy migrations."
23
29
}
24
30
},
25
31
"$type": "com.atproto.lexicon.schema",
26
32
"lexicon": 1,
27
-
"revision": 1
33
+
"revision": 2
28
34
}