app.fitsky.workoutPlan
Schema Diff
+10 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.fitsky.workoutPlan:body.ogImage" }
- AddedEdge AddedEdge { src: "app.fitsky.workoutPlan:body", tgt: "app.fitsky.workoutPlan:body.ogImage", kind: "prop", name: Some("ogImage") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.fitsky.workoutPlan:body.ogImage" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.fitsky.workoutPlan:body", tgt: "app.fitsky.workoutPlan:body.ogImage", kind: "prop", name: Some("ogImage") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A reusable workout plan template",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"exercises": {
14
14
"items": {
15
15
"ref": "#planExercise",
16
16
"type": "ref"
17
17
},
18
18
"type": "array"
19
19
},
20
20
"name": {
21
21
"maxLength": 256,
22
22
"type": "string"
23
23
},
24
+
"ogImage": {
25
+
"accept": [
26
+
"image/png",
27
+
"image/jpeg",
28
+
"image/webp"
29
+
],
30
+
"description": "Open Graph preview image for social sharing",
31
+
"maxSize": 1000000,
32
+
"type": "blob"
33
+
},
24
34
"type": {
25
35
"knownValues": [
26
36
"weightlifting",
27
37
"bodyweight",
28
38
"yoga",
29
39
"hiit"
30
40
],
31
41
"maxLength": 64,
32
42
"type": "string"
33
43
}
34
44
},
35
45
"required": [
36
46
"name",
37
47
"type",
38
48
"exercises",
39
49
"createdAt"
40
50
],
41
51
"type": "object"
42
52
},
43
53
"type": "record"
44
54
},
45
55
"planExercise": {
46
56
"properties": {
47
57
"name": {
48
58
"maxLength": 128,
49
59
"type": "string"
50
60
},
51
61
"notes": {
52
62
"maxLength": 512,
53
63
"type": "string"
54
64
},
55
65
"targetReps": {
56
66
"minimum": 1,
57
67
"type": "integer"
58
68
},
59
69
"targetSets": {
60
70
"minimum": 1,
61
71
"type": "integer"
62
72
}
63
73
},
64
74
"required": [
65
75
"name",
66
76
"targetSets",
67
77
"targetReps"
68
78
],
69
79
"type": "object"
70
80
}
71
81
},
72
82
"id": "app.fitsky.workoutPlan",
73
83
"lexicon": 1
74
84
}