dev.mccue.jvm.module
Schema Diff
+1 -2
Compatibility Analysis
Backward Compatible
Backward compatible. 1 non-breaking change.
Non-Breaking Changes (1)
- ConstraintRemoved ConstraintRemoved { vertex_id: "dev.mccue.jvm.module#exports.to:items", sort: "minLength" }
Migration Guidance
Constraint Changes
- ConstraintRemoved ConstraintRemoved { vertex_id: "dev.mccue.jvm.module#exports.to:items", sort: "minLength" }
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
76
"type": "array",
77
77
"items": {
78
-
"type": "string",
79
-
"minLength": 1
78
+
"type": "string"
80
79
}
81
80
},
82
81
"package": {
83
82
"type": "string",
84
83
"minLength": 1
85
84
},
86
85
"mandated": {
87
86
"type": "boolean",
88
87
"default": false
89
88
},
90
89
"synthetic": {
91
90
"type": "boolean",
92
91
"default": false
93
92
}
94
93
}
95
94
},
96
95
"variant": {
97
96
"type": "object",
98
97
"required": [
99
98
"artifact"
100
99
],
101
100
"properties": {
102
101
"license": {
103
102
"type": "string",
104
103
"description": "SPDX License String"
105
104
},
106
105
"artifact": {
107
106
"type": "blob",
108
107
"accept": [
109
108
"application/zip",
110
109
"application/java-archive"
111
110
],
112
111
"maxSize": 10000000
113
112
},
114
113
"copiedFrom": {
115
114
"ref": "com.atproto.repo.strongRef",
116
115
"type": "ref",
117
116
"description": "A reference to where this module was copied from."
118
117
},
119
118
"moduleInfo": {
120
119
"ref": "dev.mccue.jvm.module#moduleInfo",
121
120
"type": "ref"
122
121
},
123
122
"billOfMaterials": {
124
123
"type": "string",
125
124
"description": "SBOM in CycloneDX format"
126
125
},
127
126
"cpuArchitecture": {
128
127
"type": "string"
129
128
},
130
129
"operatingSystem": {
131
130
"type": "string"
132
131
}
133
132
}
134
133
},
135
134
"packages": {
136
135
"type": "object",
137
136
"required": [
138
137
"package"
139
138
],
140
139
"properties": {
141
140
"package": {
142
141
"type": "string",
143
142
"minLength": 1
144
143
}
145
144
}
146
145
},
147
146
"provides": {
148
147
"type": "object",
149
148
"required": [
150
149
"service",
151
150
"with"
152
151
],
153
152
"properties": {
154
153
"with": {
155
154
"type": "string",
156
155
"minLength": 3
157
156
},
158
157
"service": {
159
158
"type": "string",
160
159
"minLength": 3
161
160
}
162
161
}
163
162
},
164
163
"requires": {
165
164
"type": "object",
166
165
"required": [
167
166
"module"
168
167
],
169
168
"properties": {
170
169
"module": {
171
170
"type": "string",
172
171
"minLength": 1
173
172
},
174
173
"static": {
175
174
"type": "boolean",
176
175
"default": false
177
176
},
178
177
"version": {
179
178
"type": "string",
180
179
"minLength": 1
181
180
},
182
181
"mandated": {
183
182
"type": "boolean",
184
183
"default": false
185
184
},
186
185
"synthetic": {
187
186
"type": "boolean",
188
187
"default": false
189
188
},
190
189
"transitive": {
191
190
"type": "boolean",
192
191
"default": false
193
192
}
194
193
}
195
194
},
196
195
"moduleInfo": {
197
196
"type": "object",
198
197
"required": [
199
198
"name"
200
199
],
201
200
"properties": {
202
201
"name": {
203
202
"type": "string",
204
203
"minLength": 1
205
204
},
206
205
"uses": {
207
206
"type": "array",
208
207
"items": {
209
208
"ref": "dev.mccue.jvm.module#uses",
210
209
"type": "ref"
211
210
}
212
211
},
213
212
"hashes": {
214
213
"type": "array",
215
214
"items": {
216
215
"ref": "dev.mccue.jvm.module#hashes",
217
216
"type": "ref"
218
217
}
219
218
},
220
219
"exports": {
221
220
"type": "array",
222
221
"items": {
223
222
"ref": "dev.mccue.jvm.module#exports",
224
223
"type": "ref"
225
224
}
226
225
},
227
226
"version": {
228
227
"type": "string",
229
228
"minLength": 1
230
229
},
231
230
"mandated": {
232
231
"type": "boolean",
233
232
"default": false
234
233
},
235
234
"packages": {
236
235
"type": "array",
237
236
"items": {
238
237
"ref": "dev.mccue.jvm.module#requires",
239
238
"type": "ref"
240
239
}
241
240
},
242
241
"provides": {
243
242
"type": "array",
244
243
"items": {
245
244
"ref": "dev.mccue.jvm.module#provides",
246
245
"type": "ref"
247
246
}
248
247
},
249
248
"requires": {
250
249
"type": "array",
251
250
"items": {
252
251
"ref": "dev.mccue.jvm.module#requires",
253
252
"type": "ref"
254
253
}
255
254
},
256
255
"synthetic": {
257
256
"type": "boolean",
258
257
"default": false
259
258
},
260
259
"targetPlatform": {
261
260
"type": "string",
262
261
"minLength": 1
263
262
}
264
263
}
265
264
}
266
265
},
267
266
"$type": "com.atproto.lexicon.schema",
268
267
"lexicon": 1
269
268
}