# org.atgrp.config

The group's configuration, such as how to join. Written by the group in the meta space.

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

- Named in the spec: 7 Creating a group (https://www.atmospheregroups.org/spec/#creating-a-group); 8 Presence & Discoverability (https://www.atmospheregroups.org/spec/#presence--discoverability); 13.2 Record types (https://www.atmospheregroups.org/spec/#record-types); 13.3 Permission sets (https://www.atmospheregroups.org/spec/#permission-sets)
- In the spec's repository: https://tangled.org/atmospheregroups.org/spec/blob/0885261c9cd1af80e89908571f926c2d0c71771f/lexicons/org/atgrp/config.json
- Published under the same name: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-config/, the same schema

## The schema in the spec

```json
{
  "lexicon": 1,
  "id": "org.atgrp.config",
  "defs": {
    "main": {
      "type": "record",
      "description": "The group's configuration, such as how to join. Written by the group in the meta space.",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": [
          "joinPolicy"
        ],
        "properties": {
          "joinPolicy": {
            "type": "string",
            "knownValues": [
              "open",
              "approval",
              "invite"
            ],
            "description": "open admits anyone; approval queues a join request; invite requires an invitation. An invitation admits its recipient under any policy."
          }
        }
      }
    }
  }
}
```
