# cx.vmx.matadisco

> Published by [vmx.cx](https://lexicon.garden/identity/did:plc:3mdq56yhyqq5k6d4guztheaf)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:3mdq56yhyqq5k6d4guztheaf/cx.vmx.matadisco)
- [Documentation](https://lexicon.garden/lexicon/did:plc:3mdq56yhyqq5k6d4guztheaf/cx.vmx.matadisco/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:3mdq56yhyqq5k6d4guztheaf/cx.vmx.matadisco/examples)

## Definitions

### `cx.vmx.matadisco`

**Type**: `record`

A Matadisco record

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `ref` → `#tags` | No |  |
| `preview` | `ref` → `#preview` | No |  |
| `resource` | `string` (uri) | Yes | A URI that links to resource containing the metadata |
| `publishedAt` | `string` (datetime) | Yes | The time the original metadata/data was published |

### `cx.vmx.matadisco#tags`

**Type**: `array`

Tags that describe the metadata. A tag might have a corresponding top-level key with the same name.

**Items**:

Type: `string`

**Constraints**: maxLength: 20

### `cx.vmx.matadisco#preview`

**Type**: `object`

Preview of the data

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | No | The URL to the preview |
| `mimeType` | `string` | Yes | The media type the preview has |

## Raw Schema

```json
{
  "id": "cx.vmx.matadisco",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "publishedAt",
          "resource"
        ],
        "properties": {
          "tags": {
            "ref": "#tags",
            "type": "ref"
          },
          "preview": {
            "ref": "#preview",
            "type": "ref"
          },
          "resource": {
            "type": "string",
            "format": "uri",
            "description": "A URI that links to resource containing the metadata"
          },
          "publishedAt": {
            "type": "string",
            "format": "datetime",
            "description": "The time the original metadata/data was published"
          }
        }
      },
      "description": "A Matadisco record"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200,
        "minLength": 1
      },
      "maxLength": 20,
      "description": "Tags that describe the metadata. A tag might have a corresponding top-level key with the same name."
    },
    "preview": {
      "type": "object",
      "required": [
        "mimeType"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "The URL to the preview"
        },
        "mimeType": {
          "type": "string",
          "description": "The media type the preview has"
        }
      },
      "description": "Preview of the data"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
