# garden.lexicon.exultant-zebra.distribution

> A distribution of an application.

- Kind: record
- Record key: tid
- Authority: exultant-zebra.lexicon.garden
- Lexicon: 1
- Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/garden.lexicon.exultant-zebra.distribution)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/garden.lexicon.exultant-zebra.distribution/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/garden.lexicon.exultant-zebra.distribution/analytics)

## Record (`garden.lexicon.exultant-zebra.distribution`)

Type: record · key tid

### Properties

- `artifacts` (array, required): The list of downloadable artifacts for this distribution.
  - `items` (ref)
    - Reference: `#artifact`
- `description` (string): An optional description of this distribution.
- `version` (string, required): The version of this distribution, e.g. '0.14.0'.

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

Type: object

A downloadable artifact within a distribution.

### Properties

- `description` (string): An optional description of this artifact.
- `download` (blob, required): The downloadable binary.
  - Constraints: accept: */*
- `tags` (array): Optional tags describing this artifact, e.g. 'aarch64', 'apple-darwin', 'linux'.
  - `items` (string)

## Schema

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