Browse Jobs Scheduling

stable · event · 0.2.0

Scheduled invocation

The signed invocation body delivered to a registered Project Backend endpoint.

Capability Domain: jobs-scheduling

Reference identifier: scheduled-invocation

Schema ID: https://minicenter.otus.tw/events/scheduled-invocation.v1.schema.json

Delivery: Delivered by signed HTTPS at least once. Verify X-MiniCenter-Timestamp, X-MiniCenter-Invocation-ID, and X-MiniCenter-Signature, then deduplicate by invocation id.

Event schema

Event schema
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://minicenter.otus.tw/events/scheduled-invocation.v1.schema.json",
    "title": "Scheduled invocation",
    "description": "The signed invocation body delivered to a registered Project Backend endpoint.",
    "type": "object",
    "additionalProperties": false,
    "required": [
        "id",
        "project_client_id",
        "operation",
        "scheduled_for",
        "correlation_id",
        "arguments"
    ],
    "properties": {
        "id": {
            "type": "string",
            "format": "uuid"
        },
        "project_client_id": {
            "type": "string",
            "format": "uuid"
        },
        "operation": {
            "type": "string",
            "maxLength": 120
        },
        "scheduled_for": {
            "type": "string",
            "format": "date-time"
        },
        "correlation_id": {
            "type": "string",
            "format": "uuid"
        },
        "arguments": {
            "type": "object",
            "maxProperties": 50
        }
    },
    "x-documentation": true,
    "x-reference-id": "scheduled-invocation",
    "x-domain": "jobs-scheduling",
    "x-stability": "stable",
    "x-delivery": "Delivered by signed HTTPS at least once. Verify X-MiniCenter-Timestamp, X-MiniCenter-Invocation-ID, and X-MiniCenter-Signature, then deduplicate by invocation id.",
    "example": {
        "id": "88000000-0000-4000-8000-000000000001",
        "project_client_id": "10000000-0000-4000-8000-000000000001",
        "operation": "reports.refresh",
        "scheduled_for": "2026-08-01T01:00:00Z",
        "correlation_id": "89000000-0000-4000-8000-000000000001",
        "arguments": {
            "report_id": "weekly-sales"
        }
    }
}

Example

Event example
{
    "id": "88000000-0000-4000-8000-000000000001",
    "project_client_id": "10000000-0000-4000-8000-000000000001",
    "operation": "reports.refresh",
    "scheduled_for": "2026-08-01T01:00:00Z",
    "correlation_id": "89000000-0000-4000-8000-000000000001",
    "arguments": {
        "report_id": "weekly-sales"
    }
}