dev.tsunagite.permissions

tsunagite.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "direct": {
      "description": "Permissions necessary for game using direct-to-PDS interaction.",
      "detail": "Permission to directly upload scores and modify your user profile for this game.",
      "permissions": [
        {
          "action": [
            "create"
          ],
          "collection": [
            "dev.tsunagite.score"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create, update"
          ],
          "collection": [
            "dev.tsunagite.profile"
          ],
          "resource": "repo",
          "type": "permission"
        }
      ],
      "title": "Tsunagite functionality (direct)",
      "type": "permission-set"
    },
    "hosted": {
      "description": "Permissions necessary for a game using a hosted service like api.tsunagite.dev.",
      "detail": "Permission to use a hosted service to upload scores and modify your user profile for this game.",
      "permissions": [
        {
          "action": [
            "create"
          ],
          "collection": [
            "dev.tsunagite.score"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "action": [
            "create, update"
          ],
          "collection": [
            "dev.tsunagite.profile"
          ],
          "resource": "repo",
          "type": "permission"
        },
        {
          "inheritAud": true,
          "lxm": [
            "dev.tsunagite.submitScore",
            "dev.tsunagite.setProfile"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Tsunagite functionality (hosted)",
      "type": "permission-set"
    }
  },
  "description": "Common permission sets used for Tsunagite setups.",
  "id": "dev.tsunagite.permissions",
  "lexicon": 1
}

Validate Record

Validate a record against dev.tsunagite.permissions

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pz4sp2vf5w26wnaee253gfms
CID
bafyreibvkdlzskrrxkx24t5yk5x7o62hsoxbbxajzyijak4of7wjbidtni
Indexed At
2026-05-01 08:07 UTC
AT-URI
at://did:plc:pz4sp2vf5w26wnaee253gfms/com.atproto.lexicon.schema/dev.tsunagite.permissions

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@