Meta, remove lexicons/ folder prefix

This commit is contained in:
Julia Lange 2025-05-08 15:02:55 -07:00
parent 0c7e67126c
commit a18e052a77
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
5 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{
"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": ["session", "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" }
}
}
}
}

32
my/spoor/log/session.json Normal file
View file

@ -0,0 +1,32 @@
{
"lexicon": 1,
"id": "my.spoor.log.session",
"defs": {
"main": {
"type": "record",
"description": "A session of consuming some content",
"key": "tid",
"record": {
"type": "object",
"required": ["content", "createdAt"],
"properties": {
"content": { "type": "ref", "ref": "com.atproto.repo.strongRef" },
"label": {
"type": "string",
"maxGraphemes": 64,
"maxLength": 640
},
"otherParticipants": {
"type": "array",
"items": { "type": "string", "format": "did" }
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp for when this activity was created"
}
}
}
}
}
}