at.kotoba.state

kotoba.at

{
  "id": "at.kotoba.state",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "updatedAt",
          "glyphs",
          "confusion"
        ],
        "properties": {
          "glyphs": {
            "type": "unknown",
            "description": "Map keyed by glyph -> { box:int, lastSeen:str, ewmaParseMs:int|null, seen:int, missed:int }. All-integer already. `unknown` because lexicons have no dynamic-key map type (see README)."
          },
          "confusion": {
            "type": "unknown",
            "description": "Directed, single-kana only: shown glyph -> { answered-as romaji: count }. Counts are decayed (x0.9/session) so the app stores them as fixed-point ×10000 INTEGERS (no float type). `unknown` map; the app owns the value scaling at the record edge."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Single overwritten record: per-glyph SRS state + the directed confusion map. Read once at startup; overwritten on flush. rkey is literally `self`."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against at.kotoba.state

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:o5f3cgna5sku4p6iitld6mxs
CID
bafyreiaad5phdwg3bmiiaset4doeihbiabnaexgc5znlm5v56vxw4lyhze
Indexed At
2026-06-15 20:02 UTC
AT-URI
at://did:plc:o5f3cgna5sku4p6iitld6mxs/com.atproto.lexicon.schema/at.kotoba.state

Version History (2 versions)

Lexicon Garden

@