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