org.hypercerts.claim.rights
Schema Diff
+5 -3
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 0 non-breaking changes.
Breaking Changes (2)
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.claim.rights:body.rightsDescription", sort: "maxLength", value: "10000" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.claim.rights:body.rightsDescription", sort: "maxGraphemes", value: "1000" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.claim.rights:body.rightsDescription", sort: "maxGraphemes", value: "1000" }
- ConstraintAdded ConstraintAdded { vertex_id: "org.hypercerts.claim.rights:body.rightsDescription", sort: "maxLength", value: "10000" }
1
1
{
2
2
"id": "org.hypercerts.claim.rights",
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
"rightsName",
11
11
"rightsType",
12
12
"rightsDescription",
13
13
"createdAt"
14
14
],
15
15
"properties": {
16
16
"createdAt": {
17
17
"type": "string",
18
18
"format": "datetime",
19
19
"description": "Client-declared timestamp when this record was originally created"
20
20
},
21
21
"attachment": {
22
22
"refs": [
23
23
"org.hypercerts.defs#uri",
24
24
"org.hypercerts.defs#smallBlob"
25
25
],
26
26
"type": "union",
27
27
"description": "An attachment to define the rights further, e.g. a legal document."
28
28
},
29
29
"rightsName": {
30
30
"type": "string",
31
31
"maxLength": 100,
32
-
"description": "Full name of the rights"
32
+
"description": "Human-readable name for these rights (e.g. 'All Rights Reserved', 'CC BY-SA 4.0')"
33
33
},
34
34
"rightsType": {
35
35
"type": "string",
36
36
"maxLength": 10,
37
-
"description": "Short rights identifier for easier search"
37
+
"description": "Short identifier code for this rights type (e.g. 'ARR', 'CC-BY-SA') to facilitate filtering and search"
38
38
},
39
39
"rightsDescription": {
40
40
"type": "string",
41
-
"description": "Description of the rights of this hypercert"
41
+
"maxLength": 10000,
42
+
"description": "Detailed explanation of the rights holders' permissions, restrictions, and conditions",
43
+
"maxGraphemes": 1000
42
44
}
43
45
}
44
46
},
45
47
"description": "Describes the rights that a contributor and/or an owner has, such as whether the hypercert can be sold, transferred, and under what conditions."
46
48
}
47
49
},
48
50
"$type": "com.atproto.lexicon.schema",
49
51
"lexicon": 1
50
52
}