# technology.agave.marketplace.defs

> Published by [catalogue.agave.technology](https://lexicon.garden/identity/did:plc:jgjchylj237en76b3hi2xu4g)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jgjchylj237en76b3hi2xu4g/technology.agave.marketplace.defs/examples)

## Definitions

### `technology.agave.marketplace.defs#actorView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `displayName` | `string` | No |  |
| `handle` | `string` (handle) | Yes | handle.invalid when the account's handle does not resolve back to its DID. |

### `technology.agave.marketplace.defs#archiveView`

**Type**: `object`

A version's archive blob. technology.agave.marketplace.getBlob serves it from the mirror, com.atproto.sync.getBlob from the author's PDS.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `mimeType` | `string` | Yes |  |
| `size` | `integer` | Yes |  |

### `technology.agave.marketplace.defs#blockView`

**Type**: `object`

The newest published version of one author's slug, with what its manifest says.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `archive` | `ref` → `#archiveView` | Yes |  |
| `author` | `ref` → `#actorView` | Yes |  |
| `capabilities` | `array` | No | A block manifest's provides and uses, in that order, without repeats. |
| `category` | `string` | No | A connector manifest's category. |
| `cid` | `string` (cid) | Yes | The CID of the technology.agave.blockVersion record. |
| `createdAt` | `string` (datetime) | Yes | The record's createdAt. |
| `description` | `string` | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `kind` | `string` | Yes |  |
| `reach` | `string` | No | A connector manifest's reach. |
| `slug` | `string` | Yes |  |
| `title` | `string` | Yes |  |
| `tree` | `string` | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `uses` | `integer` | Yes | Copies of this slug, any version, summed over the latest report of every instance. |
| `verified` | `boolean` | Yes | The marketplace's operator vouches for this version's author. |
| `version` | `integer` | Yes |  |

### `technology.agave.marketplace.defs#versionView`

**Type**: `object`

One version of a slug, withdrawn or not.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `archive` | `ref` → `#archiveView` | Yes |  |
| `cid` | `string` (cid) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `version` | `integer` | Yes |  |
| `withdrawnAt` | `string` (datetime) | No | Present once the record is deleted from its repository. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "actorView": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "description": "handle.invalid when the account's handle does not resolve back to its DID.",
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did",
        "handle"
      ],
      "type": "object"
    },
    "archiveView": {
      "description": "A version's archive blob. technology.agave.marketplace.getBlob serves it from the mirror, com.atproto.sync.getBlob from the author's PDS.",
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "mimeType": {
          "type": "string"
        },
        "size": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "cid",
        "size",
        "mimeType"
      ],
      "type": "object"
    },
    "blockView": {
      "description": "The newest published version of one author's slug, with what its manifest says.",
      "properties": {
        "archive": {
          "ref": "#archiveView",
          "type": "ref"
        },
        "author": {
          "ref": "#actorView",
          "type": "ref"
        },
        "capabilities": {
          "description": "A block manifest's provides and uses, in that order, without repeats.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "category": {
          "description": "A connector manifest's category.",
          "type": "string"
        },
        "cid": {
          "description": "The CID of the technology.agave.blockVersion record.",
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "description": "The record's createdAt.",
          "format": "datetime",
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "block",
            "connector"
          ],
          "type": "string"
        },
        "reach": {
          "description": "A connector manifest's reach.",
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "tree": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "uses": {
          "description": "Copies of this slug, any version, summed over the latest report of every instance.",
          "minimum": 0,
          "type": "integer"
        },
        "verified": {
          "description": "The marketplace's operator vouches for this version's author.",
          "type": "boolean"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "slug",
        "kind",
        "version",
        "title",
        "description",
        "archive",
        "tree",
        "createdAt",
        "indexedAt",
        "uses",
        "verified"
      ],
      "type": "object"
    },
    "versionView": {
      "description": "One version of a slug, withdrawn or not.",
      "properties": {
        "archive": {
          "ref": "#archiveView",
          "type": "ref"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "version": {
          "type": "integer"
        },
        "withdrawnAt": {
          "description": "Present once the record is deleted from its repository.",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "version",
        "archive",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    }
  },
  "id": "technology.agave.marketplace.defs",
  "lexicon": 1
}
```
