Lucca · Schema

event.read

CompanyHuman ResourcesSoftware-as-a-ServicePayrollTalent Management

Properties

Name Type Description
id string Unique string identifier of this event.
type string
url string Absolute URL for the event resource.
apiVersion string API version of the resource representation contained in data. Not to be confused with the API version of the representation of this present event, which is indicated in the `Api-Version` HTTP header.
topic object Indicates which type of event occurred. Usually concatenates the name of the object type with the kind of change ("created", "updated" or "deleted").
occurredAt string Timezoned timestamp of the moment when this event occurred.
source string URL of the tenant. Ensures unicity of {source} + {id}.
data object Representation of the resource whose change triggered the event. Please note that this is the representation of the resource just after the change, and it may have changed again since then.
businessEstablishment object Business Establishment of the Resource in the Event, if there is one.
previousAttributes object Only sent on `*.updated` event topics. Keys are the list of modified attributes. Values are the values of these attributes before the change. This is only available for some resources. If a value in t
links object
embedded objectnull No embedded resources on a event(s) response. Expect an empty object if embedded are requested.
View JSON Schema on GitHub

JSON Schema

lucca-event-read-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lucca/json-schema/lucca-event-read-schema.json",
  "title": "event.read",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lucca-events-api-openapi.yml#/components/schemas/event.read",
  "allOf": [
    {
      "$ref": "#/$defs/event"
    },
    {
      "$ref": "#/$defs/event.embedded"
    }
  ],
  "$defs": {
    "business-establishment-reference": {
      "title": "business-establishment-reference",
      "description": "Reference to a [business-establishment](../organization/business-establishment) resource.",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "type": {
          "type": "string",
          "const": "business-establishment"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "event": {
      "title": "event",
      "description": "Represents a change made to the state of a resource.",
      "x-tags": [
        "Events"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique string identifier of this event."
        },
        "type": {
          "type": "string",
          "const": "event"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Absolute URL for the event resource."
        },
        "apiVersion": {
          "type": "string",
          "format": "date",
          "description": "API version of the resource representation contained in data. Not to be confused with the API version of the representation of this present event, which is indicated in the `Api-Version` HTTP header."
        },
        "topic": {
          "description": "Indicates which type of event occurred. Usually concatenates the name of the object type with the kind of change (\"created\", \"updated\" or \"deleted\").",
          "allOf": [
            {
              "$ref": "#/$defs/event.topic"
            }
          ]
        },
        "occurredAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timezoned timestamp of the moment when this event occurred."
        },
        "source": {
          "type": "string",
          "format": "uri",
          "description": "URL of the tenant. Ensures unicity of {source} + {id}."
        },
        "data": {
          "type": "object",
          "description": "Representation of the resource whose change triggered the event. Please note that this is the representation of the resource just after the change, and it may have changed again since then.",
          "additionalProperties": true
        },
        "businessEstablishment": {
          "description": "Business Establishment of the Resource in the Event, if there is one.",
          "anyOf": [
            {
              "$ref": "#/$defs/business-establishment-reference"
            },
            {
              "type": "null"
            }
          ]
        },
        "previousAttributes": {
          "description": "Only sent on `*.updated` event topics. Keys are the list of modified attributes. Values are the values of these attributes before the change.\n\nThis is only available for some resources. If a value in the dictionary is NULL, then it can either mean that the original value was NULL or that we can't retrieve them for this Resource.",
          "type": "object",
          "additionalProperties": true
        },
        "links": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "retry": {
              "type": "object",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          }
        }
      }
    },
    "event.embedded": {
      "type": "object",
      "properties": {
        "embedded": {
          "description": "No embedded resources on a event(s) response. Expect an empty object if embedded are requested.",
          "type": [
            "object",
            "null"
          ]
        }
      }
    },
    "event.topic": {
      "description": "List of topics",
      "oneOf": [
        {
          "type": "string",
          "title": "test.created",
          "const": "test.created"
        },
        {
          "type": "string",
          "title": "employee.created",
          "const": "employee.created"
        },
        {
          "type": "string",
          "title": "employee.updated",
          "const": "employee.updated"
        },
        {
          "type": "string",
          "title": "employment.created",
          "const": "employment.created"
        },
        {
          "type": "string",
          "title": "employment.updated",
          "const": "employment.updated"
        },
        {
          "type": "string",
          "title": "employment.deleted",
          "const": "employment.deleted"
        },
        {
          "type": "string",
          "title": "job-position.created",
          "const": "job-position.created"
        },
        {
          "type": "string",
          "title": "job-position.updated",
          "const": "job-position.updated"
        },
        {
          "type": "string",
          "title": "job-position.deleted",
          "const": "job-position.deleted"
        },
        {
          "type": "string",
          "title": "employee-attribute.created",
          "const": "employee-attribute.created"
        },
        {
          "type": "string",
          "title": "employee-attribute.updated",
          "const": "employee-attribute.updated"
        },
        {
          "type": "string",
          "title": "employee-attribute.deleted",
          "const": "employee-attribute.deleted"
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lucca-event-read"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.