# net.atmud.experimental.defs

> Published by [atmud.net](https://lexicon.garden/identity/did:plc:isja5viot4eab7qwzj3oucvx)

✓ This is the authoritative definition for this NSID.

## Description

EXPERIMENTAL (unstable): schema may change without notice.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:isja5viot4eab7qwzj3oucvx/net.atmud.experimental.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:isja5viot4eab7qwzj3oucvx/net.atmud.experimental.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:isja5viot4eab7qwzj3oucvx/net.atmud.experimental.defs/examples)

## Definitions

### `net.atmud.experimental.defs#exitRef`

**Type**: `object`

A named exit from a room, optionally referencing the destination room's record.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `roomRef` | `string` (at-uri) | No | AT-URI of the destination room's net.atmud.experimental.room record. |

### `net.atmud.experimental.defs#attribute`

**Type**: `object`

Open key-value pair carrying game-specific data (realm, qi, ...) on universal records.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `key` | `string` | Yes |  |
| `label` | `string` | No | Human-readable label for the key. |
| `value` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "net.atmud.experimental.defs",
  "defs": {
    "exitRef": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 64
        },
        "roomRef": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the destination room's net.atmud.experimental.room record."
        }
      },
      "description": "A named exit from a room, optionally referencing the destination room's record."
    },
    "attribute": {
      "type": "object",
      "required": [
        "key",
        "value"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 64
        },
        "label": {
          "type": "string",
          "maxLength": 640,
          "description": "Human-readable label for the key.",
          "maxGraphemes": 64
        },
        "value": {
          "type": "string",
          "maxLength": 1024
        }
      },
      "description": "Open key-value pair carrying game-specific data (realm, qi, ...) on universal records."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "EXPERIMENTAL (unstable): schema may change without notice."
}
```
