dev.mccue.jvm.module
Schema Diff
+37 -33
Compatibility Analysis
Breaking Changes Detected
16 breaking changes, 15 non-breaking changes.
Breaking Changes (16)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.mccue.jvm.module#variant", src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.artifact", kind: "prop", name: Some("artifact") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "dev.mccue.jvm.module:body.variants:items", src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.artifact", kind: "prop", name: Some("artifact") }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.artifact" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.billOfMaterials" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.copiedFrom" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.cpuArchitecture" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.license" }
- RemovedVertex RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.operatingSystem" }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.copiedFrom", kind: "prop", name: Some("copiedFrom") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.cpuArchitecture", kind: "prop", name: Some("cpuArchitecture") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.license", kind: "prop", name: Some("license") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.operatingSystem", kind: "prop", name: Some("operatingSystem") }
- RemovedEdge RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items.copiedFrom", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- KindChanged KindChanged { vertex_id: "dev.mccue.jvm.module:body.variants:items", old_kind: "object", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module:body.variants:items", sort: "ref", value: "variant" }
Non-Breaking Changes (15)
- 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: "variant" }
- 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#variant.copiedFrom", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "variant", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.artifact" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.billOfMaterials" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.copiedFrom" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.cpuArchitecture" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.license" }RemovedVertex { vertex_id: "dev.mccue.jvm.module:body.variants:items.operatingSystem" }
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: "variant" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "dev.mccue.jvm.module:body.variants:items", sort: "ref", value: "variant" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.mccue.jvm.module#variant", src: "dev.mccue.jvm.module#variant", tgt: "dev.mccue.jvm.module#variant.artifact", kind: "prop", name: Some("artifact") }
- Breaking: RequiredEdgeRemoved { vertex_id: "dev.mccue.jvm.module:body.variants:items", src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.artifact", kind: "prop", name: Some("artifact") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.billOfMaterials", kind: "prop", name: Some("billOfMaterials") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.copiedFrom", kind: "prop", name: Some("copiedFrom") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.cpuArchitecture", kind: "prop", name: Some("cpuArchitecture") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.license", kind: "prop", name: Some("license") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "dev.mccue.jvm.module:body.variants:items.operatingSystem", kind: "prop", name: Some("operatingSystem") }
- Breaking: RemovedEdge { src: "dev.mccue.jvm.module:body.variants:items.copiedFrom", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- Breaking: KindChanged { vertex_id: "dev.mccue.jvm.module:body.variants:items", old_kind: "object", new_kind: "ref" }
- 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#variant.copiedFrom", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "dev.mccue.jvm.module:body.variants:items", tgt: "variant", 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
-
"properties": {
21
-
"artifact": {
22
-
"accept": [
23
-
"application/zip",
24
-
"application/java-archive"
25
-
],
26
-
"maxSize": 10000000,
27
-
"type": "blob"
28
-
},
29
-
"billOfMaterials": {
30
-
"description": "SBOM in CycloneDX format",
31
-
"type": "string"
32
-
},
33
-
"copiedFrom": {
34
-
"description": "A reference to where this module was copied from.",
35
-
"ref": "com.atproto.repo.strongRef",
36
-
"type": "ref"
37
-
},
38
-
"cpuArchitecture": {
39
-
"type": "string"
40
-
},
41
-
"license": {
42
-
"description": "SPDX License String",
43
-
"type": "string"
44
-
},
45
-
"operatingSystem": {
46
-
"type": "string"
47
-
}
48
-
},
49
-
"required": [
50
-
"artifact"
51
-
],
52
-
"type": "object"
20
+
"ref": "variant",
21
+
"type": "ref"
53
22
},
54
23
"minLength": 1,
55
24
"type": "array"
56
25
}
57
26
},
58
27
"required": [
59
28
"variants",
60
29
"createdAt"
61
30
],
62
31
"type": "object"
63
32
},
64
33
"type": "record"
34
+
},
35
+
"variant": {
36
+
"properties": {
37
+
"artifact": {
38
+
"accept": [
39
+
"application/zip",
40
+
"application/java-archive"
41
+
],
42
+
"maxSize": 10000000,
43
+
"type": "blob"
44
+
},
45
+
"billOfMaterials": {
46
+
"description": "SBOM in CycloneDX format",
47
+
"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
+
},
54
+
"cpuArchitecture": {
55
+
"type": "string"
56
+
},
57
+
"license": {
58
+
"description": "SPDX License String",
59
+
"type": "string"
60
+
},
61
+
"operatingSystem": {
62
+
"type": "string"
63
+
}
64
+
},
65
+
"required": [
66
+
"artifact"
67
+
],
68
+
"type": "object"
65
69
}
66
70
},
67
71
"id": "dev.mccue.jvm.module",
68
72
"lexicon": 1
69
73
}