com.pimstash.carcare.work
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.work:body.serviceItem", sort: "format", old_value: "at-uri", new_value: "record-key" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "com.pimstash.carcare.work:body.serviceItem", 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": "Work in Car Care: one time a Service Item was done. Its photos reference it by at-uri.",
5
+
"description": "Work in Car Care: one time a Service Item was done. Its photos reference it by record key.",
6
6
"key": "any",
7
7
"record": {
8
8
"properties": {
9
9
"costMinor": {
10
10
"description": "Cost in the currency's minor unit (cents, pence, whole yen).",
11
11
"minimum": 0,
12
12
"type": "integer"
13
13
},
14
14
"createdAt": {
15
15
"format": "datetime",
16
16
"type": "string"
17
17
},
18
18
"currency": {
19
19
"description": "ISO 4217 code the cost is in.",
20
20
"maxLength": 3,
21
21
"minLength": 3,
22
22
"type": "string"
23
23
},
24
24
"minutes": {
25
25
"description": "Time the Work took, in whole minutes.",
26
26
"minimum": 0,
27
27
"type": "integer"
28
28
},
29
29
"notes": {
30
30
"maxGraphemes": 1000,
31
31
"maxLength": 10000,
32
32
"type": "string"
33
33
},
34
34
"odometerMeters": {
35
35
"description": "Odometer reading at the Work, in whole meters.",
36
36
"minimum": 0,
37
37
"type": "integer"
38
38
},
39
39
"parts": {
40
40
"maxGraphemes": 1000,
41
41
"maxLength": 10000,
42
42
"type": "string"
43
43
},
44
44
"performedAt": {
45
45
"description": "The calendar date of the Work, as a datetime at UTC midnight read in UTC.",
46
46
"format": "datetime",
47
47
"type": "string"
48
48
},
49
49
"serviceItem": {
50
-
"description": "The com.pimstash.carcare.serviceItem this Work was done for.",
51
-
"format": "at-uri",
50
+
"description": "The record key of the com.pimstash.carcare.serviceItem, in this same repository, this Work was done for.",
51
+
"format": "record-key",
52
52
"type": "string"
53
53
},
54
54
"supplier": {
55
55
"maxGraphemes": 100,
56
56
"maxLength": 1000,
57
57
"type": "string"
58
58
},
59
59
"updatedAt": {
60
60
"format": "datetime",
61
61
"type": "string"
62
62
}
63
63
},
64
64
"required": [
65
65
"serviceItem",
66
66
"performedAt",
67
67
"odometerMeters",
68
68
"currency",
69
69
"createdAt"
70
70
],
71
71
"type": "object"
72
72
},
73
73
"type": "record"
74
74
}
75
75
},
76
76
"id": "com.pimstash.carcare.work",
77
77
"lexicon": 1
78
78
}