# tech.tokimeki.takibi.log

> A log record - adding wood to the fire. Implicitly records visible sparks as a form of 'silent appreciation'.

- Kind: record
- Record key: tid
- Authority: takibi.tokimeki.tech
- Lexicon: 1
- Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.takibi.log)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.takibi.log/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.takibi.log/analytics)

## Record (`tech.tokimeki.takibi.log`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `visibleSparks` (array): Sparks visible at the moment of adding wood, with elapsed time for decay scoring
  - Constraints: maxLength: 20
  - `items` (ref)
    - Reference: `#sparkRef`

## #sparkRef (`tech.tokimeki.takibi.log#sparkRef`)

Type: object

Reference to a visible spark with timing information

### Properties

- `elapsed` (integer, required): Milliseconds since the spark appeared on screen (0-10000)
  - Constraints: minimum: 0, maximum: 10000
- `spark` (ref, required): Strong reference to the spark record
  - Reference: `com.atproto.repo.strongRef`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A log record - adding wood to the fire. Implicitly records visible sparks as a form of 'silent appreciation'.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "visibleSparks": {
            "description": "Sparks visible at the moment of adding wood, with elapsed time for decay scoring",
            "items": {
              "ref": "#sparkRef",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "sparkRef": {
      "description": "Reference to a visible spark with timing information",
      "properties": {
        "elapsed": {
          "description": "Milliseconds since the spark appeared on screen (0-10000)",
          "maximum": 10000,
          "minimum": 0,
          "type": "integer"
        },
        "spark": {
          "description": "Strong reference to the spark record",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "spark",
        "elapsed"
      ],
      "type": "object"
    }
  },
  "id": "tech.tokimeki.takibi.log",
  "lexicon": 1
}
```
