dev.mccue.jvm.module

mccue.dev

Schema Diff

+23 -5

From

CID
bafyreic4dyjjh4r...
Indexed At
2026-05-30 18:46 UTC
View this version

To

CID
bafyreicq5mwjxtb...
Indexed At
2026-05-30 20:42 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

2 breaking changes, 7 non-breaking changes.

Breaking Changes (2)
  • 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") }
Non-Breaking Changes (7)
  • 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") }

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" }

Additional Notes

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

Compare Other Versions

Lexicon Garden

@