{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Everything a Grain app does as an account: write and delete Grain's records in its repository, and call Grain's methods at the service the include names (`include:social.grain.authFull?aud=did:web:grain.social%23grain_appview`). Grows as Grain does: a collection or method added here reaches signed-in accounts as their tokens are refreshed.",
      "detail": "Post, edit and delete your galleries, photos, stories, comments, favorites, follows, blocks and profile on Grain, and use Grain as you",
      "permissions": [
        {
          "collection": [
            "social.grain.actor.profile",
            "social.grain.comment",
            "social.grain.favorite",
            "social.grain.gallery",
            "social.grain.gallery.item",
            "social.grain.graph.block",
            "social.grain.graph.follow",
            "social.grain.photo",
            "social.grain.photo.exif",
            "social.grain.story"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "inheritAud": true,
          "lxm": [
            "social.grain.actor.getFavorites",
            "social.grain.actor.getPreferences",
            "social.grain.actor.getProfile",
            "social.grain.actor.getSuggestedFollows",
            "social.grain.actor.putPreferences",
            "social.grain.actor.searchActors",
            "social.grain.actor.searchActorsTypeahead",
            "social.grain.actor.setPreference",
            "social.grain.comment.getThread",
            "social.grain.feed.describeFeeds",
            "social.grain.feed.getFeed",
            "social.grain.gallery.deleteGallery",
            "social.grain.gallery.getCameras",
            "social.grain.gallery.getCrossPost",
            "social.grain.gallery.getDeletionPlan",
            "social.grain.gallery.getFavorites",
            "social.grain.gallery.getGallery",
            "social.grain.gallery.getLocations",
            "social.grain.gallery.searchGalleries",
            "social.grain.graph.getBlocks",
            "social.grain.graph.getFollowers",
            "social.grain.graph.getFollowing",
            "social.grain.graph.getKnownFollowers",
            "social.grain.graph.getMutes",
            "social.grain.graph.muteActor",
            "social.grain.graph.unmuteActor",
            "social.grain.moderation.describeLabels",
            "social.grain.notification.getUnreadCount",
            "social.grain.notification.listNotifications",
            "social.grain.notification.registerPush",
            "social.grain.notification.unregisterPush",
            "social.grain.notification.updateSeen",
            "social.grain.repo.applyWrites",
            "social.grain.repo.createRecord",
            "social.grain.repo.deleteRecord",
            "social.grain.repo.putRecord",
            "social.grain.repo.uploadBlob",
            "social.grain.server.deleteAccount",
            "social.grain.server.getAccountDeletionPlan",
            "social.grain.server.getSitemap",
            "social.grain.story.getArchive",
            "social.grain.story.getAuthors",
            "social.grain.story.getStories",
            "social.grain.story.getStory",
            "social.grain.story.markViewed",
            "social.grain.sync.indexRecords",
            "social.grain.sync.refreshRecords",
            "social.grain.unspecced.createPrivateGallery",
            "social.grain.unspecced.deleteAccount",
            "social.grain.unspecced.deleteGallery",
            "social.grain.unspecced.getActorFavorites",
            "social.grain.unspecced.getActorProfile",
            "social.grain.unspecced.getBlocks",
            "social.grain.unspecced.getCameras",
            "social.grain.unspecced.getCommentThread",
            "social.grain.unspecced.getFollowers",
            "social.grain.unspecced.getFollowing",
            "social.grain.unspecced.getGallery",
            "social.grain.unspecced.getGalleryFavorites",
            "social.grain.unspecced.getKnownFollowers",
            "social.grain.unspecced.getLocations",
            "social.grain.unspecced.getMutes",
            "social.grain.unspecced.getNotifications",
            "social.grain.unspecced.getPrivateGallery",
            "social.grain.unspecced.getSitemap",
            "social.grain.unspecced.getStories",
            "social.grain.unspecced.getStory",
            "social.grain.unspecced.getStoryArchive",
            "social.grain.unspecced.getStoryAuthors",
            "social.grain.unspecced.getSuggestedFollows",
            "social.grain.unspecced.listPrivateGalleries",
            "social.grain.unspecced.listSharedGalleries",
            "social.grain.unspecced.markStoriesViewed",
            "social.grain.unspecced.searchActorsTypeahead",
            "social.grain.unspecced.searchGalleries",
            "social.grain.unspecced.searchProfiles"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Grain",
      "type": "permission-set"
    }
  },
  "id": "social.grain.authFull",
  "lexicon": 1
}
