{ "lexicon": 1, "id": "my.spoor.log.activity", "defs": { "main": { "type": "record", "description": "A single activity (spoor) for a specific session", "key": "tid", "record": { "type": "object", "required": ["progress", "createdAt"], "nullable": ["performedAt"], "properties": { "session": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, "progress": { "type": "union", "refs": [ "#progressIndex" ] }, "performedAt": { "type": "string", "format": "datetime", "description": "User-declared timestamp for when they performed the activity. Null implies unknown time." }, "createdAt": { "type": "string", "format": "datetime", "description": "Client-declared timestamp for when this activity was created" } } } }, "progressIndex": { "type": "object", "description": "The index of the content consumed. Content must be indexable", "required": [ "index" ], "properties": { "index": { "type": "integer" } } } } }