{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PermissionSubjectWithGroupId",
  "type": "object",
  "description": "The user or group that the permission applies to.",
  "properties": {
    "type": {
      "type": "string"
    },
    "identifier": {
      "type": "string",
      "description": "for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users\n\nfor `type=group`, identifier should be ID of the group"
    }
  }
}