dev.tsunagite.permissions

tsunagite.dev

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

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)

Lexicon Garden

@