fyi.opensocial.access

lexicons.opensocial.fyi

Documentation

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.

main record

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.

Record Key literal:self Fixed literal value

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

credentialScopes array of ref #roleScopes Optional

Which OAuth scopes for the group DID each role may request in this space.

readableBy array of string Required

Role ids that may read the space, or the literal string 'public' meaning any authenticated requester.

View raw schema
{
  "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.",
        "items": {
          "ref": "#roleScopes",
          "type": "ref"
        },
        "type": "array"
      },
      "readableBy": {
        "description": "Role ids that may read the space, or the literal string 'public' meaning any authenticated requester.",
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "readableBy",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
roleScopes object

No description available.

Properties

role string Required

A role id: the record key of a fyi.opensocial.role record.

maxLength: 64 bytes
scopes array of string Required

No description available.

View raw schema
{
  "properties": {
    "role": {
      "description": "A role id: the record key of a fyi.opensocial.role record.",
      "maxLength": 64,
      "type": "string"
    },
    "scopes": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "role",
    "scopes"
  ],
  "type": "object"
}

Lexicon Garden

@