fyi.opensocial.access

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.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authorityopensocial.fyi
Indexed

Showing version bafyreiheqjkgpnde6n2eqo5fuyx2jg73bplo5tgeymz6bf2ekftlpspw4m. Show the latest

cid bafyreiheqjkgpnde6n2eqo5fuyx2jg73bplo5tgeymz6bf2ekftlpspw4m

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "credentialScopes": {
            "description": "Which OAuth scopes for the group DID each role may request in this space. A role that may write a kind of record as the group here may also publish that kind, as the group, in its public repo; '*' is any kind, in both.",
            "items": {
              "ref": "#roleScopes",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          },
          "readableBy": {
            "description": "Role ids that may read the space, or the literal string 'public' meaning any authenticated requester.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "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": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          }
        },
        "required": [
          "readableBy",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "roleScopes": {
      "properties": {
        "role": {
          "description": "A role id: the record key of a fyi.opensocial.role record.",
          "maxLength": 64,
          "type": "string"
        },
        "scopes": {
          "description": "Collections this role may write in the space as the group: an NSID, or * for any. Every write, unless the grant names some: xyz.task?action=create lets the role add tasks but not change or delete them.",
          "items": {
            "maxLength": 400,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "required": [
        "role",
        "scopes"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.access",
  "lexicon": 1
}