{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "members": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "createdAt": {
            "type": "number"
          },
          "archivedAt": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": ["key", "title", "members", "createdAt", "archivedAt"],
        "additionalProperties": {},
        "title": "Group",
        "description": "An archived group keeps its members, which still count, but cannot change them."
      }
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": ["items", "nextCursor"],
  "additionalProperties": {},
  "title": "Groups",
  "description": "Pass nextCursor to --cursor for the next page until it is null."
}
