Schema for Jarvisv2 JarvisProfile

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

---
$defs:
  HospitalProfileMetadata:
    description: Profile metadata associated with a hospital user.
    properties:
      institution:
        anyOf:
        - type: string
        - type: 'null'
        default: null
        description: The institution that the user belongs to. This is usually similar
          to the tenant
        title: Institution
    title: HospitalProfileMetadata
    type: object
$id: https://skeleton.botmd.io/jarvisv2/JarvisProfile.schema
$schema: http://json-schema.org/draft-07/schema#
description: Profile for Jarvis V2.
properties:
  hospital:
    anyOf:
    - $ref: '#/$defs/HospitalProfileMetadata'
    - type: 'null'
    default: null
    description: Profile metadata associated with a hospital user.
    title: Hospital
  tenant:
    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 of this profile.
    title: Tenant
required: [tenant]
title: JarvisProfile
type: object

[Main Page] [Schema Documentation] [Examples]