dev.mccue.jvm.module
Schema Diff
+45 -18
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 17 non-breaking changes.
Breaking Changes (6)
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.artifact" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.billOfMaterials" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.license" }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.artifact", kind: "prop", name: Some("artifact") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.license", kind: "prop", name: Some("license") }
Non-Breaking Changes (17)
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.artifact" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.billOfMaterials" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.copiedFrom" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.cpuArchitecture" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.license" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.operatingSystem" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module:body.variants" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items" }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.artifact", kind: "prop", name: Some("artifact") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.copiedFrom", kind: "prop", name: Some("copiedFrom") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.cpuArchitecture", kind: "prop", name: Some("cpuArchitecture") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.license", kind: "prop", name: Some("license") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.operatingSystem", kind: "prop", name: Some("operatingSystem") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.variants", kind: "prop", name: Some("variants") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module:body.variants", tgt: "dev.mccue.jvm.module:body.variants:items", kind: "items", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.artifact" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.billOfMaterials" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.license" }
Added Elements
AddedVertex { vertex_id: "dev.mccue.jvm.module#variant" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.artifact" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.billOfMaterials" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.copiedFrom" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.cpuArchitecture" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.license" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.operatingSystem" }AddedVertex { vertex_id: "dev.mccue.jvm.module:body.variants" }AddedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items" }
Additional Notes
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.artifact", kind: "prop", name: Some("artifact") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.license", kind: "prop", name: Some("license") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.artifact", kind: "prop", name: Some("artifact") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.copiedFrom", kind: "prop", name: Some("copiedFrom") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.cpuArchitecture", kind: "prop", name: Some("cpuArchitecture") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.license", kind: "prop", name: Some("license") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.operatingSystem", kind: "prop", name: Some("operatingSystem") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module:body", tgt: "dev.mccue.jvm.module:body.variants", kind: "prop", name: Some("variants") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module:body.variants", tgt: "dev.mccue.jvm.module:body.variants: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
-
"artifact",
10
+
"variants",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"indexMe": {
15
15
"type": "boolean",
16
-
"default": false,
17
-
"description": "Whether this module should is intented for listing on public indexes"
16
+
"default": false
18
17
},
19
-
"license": {
20
-
"type": "string",
21
-
"description": "SPDX License String"
22
-
},
23
-
"artifact": {
24
-
"type": "blob",
25
-
"accept": [
26
-
"application/zip",
27
-
"application/java-archive"
28
-
],
29
-
"maxSize": 10000000
18
+
"variants": {
19
+
"type": "array",
20
+
"items": {
21
+
"ref": "dev.mccue.jvm.module#variant",
22
+
"type": "ref"
23
+
},
24
+
"minLength": 1,
25
+
"description": "Variants of the same module at the same 'version'"
30
26
},
31
27
"createdAt": {
32
28
"type": "string",
33
29
"format": "datetime"
34
-
},
35
-
"billOfMaterials": {
36
-
"type": "string",
37
-
"description": "SBOM in CycloneDX format"
38
30
}
39
31
}
40
32
},
41
33
"description": "A JVM Module published for wider consumption."
34
+
},
35
+
"variant": {
36
+
"type": "object",
37
+
"required": [
38
+
"artifact"
39
+
],
40
+
"properties": {
41
+
"license": {
42
+
"type": "string",
43
+
"description": "SPDX License String"
44
+
},
45
+
"artifact": {
46
+
"type": "blob",
47
+
"accept": [
48
+
"application/zip",
49
+
"application/java-archive"
50
+
],
51
+
"maxSize": 10000000
52
+
},
53
+
"copiedFrom": {
54
+
"ref": "com.atproto.repo.strongRef",
55
+
"type": "ref",
56
+
"description": "A reference to where this module was copied from."
57
+
},
58
+
"billOfMaterials": {
59
+
"type": "string",
60
+
"description": "SBOM in CycloneDX format"
61
+
},
62
+
"cpuArchitecture": {
63
+
"type": "string"
64
+
},
65
+
"operatingSystem": {
66
+
"type": "string"
67
+
}
68
+
}
42
69
}
43
70
},
44
71
"$type": "com.atproto.lexicon.schema",
45
72
"lexicon": 1
46
73
}