dev.mccue.jvm.module
Schema Diff
+23 -5
Compatibility Analysis
Breaking Changes Detected
5 breaking changes, 9 non-breaking changes.
Breaking Changes (5)
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.copiedFrom" }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.copiedFrom", kind: "prop", name: Some("copiedFrom") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module#variant.copiedFrom", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module#variant.cpuArchitecture", sort: "knownValues", value: "[\"amd64\",\"aarch64\"]" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module#variant.operatingSystem", sort: "knownValues", value: "[\"windows\",\"macos\",\"linux\"]" }
Non-Breaking Changes (9)
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#url" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.sourcedFrom" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.sourcedFrom:variant0" }
- AddedVertex AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.sourcedFrom:variant1" }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.sourcedFrom", kind: "prop", name: Some("sourcedFrom") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom", tgt: "dev.mccue.jvm.module#variant.sourcedFrom:variant0", kind: "variant", name: Some("com.atproto.repo.strongRef") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom", tgt: "dev.mccue.jvm.module#variant.sourcedFrom:variant1", kind: "variant", name: Some("dev.mccue.jvm.module#url") }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom:variant0", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom:variant1", tgt: "dev.mccue.jvm.module#url", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "dev.mccue.jvm.module#variant.copiedFrom" }
Added Elements
AddedVertex { vertex_id: "dev.mccue.jvm.module#url" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.sourcedFrom" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.sourcedFrom:variant0" }AddedVertex { vertex_id: "dev.mccue.jvm.module#variant.sourcedFrom:variant1" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module#variant.cpuArchitecture", sort: "knownValues", value: "[\"amd64\",\"aarch64\"]" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module#variant.operatingSystem", sort: "knownValues", value: "[\"windows\",\"macos\",\"linux\"]" }
Additional Notes
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.copiedFrom", kind: "prop", name: Some("copiedFrom") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module#variant.copiedFrom", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.sourcedFrom", kind: "prop", name: Some("sourcedFrom") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom", tgt: "dev.mccue.jvm.module#variant.sourcedFrom:variant0", kind: "variant", name: Some("com.atproto.repo.strongRef") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom", tgt: "dev.mccue.jvm.module#variant.sourcedFrom:variant1", kind: "variant", name: Some("dev.mccue.jvm.module#url") }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom:variant0", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module#variant.sourcedFrom:variant1", tgt: "dev.mccue.jvm.module#url", 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
+
"url": {
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
+
"type": "string"
38
+
},
35
39
"variant": {
36
40
"properties": {
37
41
"artifact": {
38
42
"accept": [
39
43
"application/zip",
40
44
"application/java-archive"
41
45
],
42
46
"maxSize": 10000000,
43
47
"type": "blob"
44
48
},
45
49
"billOfMaterials": {
46
50
"description": "SBOM in CycloneDX format",
47
51
"type": "string"
48
-
},
49
-
"copiedFrom": {
50
-
"description": "A reference to where this module was copied from.",
51
-
"ref": "com.atproto.repo.strongRef",
52
-
"type": "ref"
53
52
},
54
53
"cpuArchitecture": {
54
+
"description": "The cpu architecture that the module is specific to.",
55
+
"knownValues": [
56
+
"amd64",
57
+
"aarch64"
58
+
],
55
59
"type": "string"
56
60
},
57
61
"license": {
58
62
"description": "SPDX License String",
59
63
"type": "string"
60
64
},
61
65
"operatingSystem": {
66
+
"description": "The operating system that the module is specific to.",
67
+
"knownValues": [
68
+
"windows",
69
+
"macos",
70
+
"linux"
71
+
],
62
72
"type": "string"
73
+
},
74
+
"sourcedFrom": {
75
+
"description": "A reference to where this module was copied from.",
76
+
"refs": [
77
+
"com.atproto.repo.strongRef",
78
+
"dev.mccue.jvm.module#url"
79
+
],
80
+
"type": "union"
63
81
}
64
82
},
65
83
"required": [
66
84
"artifact"
67
85
],
68
86
"type": "object"
69
87
}
70
88
},
71
89
"id": "dev.mccue.jvm.module",
72
90
"lexicon": 1
73
91
}