MenuSpaces & records

Record

group.opensocial.role

Declares that a role exists.

Declares that a role exists. The record key is the role id.

Record key
any
Lives in
members

Fields

namestringrequired
≤ 64 graphemes
descriptionstring
≤ 300 graphemes
createdAtstring · datetimerequired

Schema

Lexicon JSON
{
  "lexicon": 1,
  "id": "group.opensocial.role",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "description": "Declares that a role exists. The record key is the role id.",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxGraphemes": 64,
            "maxLength": 640
          },
          "description": {
            "type": "string",
            "maxGraphemes": 300,
            "maxLength": 3000
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}

← All spaces and records