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