# garden.lexicon.exultant-zebra.distribution

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/garden.lexicon.exultant-zebra.distribution)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/garden.lexicon.exultant-zebra.distribution/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/garden.lexicon.exultant-zebra.distribution/examples)

## Definitions

### `garden.lexicon.exultant-zebra.distribution`

**Type**: `record`

A distribution of an application.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `version` | `string` | Yes | The version of this distribution, e.g. '0.14.0'. |
| `artifacts` | `array` | Yes | The list of downloadable artifacts for this distribution. |
| `description` | `string` | No | An optional description of this distribution. |

### `garden.lexicon.exultant-zebra.distribution#artifact`

**Type**: `object`

A downloadable artifact within a distribution.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `array` | No | Optional tags describing this artifact, e.g. 'aarch64', 'apple-darwin', 'linux'. |
| `download` | `blob` | Yes | The downloadable binary. |
| `description` | `string` | No | An optional description of this artifact. |

## Raw Schema

```json
{
  "id": "garden.lexicon.exultant-zebra.distribution",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "version",
          "artifacts"
        ],
        "properties": {
          "version": {
            "type": "string",
            "description": "The version of this distribution, e.g. '0.14.0'."
          },
          "artifacts": {
            "type": "array",
            "items": {
              "ref": "#artifact",
              "type": "ref"
            },
            "description": "The list of downloadable artifacts for this distribution."
          },
          "description": {
            "type": "string",
            "description": "An optional description of this distribution."
          }
        }
      },
      "description": "A distribution of an application."
    },
    "artifact": {
      "type": "object",
      "required": [
        "download"
      ],
      "properties": {
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional tags describing this artifact, e.g. 'aarch64', 'apple-darwin', 'linux'."
        },
        "download": {
          "type": "blob",
          "accept": [
            "*/*"
          ],
          "description": "The downloadable binary."
        },
        "description": {
          "type": "string",
          "description": "An optional description of this artifact."
        }
      },
      "description": "A downloadable artifact within a distribution."
    }
  },
  "lexicon": 1
}
```
