Schema for Jarvisv2 TTSH JSON Web Directory Syncer Settings

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

---
$id: https://skeleton.botmd.io/jarvisv2/TTSHJsonWebDirectorySyncerSettings.schema
$schema: http://json-schema.org/draft-07/schema#
description: This contains settings for syncing TTSH JSON directory Syncer Settings.
properties:
  storage_uri:
    description: URI where the directory data is stored.
    minLength: 1
    title: Storage URI
    type: string
  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:
    const: ttsh-json-web-directory
    default: ttsh-json-web-directory
    title: Type
    type: string
required: [syncer_id, storage_uri]
title: TTSH JSON Web Directory Syncer Settings
type: object

[Main Page] [Schema Documentation] [Examples]