# nyc.noirot.cad.archive

> Published by [franknoirot.co](https://lexicon.garden/identity/did:plc:5dwcnpy3p6afki4rwv7gqegd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5dwcnpy3p6afki4rwv7gqegd/nyc.noirot.cad.archive)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5dwcnpy3p6afki4rwv7gqegd/nyc.noirot.cad.archive/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5dwcnpy3p6afki4rwv7gqegd/nyc.noirot.cad.archive/examples)

## Definitions

### `nyc.noirot.cad.archive`

**Type**: `record`

Immutable whole-project ZDS archive snapshot.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `source` | `string` | No |  |
| `project` | `ref` → `nyc.noirot.cad.defs#strongRef` | Yes |  |
| `manifest` | `ref` → `nyc.noirot.cad.defs#archiveManifest` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `archiveBlob` | `blob` | Yes |  |
| `archiveSha256` | `string` | Yes |  |
| `entrypointPath` | `string` | Yes |  |
| `archiveByteSize` | `integer` | Yes |  |
| `projectTomlPath` | `string` | Yes |  |
| `zdsSchemaVersion` | `integer` | No |  |

## Raw Schema

```json
{
  "id": "nyc.noirot.cad.archive",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "project",
          "archiveBlob",
          "archiveSha256",
          "archiveByteSize",
          "entrypointPath",
          "projectTomlPath",
          "createdAt"
        ],
        "properties": {
          "source": {
            "type": "string",
            "maxLength": 256
          },
          "project": {
            "ref": "nyc.noirot.cad.defs#strongRef",
            "type": "ref"
          },
          "manifest": {
            "ref": "nyc.noirot.cad.defs#archiveManifest",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "archiveBlob": {
            "type": "blob",
            "accept": [
              "application/zip",
              "application/octet-stream"
            ]
          },
          "archiveSha256": {
            "type": "string",
            "maxLength": 64,
            "minLength": 64
          },
          "entrypointPath": {
            "type": "string",
            "maxLength": 2048
          },
          "archiveByteSize": {
            "type": "integer",
            "minimum": 0
          },
          "projectTomlPath": {
            "type": "string",
            "maxLength": 2048
          },
          "zdsSchemaVersion": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "description": "Immutable whole-project ZDS archive snapshot."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
