dev.mccue.jvm.module

mccue.dev

Schema Diff

+31 -5

From

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

To

CID
bafyreih5f264bga...
Indexed At
2026-05-30 20:55 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

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

Compare Other Versions

Lexicon Garden

@