# social.biggame.fantasy.permissions

> Published by [biggame.social](https://lexicon.garden/identity/did:plc:xei7xcxaf44d57hxtp34s6n4)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xei7xcxaf44d57hxtp34s6n4/social.biggame.fantasy.permissions)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xei7xcxaf44d57hxtp34s6n4/social.biggame.fantasy.permissions/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xei7xcxaf44d57hxtp34s6n4/social.biggame.fantasy.permissions/examples)

## Definitions

### `social.biggame.fantasy.permissions`

**Type**: `permission-set`

```json
{
  "type": "permission-set",
  "title": "BIGGAME",
  "detail": "Run your fantasy leagues: write your team, lineups, claims and trades to your own repository, and read the private leagues you are a member of.",
  "permissions": [
    {
      "type": "permission",
      "action": [
        "create",
        "update"
      ],
      "resource": "repo",
      "collection": [
        "social.biggame.fantasy.league",
        "social.biggame.fantasy.leagueState",
        "social.biggame.fantasy.leagueMember",
        "social.biggame.fantasy.membership",
        "social.biggame.fantasy.team",
        "social.biggame.fantasy.draftPick",
        "social.biggame.fantasy.seasonOpening",
        "social.biggame.fantasy.membershipRevocation",
        "social.biggame.fantasy.bidReveal",
        "social.biggame.fantasy.pickRatification",
        "social.biggame.fantasy.claimReceipt",
        "social.biggame.fantasy.objectionReceipt",
        "social.biggame.fantasy.waiverRun",
        "social.biggame.fantasy.transactionRuling",
        "social.biggame.fantasy.tradeResponse",
        "social.biggame.fantasy.tradeObjection",
        "social.biggame.fantasy.tradeRuling"
      ]
    },
    {
      "type": "permission",
      "action": [
        "create",
        "update",
        "delete"
      ],
      "resource": "repo",
      "collection": [
        "social.biggame.fantasy.tradeProposal",
        "social.biggame.fantasy.transaction",
        "social.biggame.fantasy.commissionerTransfer",
        "social.biggame.fantasy.commissionerAcceptance",
        "social.biggame.fantasy.lineup",
        "social.biggame.fantasy.lineupLock",
        "social.biggame.fantasy.result"
      ]
    },
    {
      "lxm": [
        "social.biggame.fantasy.getLeague",
        "social.biggame.fantasy.listApplications",
        "social.biggame.fantasy.listLeagues",
        "social.biggame.fantasy.submitBid",
        "social.biggame.fantasy.submitPick"
      ],
      "type": "permission",
      "resource": "rpc",
      "inheritAud": true
    },
    {
      "type": "permission",
      "action": [
        "read",
        "create",
        "update",
        "delete"
      ],
      "manage": [
        "create",
        "update",
        "delete"
      ],
      "resource": "space",
      "spaceType": "social.biggame.fantasy.trade",
      "collection": [
        "social.biggame.fantasy.tradeTerms"
      ]
    },
    {
      "type": "permission",
      "action": [
        "read"
      ],
      "resource": "space",
      "authority": "*",
      "spaceType": "social.biggame.fantasy.trade"
    },
    {
      "type": "permission",
      "action": [
        "read_self",
        "create",
        "update",
        "delete"
      ],
      "manage": [
        "create"
      ],
      "resource": "space",
      "spaceType": "social.biggame.fantasy.queue",
      "collection": [
        "social.biggame.fantasy.draftQueue"
      ]
    },
    {
      "type": "permission",
      "action": [
        "read",
        "create",
        "update",
        "delete"
      ],
      "resource": "space",
      "authority": "*",
      "spaceType": "social.biggame.fantasy.leagueSpace",
      "collection": [
        "*"
      ]
    },
    {
      "type": "permission",
      "action": [
        "read_self"
      ],
      "manage": [
        "create",
        "update"
      ],
      "resource": "space",
      "spaceType": "social.biggame.fantasy.leagueSpace"
    }
  ]
}
```

## Raw Schema

```json
{
  "id": "social.biggame.fantasy.permissions",
  "defs": {
    "main": {
      "type": "permission-set",
      "title": "BIGGAME",
      "detail": "Run your fantasy leagues: write your team, lineups, claims and trades to your own repository, and read the private leagues you are a member of.",
      "permissions": [
        {
          "type": "permission",
          "action": [
            "create",
            "update"
          ],
          "resource": "repo",
          "collection": [
            "social.biggame.fantasy.league",
            "social.biggame.fantasy.leagueState",
            "social.biggame.fantasy.leagueMember",
            "social.biggame.fantasy.membership",
            "social.biggame.fantasy.team",
            "social.biggame.fantasy.draftPick",
            "social.biggame.fantasy.seasonOpening",
            "social.biggame.fantasy.membershipRevocation",
            "social.biggame.fantasy.bidReveal",
            "social.biggame.fantasy.pickRatification",
            "social.biggame.fantasy.claimReceipt",
            "social.biggame.fantasy.objectionReceipt",
            "social.biggame.fantasy.waiverRun",
            "social.biggame.fantasy.transactionRuling",
            "social.biggame.fantasy.tradeResponse",
            "social.biggame.fantasy.tradeObjection",
            "social.biggame.fantasy.tradeRuling"
          ]
        },
        {
          "type": "permission",
          "action": [
            "create",
            "update",
            "delete"
          ],
          "resource": "repo",
          "collection": [
            "social.biggame.fantasy.tradeProposal",
            "social.biggame.fantasy.transaction",
            "social.biggame.fantasy.commissionerTransfer",
            "social.biggame.fantasy.commissionerAcceptance",
            "social.biggame.fantasy.lineup",
            "social.biggame.fantasy.lineupLock",
            "social.biggame.fantasy.result"
          ]
        },
        {
          "lxm": [
            "social.biggame.fantasy.getLeague",
            "social.biggame.fantasy.listApplications",
            "social.biggame.fantasy.listLeagues",
            "social.biggame.fantasy.submitBid",
            "social.biggame.fantasy.submitPick"
          ],
          "type": "permission",
          "resource": "rpc",
          "inheritAud": true
        },
        {
          "type": "permission",
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "manage": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "spaceType": "social.biggame.fantasy.trade",
          "collection": [
            "social.biggame.fantasy.tradeTerms"
          ]
        },
        {
          "type": "permission",
          "action": [
            "read"
          ],
          "resource": "space",
          "authority": "*",
          "spaceType": "social.biggame.fantasy.trade"
        },
        {
          "type": "permission",
          "action": [
            "read_self",
            "create",
            "update",
            "delete"
          ],
          "manage": [
            "create"
          ],
          "resource": "space",
          "spaceType": "social.biggame.fantasy.queue",
          "collection": [
            "social.biggame.fantasy.draftQueue"
          ]
        },
        {
          "type": "permission",
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "authority": "*",
          "spaceType": "social.biggame.fantasy.leagueSpace",
          "collection": [
            "*"
          ]
        },
        {
          "type": "permission",
          "action": [
            "read_self"
          ],
          "manage": [
            "create",
            "update"
          ],
          "resource": "space",
          "spaceType": "social.biggame.fantasy.leagueSpace"
        }
      ]
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
