Spaces:
Sleeping
Sleeping
Download docs/11_Workspace_Service/workspace-event.schema.json from dellweb3/workos-office: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/docs/11_Workspace_Service/workspace-event.schema.json
- Command line
-
hf download hf://spaces/dellweb3/workos-office/docs/11_Workspace_Service/workspace-event.schema.json
-
curl -L -o workspace-event.schema.json https://huggingface.co/spaces/dellweb3/workos-office/resolve/main/docs/11_Workspace_Service/workspace-event.schema.json
1.55 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "title": "WorkspaceDomainEventV1", | |
| "type": "object", | |
| "required": [ | |
| "event_id", | |
| "event_type", | |
| "event_version", | |
| "tenant_id", | |
| "owner_user_id", | |
| "workspace_id", | |
| "aggregate_version", | |
| "trace_id", | |
| "occurred_at", | |
| "payload" | |
| ], | |
| "properties": { | |
| "event_id": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "event_type": { | |
| "type": "string", | |
| "enum": [ | |
| "workspace.created", | |
| "workspace.updated", | |
| "message.appended", | |
| "attachment.uploaded", | |
| "document.ingest.requested", | |
| "attachment.ingest_succeeded", | |
| "attachment.ingest_failed", | |
| "artifact.version_created", | |
| "artifact.version_confirmed", | |
| "artifact.export_attached" | |
| ] | |
| }, | |
| "event_version": { | |
| "const": 1 | |
| }, | |
| "tenant_id": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "owner_user_id": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "workspace_id": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "aggregate_version": { | |
| "type": "integer", | |
| "minimum": 1 | |
| }, | |
| "run_id": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "trace_id": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "occurred_at": { | |
| "type": "string", | |
| "format": "date-time" | |
| }, | |
| "payload": { | |
| "type": "object" | |
| } | |
| }, | |
| "additionalProperties": false | |
| } | |