{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proppely-com/json-schema/proppely-com-event-envelope-schema.json",
  "title": "EventEnvelope",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proppely-com-openapi.json#/components/schemas/EventEnvelope",
  "type": "object",
  "required": [
    "id",
    "type",
    "created",
    "orgId",
    "apiVersion",
    "data"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Event id. Dedupe on it."
    },
    "type": {
      "type": "string"
    },
    "created": {
      "type": "integer",
      "description": "Unix seconds."
    },
    "orgId": {
      "type": "string"
    },
    "apiVersion": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "required": [
        "object"
      ],
      "properties": {
        "object": {
          "type": "object",
          "properties": {
            "object": {
              "const": "string"
            }
          },
          "additionalProperties": true,
          "required": [
            "object"
          ]
        }
      }
    }
  }
}