dev.mccue.jvm.module
Schema Diff
+21 -15
Compatibility Analysis
Breaking Changes Detected
16 breaking changes, 9 non-breaking changes.
Breaking Changes (16)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.mccue.jvm.module#attribute", src: "dev.mccue.jvm.module#attribute", tgt: "dev.mccue.jvm.module#attribute.name", kind: "prop", name: Some("name") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.mccue.jvm.module#attribute", src: "dev.mccue.jvm.module#attribute", tgt: "dev.mccue.jvm.module#attribute.value", kind: "prop", name: Some("value") }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.cpuArchitecture" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.billOfMaterials" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.cpuArchitecture" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.moduleInfo" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.operatingSystem" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.moduleInfo" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.operatingSystem" }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.cpuArchitecture", kind: "prop", name: Some("cpuArchitecture") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.moduleInfo", kind: "prop", name: Some("moduleInfo") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.operatingSystem", kind: "prop", name: Some("operatingSystem") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant.cpuArchitecture", tgt: "dev.mccue.jvm.cpuArchitecture", kind: "ref", name: None }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant.moduleInfo", tgt: "dev.mccue.jvm.moduleInfo", kind: "ref", name: None }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant.operatingSystem", tgt: "dev.mccue.jvm.operatingSystem", kind: "ref", name: None }
Non-Breaking Changes (9)
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#attribute" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#attribute.name" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#attribute.value" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.attributes" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.attributes:items" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.module#attribute" }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.attributes", kind: "prop", name: Some("attributes") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant.attributes", tgt: "dev.mccue.jvm.module#variant.attributes:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant.attributes:items", tgt: "dev.mccue.module#attribute", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "dev.mccue.jvm.cpuArchitecture" }RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.billOfMaterials" }RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.cpuArchitecture" }RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.moduleInfo" }RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.operatingSystem" }RemovedVertex { vertex_id: "dev.mccue.jvm.moduleInfo" }RemovedVertex { vertex_id: "dev.mccue.jvm.operatingSystem" }
Added Elements
AddedVertex { vertex_id: "dev.mccue.jvm.module#attribute" }AddedVertex { vertex_id: "dev.mccue.jvm.module#attribute.name" }AddedVertex { vertex_id: "dev.mccue.jvm.module#attribute.value" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.attributes" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.attributes:items" }AddedVertex { vertex_id: "dev.mccue.module#attribute" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.mccue.jvm.module#attribute", src: "dev.mccue.jvm.module#attribute", tgt: "dev.mccue.jvm.module#attribute.name", kind: "prop", name: Some("name") }
- Breaking: RequiredEdgeAdded { vertex_id: "dev.mccue.jvm.module#attribute", src: "dev.mccue.jvm.module#attribute", tgt: "dev.mccue.jvm.module#attribute.value", kind: "prop", name: Some("value") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.cpuArchitecture", kind: "prop", name: Some("cpuArchitecture") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.moduleInfo", kind: "prop", name: Some("moduleInfo") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.operatingSystem", kind: "prop", name: Some("operatingSystem") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant.cpuArchitecture", tgt: "dev.mccue.jvm.cpuArchitecture", kind: "ref", name: None }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant.moduleInfo", tgt: "dev.mccue.jvm.moduleInfo", kind: "ref", name: None }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant.operatingSystem", tgt: "dev.mccue.jvm.operatingSystem", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.attributes", kind: "prop", name: Some("attributes") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant.attributes", tgt: "dev.mccue.jvm.module#variant.attributes:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant.attributes:items", tgt: "dev.mccue.module#attribute", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
+
"attribute": {
5
+
"properties": {
6
+
"name": {
7
+
"type": "string"
8
+
},
9
+
"value": {
10
+
"type": "string"
11
+
}
12
+
},
13
+
"required": [
14
+
"name",
15
+
"value"
16
+
],
17
+
"type": "object"
18
+
},
4
19
"main": {
5
20
"description": "A JVM Module published for wider consumption.",
6
21
"key": "any",
7
22
"record": {
8
23
"properties": {
9
24
"createdAt": {
10
25
"format": "datetime",
11
26
"type": "string"
12
27
},
13
28
"indexMe": {
14
29
"default": false,
15
30
"type": "boolean"
16
31
},
17
32
"variants": {
18
33
"description": "Variants of the same module at the same 'version'",
19
34
"items": {
20
35
"ref": "dev.mccue.jvm.module#variant",
21
36
"type": "ref"
22
37
},
23
38
"minLength": 1,
24
39
"type": "array"
25
40
}
26
41
},
27
42
"required": [
28
43
"variants",
29
44
"createdAt"
30
45
],
31
46
"type": "object"
32
47
},
33
48
"type": "record"
34
49
},
35
50
"url": {
36
51
"description": "Url where a module was sourced from. May be a package url such as pkg:maven/org.slf4j/slf4j-api@2.0.18 or a \"normal\" url like https://download.oracle.com/java/25/latest/jdk-25_windows-x64_bin.zip.",
37
52
"properties": {
38
53
"url": {
39
54
"type": "string"
40
55
}
41
56
},
42
57
"required": [
43
58
"url"
44
59
],
45
60
"type": "object"
46
61
},
47
62
"variant": {
48
63
"properties": {
49
64
"artifact": {
50
65
"accept": [
51
66
"application/zip",
52
67
"application/java-archive"
53
68
],
54
69
"maxSize": 10000000,
55
70
"type": "blob"
56
71
},
57
-
"billOfMaterials": {
58
-
"description": "SBOM in CycloneDX format",
59
-
"type": "string"
60
-
},
61
-
"cpuArchitecture": {
62
-
"ref": "dev.mccue.jvm.cpuArchitecture",
63
-
"type": "ref"
72
+
"attributes": {
73
+
"items": {
74
+
"ref": "dev.mccue.module#attribute",
75
+
"type": "ref"
76
+
},
77
+
"type": "array"
64
78
},
65
79
"license": {
66
80
"description": "SPDX License String",
67
81
"type": "string"
68
-
},
69
-
"moduleInfo": {
70
-
"ref": "dev.mccue.jvm.moduleInfo",
71
-
"type": "ref"
72
-
},
73
-
"operatingSystem": {
74
-
"ref": "dev.mccue.jvm.operatingSystem",
75
-
"type": "ref"
76
82
},
77
83
"sourcedFrom": {
78
84
"description": "A reference to where this module was copied from.",
79
85
"refs": [
80
86
"com.atproto.repo.strongRef",
81
87
"dev.mccue.jvm.module#url"
82
88
],
83
89
"type": "union"
84
90
}
85
91
},
86
92
"required": [
87
93
"artifact"
88
94
],
89
95
"type": "object"
90
96
}
91
97
},
92
98
"id": "dev.mccue.jvm.module",
93
99
"lexicon": 1
94
100
}