From UserProperties.schema.yaml (shadowfax/UserProperties.schema
)
---
$id: https://skeleton.botmd.io/shadowfax/UserProperties.schema
$schema: http://json-schema.org/draft-07/schema#
title: User Properties
description: This schema defines the user properties for each provider. _Shadowfax validates the the properties in the `_get_user_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/ShadowfaxUserProperties.schema"
einstein:
$ref: "/einstein/ShadowfaxUserProperties.schema"
hospital:
$ref: "/hospital/ShadowfaxUserProperties.schema"
stitch:
$ref: "/stitch/ShadowfaxUserProperties.schema"
noop:
title: Noop User Properties
description: Mostly used by unit tests.
type: object
additionalProperties: true
#end properties