Schema for Jarvisv2 Answer Syncer Settings

From AnswerSyncerSettings.schema.yaml (jarvisv2/AnswerSyncerSettings.schema)

---
$id: https://skeleton.botmd.io/jarvisv2/AnswerSyncerSettings.schema
$schema: http://json-schema.org/draft-07/schema#
description: This contains all the settings needed for answer syncers.
properties:
  syncer_id:
    description: Unique name identifying this syncer.
    title: Syncer ID
    type: string
  tenants:
    anyOf:
    - anyOf:
      - description: The `cleo` app tenant applicable to this object.
        pattern: ^cleo\:[a-zA-Z0-9][\w\-\_]*$
        title: Cleo Tenant
        type: string
      - description: The `hospital` app tenant applicable to this object.
        pattern: ^hospital\:[a-zA-Z0-9][\w\-\_]*$
        title: Hospital Tenant
        type: string
      description: The tenant applicable to this object. This must be one specific
        tenant and not any of the `__all__ alternatives.
      title: Tenant
    - const: __all__
      description: A literal to represent all tenants.
      title: All Tenants
      type: string
    - const: cleo:__all__
      description: A literal to represent all cleo app tenants.
      title: Cleo All Tenant
      type: string
    - const: hospital:__all__
      description: A literal to represent all hospital app tenants.
      title: Hospital All Tenant
      type: string
    - description: A list of tenants.
      items:
        anyOf:
        - anyOf:
          - description: The `cleo` app tenant applicable to this object.
            pattern: ^cleo\:[a-zA-Z0-9][\w\-\_]*$
            title: Cleo Tenant
            type: string
          - description: The `hospital` app tenant applicable to this object.
            pattern: ^hospital\:[a-zA-Z0-9][\w\-\_]*$
            title: Hospital Tenant
            type: string
          description: The tenant applicable to this object. This must be one specific
            tenant and not any of the `__all__ alternatives.
          title: Tenant
        - const: __all__
          description: A literal to represent all tenants.
          title: All Tenants
          type: string
        - const: cleo:__all__
          description: A literal to represent all cleo app tenants.
          title: Cleo All Tenant
          type: string
        - const: hospital:__all__
          description: A literal to represent all hospital app tenants.
          title: Hospital All Tenant
          type: string
      minItems: 1
      title: Tenant List
      type: array
    default: [__all__]
    description: The tenant that this object is applicable for. Defaults to all tenants.
    title: Tenants
  type:
    anyOf:
    - enum: [monograph-ahfs-essentials, cleo-dialogue, cleo-documents, einstein-directory,
        einstein-roster, einstein-dialogue, einstein-document, einstein-document-snippet,
        einstein-clinical-trial, ttsh-json-web-directory, hms-dailyoncall]
      minLength: 1
      type: string
    - type: 'null'
    default: null
    description: The type of the answer syncer.
    title: Type
required: [syncer_id]
title: Answer Syncer Settings
type: object

[Main Page] [Schema Documentation] [Examples]