Home Schema Example JSON Schema

Einstein Directory Syncer Settings

Type: object

This contains settings for syncing Einstein directorys.

Chernobyl Field Mappings

Type: array

Describe how fields in a Chernobyl entry are mapped to Jarvis answers.

No Additional Items

Each item of this array must be:

Chernobyl Field Mapping

Type: object

This object describes how Chernobyl entry variables (i.e., fields) are mapped to Jarvis answer/source fields.
Answer fields are indexed in the KB while source fields are stored but not indexed.
Source fields are used during the answer generation step to provide information back to the user.

For a list of answer and source fields supported for each answer type, see https://gitlab.com/fivehealth/hippocrates/-/blob/staging/hippocrates/jarvis/types/answers.py

Answer Field

Default: null

The field name in the Jarvis answer.

Chernobyl Field

Type: string

The field name of the Chernobyl entry.

Must be at least 1 characters long

Source Field

Default: null

The field name in the source object.

Data Source

Type: string

The data source key in Einstein.

Must be at least 1 characters long

Default Values

Type: array

Default values for fields in the Jarvis answer.

No Additional Items

Each item of this array must be:

Default Value

Type: object

Defines default value to use for an answer or source field.

Answer Field

Default: null

The field name in the Jarvis answer.

Type: string

Must be at least 1 characters long

Source Field

Default: null

The field name in the source object.

Type: string

Must be at least 1 characters long

Value

Type: string

The default value to use.

Must be at least 1 characters long

Syncer ID

Type: string

Unique name identifying this syncer.

Tenants

Default: ["__all__"]

The tenant that this object is applicable for. Defaults to all tenants.

Tenant


The tenant applicable to this object. This must be one specific tenant and not any of the `all alternatives.

Cleo Tenant

Type: string

The cleo app tenant applicable to this object.

Must match regular expression: ^cleo\:[a-zA-Z0-9][\w\-\_]*$

Hospital Tenant

Type: string

The hospital app tenant applicable to this object.

Must match regular expression: ^hospital\:[a-zA-Z0-9][\w\-\_]*$

All Tenants

Type: const

A literal to represent all tenants.

Specific value: "__all__"

Cleo All Tenant

Type: const

A literal to represent all cleo app tenants.

Specific value: "cleo:__all__"

Hospital All Tenant

Type: const

A literal to represent all hospital app tenants.

Specific value: "hospital:__all__"

Tenant List

Type: array

A list of tenants.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:


Tenant


The tenant applicable to this object. This must be one specific tenant and not any of the `all alternatives.

Cleo Tenant

Type: string

The cleo app tenant applicable to this object.

Must match regular expression: ^cleo\:[a-zA-Z0-9][\w\-\_]*$

Hospital Tenant

Type: string

The hospital app tenant applicable to this object.

Must match regular expression: ^hospital\:[a-zA-Z0-9][\w\-\_]*$

All Tenants

Type: const

A literal to represent all tenants.

Specific value: "__all__"

Cleo All Tenant

Type: const

A literal to represent all cleo app tenants.

Specific value: "cleo:__all__"

Hospital All Tenant

Type: const

A literal to represent all hospital app tenants.

Specific value: "hospital:__all__"

Type

Type: const Default: "einstein-directory"
Specific value: "einstein-directory"