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