# space.stau.nix.release

> Published by [stau.space](https://lexicon.garden/identity/did:plc:6n2ngs7zpcpwxz3jaoxj56tu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6n2ngs7zpcpwxz3jaoxj56tu/space.stau.nix.release)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6n2ngs7zpcpwxz3jaoxj56tu/space.stau.nix.release/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6n2ngs7zpcpwxz3jaoxj56tu/space.stau.nix.release/examples)

## Definitions

### `space.stau.nix.release`

**Type**: `record`

This describes a nix release

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `rev` | `string` | Yes | A Git or Mercurial commit hash |
| `source` | `string` (uri) | Yes |  |
| `narHash` | `string` | Yes | The hash of the Nix Archive (NAR) serialization (in SRI format) of the contents of the flake |
| `description` | `string` | No |  |
| `publishedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "space.stau.nix.release",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "rev",
          "narHash",
          "source",
          "publishedAt"
        ],
        "properties": {
          "rev": {
            "type": "string",
            "maxLength": 40,
            "minLength": 40,
            "description": "A Git or Mercurial commit hash",
            "maxGraphemes": 40,
            "minGraphemes": 40
          },
          "source": {
            "type": "string",
            "format": "uri",
            "maxLength": 2048,
            "maxGraphemes": 2048
          },
          "narHash": {
            "type": "string",
            "maxLength": 51,
            "minLength": 51,
            "description": "The hash of the Nix Archive (NAR) serialization (in SRI format) of the contents of the flake",
            "maxGraphemes": 51,
            "minGraphemes": 51
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "publishedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "This describes a nix release"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
