# org.atgrp.space

An entry in the group's space index, in the members space. The group host maintains these records as spaces are created, deleted, or unlisted, and rejects direct writes.

A record in the spec for Atmosphere Groups. The page: https://www.atmospheregroups.org/spec/lexicons/org-atgrp-space/

- Named in the spec: 4 Group configuration spaces (https://www.atmospheregroups.org/spec/#group-configuration-spaces); 13.2 Record types (https://www.atmospheregroups.org/spec/#record-types)
- In the spec's repository: https://tangled.org/atmospheregroups.org/spec/blob/0885261c9cd1af80e89908571f926c2d0c71771f/lexicons/org/atgrp/space.json
- Published under the same name: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-space/, the same schema
- The reference host's version: fyi.opensocial.space, https://www.atmospheregroups.org/reference/lexicons/fyi-opensocial-space/

## The schema in the spec

```json
{
  "lexicon": 1,
  "id": "org.atgrp.space",
  "defs": {
    "main": {
      "type": "record",
      "description": "An entry in the group's space index, in the members space. The group host maintains these records as spaces are created, deleted, or unlisted, and rejects direct writes.",
      "key": "tid",
      "record": {
        "type": "object",
        "required": [
          "space",
          "createdAt"
        ],
        "properties": {
          "space": {
            "type": "string",
            "format": "space-ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}
```
