# app.2ndscreen.league

> Published by [2ndscreen.app](https://lexicon.garden/identity/did:plc:aeix5u7myob5u3yzlpxggxnu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:aeix5u7myob5u3yzlpxggxnu/app.2ndscreen.league)
- [Documentation](https://lexicon.garden/lexicon/did:plc:aeix5u7myob5u3yzlpxggxnu/app.2ndscreen.league/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:aeix5u7myob5u3yzlpxggxnu/app.2ndscreen.league/examples)

## Definitions

### `app.2ndscreen.league`

**Type**: `record`

A competition or fixture group with a permanent identity, independent of season editions or official accounts.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `aliases` | `array` | No |  |
| `artwork` | `ref` → `app.2ndscreen.defs#artwork` | No |  |
| `category` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `multiSport` | `boolean` | No | True identifies a competition spanning multiple sports, such as the Olympic Games; sport must then be absent. Otherwise sport is required. This does not claim an exhaustive event programme or confer membership on any team. |
| `name` | `string` | Yes |  |
| `officialAccounts` | `array` | No |  |
| `providerIds` | `array` | No | Reviewed provider namespace/ID mappings, independent of the permanent catalog key. |
| `shortName` | `string` | No |  |
| `side` | `ref` → `app.2ndscreen.defs#side` | No |  |
| `sport` | `string` (at-uri) | No | Canonical DID-form AT URI of an app.2ndscreen.sport record. Required unless multiSport is true; must be absent when multiSport is true. A link does not confer the referenced publisher’s curation status. |
| `status` | `string` | No | Unknown values must not erase a fan reference. Absence means unspecified. |
| `successor` | `string` (at-uri) | No | Canonical DID-form AT URI of a replacement app.2ndscreen.league record. Never rewrites fan references. Bound traversal and reject cycles; no transitive trust across publishers. |
| `updatedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A competition or fixture group with a permanent identity, independent of season editions or official accounts.",
      "key": "any",
      "record": {
        "properties": {
          "aliases": {
            "items": {
              "maxGraphemes": 100,
              "maxLength": 1000,
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "artwork": {
            "ref": "app.2ndscreen.defs#artwork",
            "type": "ref"
          },
          "category": {
            "knownValues": [
              "league",
              "tournament",
              "series",
              "fixture-group"
            ],
            "maxLength": 100,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "multiSport": {
            "description": "True identifies a competition spanning multiple sports, such as the Olympic Games; sport must then be absent. Otherwise sport is required. This does not claim an exhaustive event programme or confer membership on any team.",
            "type": "boolean"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "officialAccounts": {
            "items": {
              "ref": "app.2ndscreen.defs#officialAccount",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "providerIds": {
            "description": "Reviewed provider namespace/ID mappings, independent of the permanent catalog key.",
            "items": {
              "ref": "app.2ndscreen.defs#providerIdentifier",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          },
          "shortName": {
            "maxGraphemes": 30,
            "maxLength": 300,
            "type": "string"
          },
          "side": {
            "ref": "app.2ndscreen.defs#side",
            "type": "ref"
          },
          "sport": {
            "description": "Canonical DID-form AT URI of an app.2ndscreen.sport record. Required unless multiSport is true; must be absent when multiSport is true. A link does not confer the referenced publisher’s curation status.",
            "format": "at-uri",
            "type": "string"
          },
          "status": {
            "description": "Unknown values must not erase a fan reference. Absence means unspecified.",
            "knownValues": [
              "active",
              "retired",
              "superseded"
            ],
            "maxLength": 100,
            "type": "string"
          },
          "successor": {
            "description": "Canonical DID-form AT URI of a replacement app.2ndscreen.league record. Never rewrites fan references. Bound traversal and reject cycles; no transitive trust across publishers.",
            "format": "at-uri",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.2ndscreen.league",
  "lexicon": 1
}
```
