fyi.opensocial.createSpace

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Add a modality space to the group. Requires space.create.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "credentialScopes": {
              "description": "Which collections each role may write as the group DID in this space. Copied into the space's access record.",
              "items": {
                "ref": "fyi.opensocial.access#roleScopes",
                "type": "ref"
              },
              "type": "array"
            },
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
              "format": "did",
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "readableBy": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "skey": {
              "format": "record-key",
              "type": "string"
            },
            "type": {
              "format": "nsid",
              "type": "string"
            },
            "writableBy": {
              "description": "Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member.",
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "group",
            "type",
            "readableBy"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uri": {
              "format": "space-ref",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.createSpace",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.createSpace

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreid4hdmilhur5ijnzvgjd5w5shr3gymgr5p57dnvktozddhtajkd5a
Indexed At
2026-10-08 18:10 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.createSpace

Version History (2 versions)

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Who may read this space. Present in every space under the group. The group authority issues space credentials according to this record and nothing else.

  • Change a space's config: its name, who can read it, and which roles may act as the group in it. Requires space.configure.

  • Host-level: create a new group on this host. Authenticated as the founder (service auth from their PDS). The founder and any listed stewards become its first admins. Mints the group DID, creates the meta and members spa…

  • Create a new space owned by the JWT issuer. The caller is added as an owner-perm member.

  • Create a new space owned by the JWT issuer. The caller is added as an owner-perm member.

Lexicon Garden

@