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