package.updated
Sent when a change makes a tenant take another version of a policy package: publishing a version of a shared package that a tenant following its major version takes from now on (one event to each such tenant; a tenant pinning a version gets none), activating a revision of a tenant’s own package (to the tenant), or, in Connect, a tenant adopting a shared package or changing what it adopted (to the tenant). The change is never made without it. In Connect, the envelope has endpoint “source:connect” (Connect’s own events about the tenant: a tenant’s sink is sent them by naming “connect” in its sources), device "" and package “houradvantage-connect”; each change gives a new id. In Time and Attendance it is kept in its own event log and delivered to its sinks (the tenant’s and the install’s), the envelope’s endpoint “attendance”, its package “houradvantage-attend” and its device the tenant’s id; it says the day the version is in force from (effective), from which the tenant’s people are worked out again.
Schema id: urn:houradvantage:events:3:package.updated
Fields
| Field | Type | Required | Description |
|---|---|---|---|
package | string | yes | The package’s name, as the tenant names it. |
shared | boolean | yes | True for a shared package the tenant adopted; false for the tenant’s own. |
from | string or null | yes | The version the tenant took before: null when it took none. |
to | string | yes | The version it takes now. |
revision | integer | yes | The revision activated; for an adoption, the revision of the version it takes. at least 1 |
tenant | string | Time and Attendance: the tenant it is about. | |
effective | string (date) | Time and Attendance: the workday the version is in force from; absent: from the beginning. |
Examples
{ "package": "overtime", "shared": true, "from": "2.3.1", "to": "2.4.0", "revision": 5}{ "tenant": "franchisee-12", "package": "franchise", "shared": true, "from": "2.0.0", "to": "2.1.0", "revision": 2, "effective": "2026-11-02"}JSON Schema
package.updated.json
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "urn:houradvantage:events:3:package.updated", "title": "package.updated: data", "description": "Sent when a change makes a tenant take another version of a policy package: publishing a version of a shared package that a tenant following its major version takes from now on (one event to each such tenant; a tenant pinning a version gets none), activating a revision of a tenant's own package (to the tenant), or, in Connect, a tenant adopting a shared package or changing what it adopted (to the tenant). The change is never made without it. In Connect, the envelope has endpoint \"source:connect\" (Connect's own events about the tenant: a tenant's sink is sent them by naming \"connect\" in its sources), device \"\" and package \"houradvantage-connect\"; each change gives a new id. In Time and Attendance it is kept in its own event log and delivered to its sinks (the tenant's and the install's), the envelope's endpoint \"attendance\", its package \"houradvantage-attend\" and its device the tenant's id; it says the day the version is in force from (effective), from which the tenant's people are worked out again.", "type": "object", "properties": { "package": { "type": "string", "description": "The package's name, as the tenant names it." }, "shared": { "type": "boolean", "description": "True for a shared package the tenant adopted; false for the tenant's own." }, "from": { "type": [ "string", "null" ], "description": "The version the tenant took before: null when it took none." }, "to": { "type": "string", "description": "The version it takes now." }, "revision": { "type": "integer", "minimum": 1, "description": "The revision activated; for an adoption, the revision of the version it takes." }, "tenant": { "type": "string", "description": "Time and Attendance: the tenant it is about." }, "effective": { "type": "string", "format": "date", "description": "Time and Attendance: the workday the version is in force from; absent: from the beginning." } }, "required": [ "package", "shared", "from", "to", "revision" ], "examples": [ { "package": "overtime", "shared": true, "from": "2.3.1", "to": "2.4.0", "revision": 5 }, { "tenant": "franchisee-12", "package": "franchise", "shared": true, "from": "2.0.0", "to": "2.1.0", "revision": 2, "effective": "2026-11-02" } ]}