{
  "$defs": {
    "TestPing": {
      "description": "`de.ems.test.ping`: sent on request, to check a receiver.",
      "properties": {
        "test": {
          "description": "Always `true`; a receiver can tell a test from an event by its type.",
          "type": "boolean"
        }
      },
      "required": [
        "test"
      ],
      "type": "object"
    }
  },
  "$id": "https://hupe1980.github.io/ems/contracts/events/v1/de.ems.test.ping.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Sent on request, to check a receiver",
  "properties": {
    "data": {
      "$ref": "#/$defs/TestPing"
    },
    "dataclassification": {
      "const": "internal"
    },
    "datacontenttype": {
      "const": "application/json"
    },
    "dataschema": {
      "const": "https://hupe1980.github.io/ems/contracts/events/v1/de.ems.test.ping.json#/properties/data"
    },
    "id": {
      "description": "Unique per `source`; a receiver deduplicates on the pair.",
      "type": "string"
    },
    "partitionkey": {
      "description": "The site the event is about; events with one key are ordered.",
      "type": "string"
    },
    "source": {
      "description": "`ems://sites/<site>`",
      "type": "string"
    },
    "specversion": {
      "const": "1.0"
    },
    "subject": {
      "type": "string"
    },
    "time": {
      "format": "date-time",
      "pattern": "Z$",
      "type": "string"
    },
    "type": {
      "const": "de.ems.test.ping"
    }
  },
  "required": [
    "specversion",
    "id",
    "source",
    "type",
    "time",
    "datacontenttype",
    "dataschema",
    "partitionkey",
    "dataclassification",
    "data"
  ],
  "title": "de.ems.test.ping",
  "type": "object"
}
