dev.mccue.jvm.module
Schema Diff
+5 -2
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 3 non-breaking changes.
Breaking Changes (2)
- KindChanged KindChanged { vertex_id: "dev.mccue.jvm.module#exports.to", old_kind: "string", new_kind: "array" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module#exports.to:items", sort: "minLength", value: "1" }
Non-Breaking Changes (3)
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#exports.to:items" }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#exports.to", tgt: "dev.mccue.jvm.module#exports.to:items", kind: "items", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "dev.mccue.jvm.module#exports.to", sort: "minLength" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.mccue.jvm.module#exports.to:items" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module#exports.to:items", sort: "minLength", value: "1" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "dev.mccue.jvm.module#exports.to", sort: "minLength" }
Additional Notes
- Breaking: KindChanged { vertex_id: "dev.mccue.jvm.module#exports.to", old_kind: "string", new_kind: "array" }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#exports.to", tgt: "dev.mccue.jvm.module#exports.to:items", kind: "items", name: None }
1
1
{
2
2
"id": "dev.mccue.jvm.module",
3
3
"defs": {
4
4
"main": {
5
5
"key": "any",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"variants",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"indexMe": {
15
15
"type": "boolean",
16
16
"default": false
17
17
},
18
18
"variants": {
19
19
"type": "array",
20
20
"items": {
21
21
"ref": "dev.mccue.jvm.module#variant",
22
22
"type": "ref"
23
23
},
24
24
"minLength": 1,
25
25
"description": "Variants of the same module at the same 'version'"
26
26
},
27
27
"createdAt": {
28
28
"type": "string",
29
29
"format": "datetime"
30
30
}
31
31
}
32
32
},
33
33
"description": "A JVM Module published for wider consumption."
34
34
},
35
35
"uses": {
36
36
"type": "object",
37
37
"required": [
38
38
"service"
39
39
],
40
40
"properties": {
41
41
"service": {
42
42
"type": "string",
43
43
"minLength": 3
44
44
}
45
45
}
46
46
},
47
47
"hashes": {
48
48
"type": "object",
49
49
"required": [
50
50
"module",
51
51
"algorithm",
52
52
"hash"
53
53
],
54
54
"properties": {
55
55
"hash": {
56
56
"type": "string",
57
57
"minLength": 1
58
58
},
59
59
"module": {
60
60
"type": "string",
61
61
"minLength": 1
62
62
},
63
63
"algorithm": {
64
64
"type": "string",
65
65
"minLength": 1
66
66
}
67
67
}
68
68
},
69
69
"exports": {
70
70
"type": "object",
71
71
"required": [
72
72
"package"
73
73
],
74
74
"properties": {
75
75
"to": {
76
-
"type": "string",
77
-
"minLength": 1
76
+
"type": "array",
77
+
"items": {
78
+
"type": "string",
79
+
"minLength": 1
80
+
}
78
81
},
79
82
"package": {
80
83
"type": "string",
81
84
"minLength": 1
82
85
},
83
86
"mandated": {
84
87
"type": "boolean",
85
88
"default": false
86
89
},
87
90
"synthetic": {
88
91
"type": "boolean",
89
92
"default": false
90
93
}
91
94
}
92
95
},
93
96
"variant": {
94
97
"type": "object",
95
98
"required": [
96
99
"artifact"
97
100
],
98
101
"properties": {
99
102
"license": {
100
103
"type": "string",
101
104
"description": "SPDX License String"
102
105
},
103
106
"artifact": {
104
107
"type": "blob",
105
108
"accept": [
106
109
"application/zip",
107
110
"application/java-archive"
108
111
],
109
112
"maxSize": 10000000
110
113
},
111
114
"copiedFrom": {
112
115
"ref": "com.atproto.repo.strongRef",
113
116
"type": "ref",
114
117
"description": "A reference to where this module was copied from."
115
118
},
116
119
"moduleInfo": {
117
120
"ref": "dev.mccue.jvm.module#moduleInfo",
118
121
"type": "ref"
119
122
},
120
123
"billOfMaterials": {
121
124
"type": "string",
122
125
"description": "SBOM in CycloneDX format"
123
126
},
124
127
"cpuArchitecture": {
125
128
"type": "string"
126
129
},
127
130
"operatingSystem": {
128
131
"type": "string"
129
132
}
130
133
}
131
134
},
132
135
"packages": {
133
136
"type": "object",
134
137
"required": [
135
138
"package"
136
139
],
137
140
"properties": {
138
141
"package": {
139
142
"type": "string",
140
143
"minLength": 1
141
144
}
142
145
}
143
146
},
144
147
"provides": {
145
148
"type": "object",
146
149
"required": [
147
150
"service",
148
151
"with"
149
152
],
150
153
"properties": {
151
154
"with": {
152
155
"type": "string",
153
156
"minLength": 3
154
157
},
155
158
"service": {
156
159
"type": "string",
157
160
"minLength": 3
158
161
}
159
162
}
160
163
},
161
164
"requires": {
162
165
"type": "object",
163
166
"required": [
164
167
"module"
165
168
],
166
169
"properties": {
167
170
"module": {
168
171
"type": "string",
169
172
"minLength": 1
170
173
},
171
174
"static": {
172
175
"type": "boolean",
173
176
"default": false
174
177
},
175
178
"version": {
176
179
"type": "string",
177
180
"minLength": 1
178
181
},
179
182
"mandated": {
180
183
"type": "boolean",
181
184
"default": false
182
185
},
183
186
"synthetic": {
184
187
"type": "boolean",
185
188
"default": false
186
189
},
187
190
"transitive": {
188
191
"type": "boolean",
189
192
"default": false
190
193
}
191
194
}
192
195
},
193
196
"moduleInfo": {
194
197
"type": "object",
195
198
"required": [
196
199
"name"
197
200
],
198
201
"properties": {
199
202
"name": {
200
203
"type": "string",
201
204
"minLength": 1
202
205
},
203
206
"uses": {
204
207
"type": "array",
205
208
"items": {
206
209
"ref": "dev.mccue.jvm.module#uses",
207
210
"type": "ref"
208
211
}
209
212
},
210
213
"hashes": {
211
214
"type": "array",
212
215
"items": {
213
216
"ref": "dev.mccue.jvm.module#hashes",
214
217
"type": "ref"
215
218
}
216
219
},
217
220
"exports": {
218
221
"type": "array",
219
222
"items": {
220
223
"ref": "dev.mccue.jvm.module#exports",
221
224
"type": "ref"
222
225
}
223
226
},
224
227
"version": {
225
228
"type": "string",
226
229
"minLength": 1
227
230
},
228
231
"mandated": {
229
232
"type": "boolean",
230
233
"default": false
231
234
},
232
235
"packages": {
233
236
"type": "array",
234
237
"items": {
235
238
"ref": "dev.mccue.jvm.module#requires",
236
239
"type": "ref"
237
240
}
238
241
},
239
242
"provides": {
240
243
"type": "array",
241
244
"items": {
242
245
"ref": "dev.mccue.jvm.module#provides",
243
246
"type": "ref"
244
247
}
245
248
},
246
249
"requires": {
247
250
"type": "array",
248
251
"items": {
249
252
"ref": "dev.mccue.jvm.module#requires",
250
253
"type": "ref"
251
254
}
252
255
},
253
256
"synthetic": {
254
257
"type": "boolean",
255
258
"default": false
256
259
},
257
260
"targetPlatform": {
258
261
"type": "string",
259
262
"minLength": 1
260
263
}
261
264
}
262
265
}
263
266
},
264
267
"$type": "com.atproto.lexicon.schema",
265
268
"lexicon": 1
266
269
}