# com.joshuashew.games.score

- Kind: record
- Record key: tid
- Authority: games.joshuashew.com
- Lexicon: 1
- Published by [joshuashew.bsky.social](https://lexicon.garden/identity/did:plc:sfmur4r4wzriaupbgmz7sshy), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:sfmur4r4wzriaupbgmz7sshy/com.joshuashew.games.score)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:sfmur4r4wzriaupbgmz7sshy/com.joshuashew.games.score/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:sfmur4r4wzriaupbgmz7sshy/com.joshuashew.games.score/analytics)

## Record (`com.joshuashew.games.score`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `detail` (string)
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `game` (string, required)
  - Constraints: maxLength: 64
- `higherIsBetter` (boolean, required)
- `site` (string, required)
  - Constraints: maxLength: 64
- `unit` (string, required)
  - Constraints: maxLength: 64
- `value` (integer, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "detail": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "game": {
            "maxLength": 64,
            "type": "string"
          },
          "higherIsBetter": {
            "type": "boolean"
          },
          "site": {
            "maxLength": 64,
            "type": "string"
          },
          "unit": {
            "maxLength": 64,
            "type": "string"
          },
          "value": {
            "type": "integer"
          }
        },
        "required": [
          "site",
          "game",
          "value",
          "unit",
          "higherIsBetter",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.joshuashew.games.score",
  "lexicon": 1
}
```
