# at.celest.temp.stats.defs

> Published by [celest.at](https://lexicon.garden/identity/did:plc:t6inhf33tmrrezt3yknnpydu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:t6inhf33tmrrezt3yknnpydu/at.celest.temp.stats.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:t6inhf33tmrrezt3yknnpydu/at.celest.temp.stats.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:t6inhf33tmrrezt3yknnpydu/at.celest.temp.stats.defs/examples)

## Definitions

### `at.celest.temp.stats.defs#slice`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `end` | `integer` | Yes |  |
| `start` | `integer` | Yes |  |

### `at.celest.temp.stats.defs#stats`

**Type**: `object`

One slice of a played level, can be used to represent the deaths/clears in one session, or one clear

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `deathSlice` | `ref` → `#slice` | No | Slice of deaths in the at.celest.temp.actor.played's death blob during this time period |
| `finishedAt` | `string` (datetime) | No | The ending date & time of the captured time period |
| `playedLevel` | `string` (at-uri) | No | The played level (at.celest.temp.stats.played) this stats object refers to |
| `startedAt` | `string` (datetime) | No | The starting date & time of the captured time period |
| `timeSlice` | `ref` → `#slice` | No | Slice of of time in seconds (in the level timer) during this time period |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "slice": {
      "properties": {
        "end": {
          "minimum": 0,
          "type": "integer"
        },
        "start": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "type": "object"
    },
    "stats": {
      "description": "One slice of a played level, can be used to represent the deaths/clears in one session, or one clear",
      "properties": {
        "deathSlice": {
          "description": "Slice of deaths in the at.celest.temp.actor.played's death blob during this time period",
          "ref": "#slice",
          "type": "ref"
        },
        "finishedAt": {
          "description": "The ending date & time of the captured time period",
          "format": "datetime",
          "type": "string"
        },
        "playedLevel": {
          "description": "The played level (at.celest.temp.stats.played) this stats object refers to",
          "format": "at-uri",
          "type": "string"
        },
        "startedAt": {
          "description": "The starting date & time of the captured time period",
          "format": "datetime",
          "type": "string"
        },
        "timeSlice": {
          "description": "Slice of of time in seconds (in the level timer) during this time period",
          "ref": "#slice",
          "type": "ref"
        }
      },
      "type": "object"
    }
  },
  "id": "at.celest.temp.stats.defs",
  "lexicon": 1
}
```
