com.pimstash.carcare.serviceItem
Schema Diff
+3 -3
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "com.pimstash.carcare.serviceItem:body.vehicle", sort: "format", old_value: "at-uri", new_value: "record-key" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "com.pimstash.carcare.serviceItem:body.vehicle", sort: "format", old_value: "at-uri", new_value: "record-key" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "A Service Item in Car Care: one maintenance task on a Vehicle, either scheduled by distance and/or months or done once. Its Work references it by at-uri.",
5
+
"description": "A Service Item in Car Care: one maintenance task on a Vehicle, either scheduled by distance and/or months or done once. Its Work references it by record key.",
6
6
"key": "any",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"estimateMinutes": {
14
14
"description": "Estimated time to do the work, in whole minutes.",
15
15
"minimum": 0,
16
16
"type": "integer"
17
17
},
18
18
"intervalMeters": {
19
19
"description": "Repeat distance, in whole meters.",
20
20
"minimum": 1,
21
21
"type": "integer"
22
22
},
23
23
"intervalMonths": {
24
24
"minimum": 1,
25
25
"type": "integer"
26
26
},
27
27
"kind": {
28
28
"description": "scheduled repeats by intervalMeters and/or intervalMonths; oneoff has neither interval.",
29
29
"knownValues": [
30
30
"scheduled",
31
31
"oneoff"
32
32
],
33
33
"maxLength": 64,
34
34
"type": "string"
35
35
},
36
36
"links": {
37
37
"items": {
38
38
"ref": "com.pimstash.carcare.vehicle#link",
39
39
"type": "ref"
40
40
},
41
41
"maxLength": 100,
42
42
"type": "array"
43
43
},
44
44
"name": {
45
45
"maxGraphemes": 100,
46
46
"maxLength": 1000,
47
47
"minLength": 1,
48
48
"type": "string"
49
49
},
50
50
"notes": {
51
51
"maxGraphemes": 1000,
52
52
"maxLength": 10000,
53
53
"type": "string"
54
54
},
55
55
"partsNeeded": {
56
56
"maxGraphemes": 1000,
57
57
"maxLength": 10000,
58
58
"type": "string"
59
59
},
60
60
"spec": {
61
61
"description": "Specifications: fluid grades, capacities, torque values.",
62
62
"maxGraphemes": 1000,
63
63
"maxLength": 10000,
64
64
"type": "string"
65
65
},
66
66
"toolsNeeded": {
67
67
"maxGraphemes": 1000,
68
68
"maxLength": 10000,
69
69
"type": "string"
70
70
},
71
71
"updatedAt": {
72
72
"format": "datetime",
73
73
"type": "string"
74
74
},
75
75
"vehicle": {
76
-
"description": "The com.pimstash.carcare.vehicle this item belongs to.",
77
-
"format": "at-uri",
76
+
"description": "The record key of the com.pimstash.carcare.vehicle, in this same repository, this item belongs to.",
77
+
"format": "record-key",
78
78
"type": "string"
79
79
}
80
80
},
81
81
"required": [
82
82
"vehicle",
83
83
"name",
84
84
"kind",
85
85
"createdAt"
86
86
],
87
87
"type": "object"
88
88
},
89
89
"type": "record"
90
90
}
91
91
},
92
92
"id": "com.pimstash.carcare.serviceItem",
93
93
"lexicon": 1
94
94
}