# blue.atroom.room.object

> Published by [atroom.blue](https://lexicon.garden/identity/did:plc:lb3nbcc4n3s3wzjtcong6nzu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lb3nbcc4n3s3wzjtcong6nzu/blue.atroom.room.object)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lb3nbcc4n3s3wzjtcong6nzu/blue.atroom.room.object/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lb3nbcc4n3s3wzjtcong6nzu/blue.atroom.room.object/examples)

## Definitions

### `blue.atroom.room.object`

**Type**: `record`

A 3D object that can be placed in a room.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `model` | `blob` | Yes |  |
| `scale` | `integer` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `nameLangs` | `array` | No |  |

### `blue.atroom.room.object#localizedName`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `lang` | `string` | Yes |  |
| `value` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "blue.atroom.room.object",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "model",
          "scale",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100
          },
          "model": {
            "type": "blob",
            "accept": [
              "model/gltf-binary"
            ],
            "maxSize": 1048576
          },
          "scale": {
            "type": "integer",
            "maximum": 1000,
            "minimum": 1
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "nameLangs": {
            "type": "array",
            "items": {
              "ref": "#localizedName",
              "type": "ref"
            }
          }
        }
      },
      "description": "A 3D object that can be placed in a room."
    },
    "localizedName": {
      "type": "object",
      "required": [
        "lang",
        "value"
      ],
      "properties": {
        "lang": {
          "type": "string",
          "maxLength": 16
        },
        "value": {
          "type": "string",
          "maxLength": 100
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
