rooms

Here is the description for rooms database Sample CouchDB Entry for rooms database:

{
  "_id": "BLDG-RM", (1)
  "_rev": "2-6eb403483e991c2a73280ed45e008cfd", (1)
  "name": "BLDG-RM", (1)
  "description": "BLDG-RM", (1)
  "configuration": { (2)
    "_id": "Default"
  },
  "designation": "stage", (3)
  "attributes": { (4)
    "Ceiling Box": true
  }
}
  1. These fields are identical to the fields mentioned in detail in previous examples.

  2. "configuration": This is the configuration of the room. It maps to an entry in the room_configurations database. The purpose of this field will be discussed later along with the room_configurations database.

  3. "designation": This field designates if the room is in development, stage, or production.

  4. "attributes": This field is for any other room attributes you would like to document.

Up Next