snapshot of https://github.com/ActivityWatch/aw-core.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / Test on ubuntu-latest, py-3.8 (push) Successful in 4m21s
Lint / lint (push) Successful in 25s
Build / Test on macOS-latest, py-3.8 (push) Has been cancelled
Build / Test on windows-latest, py-3.8 (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1s

This commit is contained in:
upstream-mirror
2026-09-16 00:17:07 +05:00
commit 8757f2fd5e
73 changed files with 8869 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
{
"$id": "https://activitywatch.net/schemas/bucket.v0.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bucket",
"description": "The Bucket model that is used in ActivityWatch",
"type": "object",
"required": ["id", "type", "client", "hostname"],
"properties": {
"id": {
"description": "The unique id for the bucket",
"type": "string"
},
"name": {
"description": "The readable and renameable name for the bucket",
"type": "string"
},
"type": {
"description": "The event type",
"type": "string"
},
"client": {
"description": "The name of the client that is reporting to the bucket",
"type": "string"
},
"hostname": {
"description": "The hostname of the machine on which the client is running",
"type": "string"
},
"created": {
"description": "The creation datetime of the bucket",
"type": "string",
"format": "date-time"
},
"data": {
"description": "",
"type": "object"
},
"events": {
"type": "array",
"items": {
"$ref": "#/definitions/Event"
}
}
}
}

View File

@@ -0,0 +1,19 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Event",
"description": "The Event model that is used in ActivityWatch",
"type": "object",
"required": ["timestamp"],
"properties": {
"timestamp": {
"type": "string",
"format": "date-time"
},
"duration": {
"type": "number"
},
"data": {
"type": "object"
}
}
}

View File

@@ -0,0 +1,16 @@
{
"$id": "https://activitywatch.net/schemas/export.v0.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Export",
"description": "The Export model that is used by ActivityWatch",
"type": "object",
"required": [],
"properties": {
"buckets": {
"type": "array",
"items": {
"$ref": "#/definitions/Bucket"
}
}
}
}