# dev.mccue.jvm.module

> Published by [mccue.dev](https://lexicon.garden/identity/did:plc:dt7fth2hmap6wya7uyyl2g3v)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:dt7fth2hmap6wya7uyyl2g3v/dev.mccue.jvm.module)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dt7fth2hmap6wya7uyyl2g3v/dev.mccue.jvm.module/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dt7fth2hmap6wya7uyyl2g3v/dev.mccue.jvm.module/examples)

## Definitions

### `dev.mccue.jvm.module`

**Type**: `record`

A JVM Module published for wider consumption.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `indexMe` | `boolean` | No |  |
| `variants` | `array` | Yes | Variants of the same module at the same 'version' |
| `createdAt` | `string` (datetime) | Yes |  |

### `dev.mccue.jvm.module#variant`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `license` | `string` | No | SPDX License String |
| `artifact` | `blob` | Yes |  |
| `copiedFrom` | `ref` → `com.atproto.repo.strongRef` | No | A reference to where this module was copied from. |
| `billOfMaterials` | `string` | No | SBOM in CycloneDX format |
| `cpuArchitecture` | `string` | No |  |
| `operatingSystem` | `string` | No |  |

## Raw Schema

```json
{
  "id": "dev.mccue.jvm.module",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "variants",
          "createdAt"
        ],
        "properties": {
          "indexMe": {
            "type": "boolean",
            "default": false
          },
          "variants": {
            "type": "array",
            "items": {
              "ref": "dev.mccue.jvm.module#variant",
              "type": "ref"
            },
            "minLength": 1,
            "description": "Variants of the same module at the same 'version'"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A JVM Module published for wider consumption."
    },
    "variant": {
      "type": "object",
      "required": [
        "artifact"
      ],
      "properties": {
        "license": {
          "type": "string",
          "description": "SPDX License String"
        },
        "artifact": {
          "type": "blob",
          "accept": [
            "application/zip",
            "application/java-archive"
          ],
          "maxSize": 10000000
        },
        "copiedFrom": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref",
          "description": "A reference to where this module was copied from."
        },
        "billOfMaterials": {
          "type": "string",
          "description": "SBOM in CycloneDX format"
        },
        "cpuArchitecture": {
          "type": "string"
        },
        "operatingSystem": {
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
