From EventProperties.schema.yaml (shadowfax/EventProperties.schema
)
---
$id: https://skeleton.botmd.io/shadowfax/EventProperties.schema
$schema: http://json-schema.org/draft-07/schema#
title: Event Properties
description: This schema defines the event properties for each provider. Note that `event_types` field is added for validation but is not actually with the event properties object. _Shadowfax validates the the properties in the `_get_event_properties` method during `augment_event`s._
type: object
additionalProperties: false
oneOf:
- required: [cleo]
- required: [einstein]
- required: [hospital]
- required: [stitch]
- required: [noop]
properties:
cleo:
$ref: "/cleo/ShadowfaxEventProperties.schema"
einstein:
$ref: "/einstein/ShadowfaxEventProperties.schema"
hospital:
$ref: "/hospital/ShadowfaxEventProperties.schema"
stitch:
$ref: "/stitch/ShadowfaxEventProperties.schema"
noop:
title: Noop User Properties
description: Mostly used by unit tests.
type: object
additionalProperties: true
#end properties