# dev.mccue.jvm.index

> 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.index)
- [Documentation](https://lexicon.garden/lexicon/did:plc:dt7fth2hmap6wya7uyyl2g3v/dev.mccue.jvm.index/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:dt7fth2hmap6wya7uyyl2g3v/dev.mccue.jvm.index/examples)

## Definitions

### `dev.mccue.jvm.index`

**Type**: `record`

An index of where one might find a particular module

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `providers` | `array` | Yes |  |

### `dev.mccue.jvm.index#provider`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `versions` | `array` | No |  |

### `dev.mccue.jvm.index#moduleVersion`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `module` | `ref` → `com.atproto.repo.strongRef` | Yes | A reference to the module in the provider repo |
| `version` | `string` | Yes |  |
| `moduleInfo` | `ref` → `dev.mccue.jvm.moduleInfo` | No |  |

## Raw Schema

```json
{
  "id": "dev.mccue.jvm.index",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "providers"
        ],
        "properties": {
          "providers": {
            "type": "array",
            "items": {
              "ref": "dev.mccue.jvm.index#provider",
              "type": "ref"
            }
          }
        }
      },
      "description": "An index of where one might find a particular module"
    },
    "provider": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "versions": {
          "type": "array",
          "items": {
            "ref": "dev.mccue.jvm.index#moduleVersion",
            "type": "ref"
          }
        }
      }
    },
    "moduleVersion": {
      "type": "object",
      "required": [
        "version",
        "module"
      ],
      "properties": {
        "module": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref",
          "description": "A reference to the module in the provider repo"
        },
        "version": {
          "type": "string",
          "minLength": 1
        },
        "moduleInfo": {
          "ref": "dev.mccue.jvm.moduleInfo",
          "type": "ref"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
