$schema: "https://json-schema.org/draft/2020-12/schema"
title: "Institution"
type: "object"
required:
  - name
properties:
  name:
    type: string
    examples:
      - "External Lab"
  auth_sub:
    $ref: "../core.json#/definitions/UUID"
  contact_info:
    type: array
    items:
      type: "object"
      properties:
        phone:
          $ref: "../core.json#/definitions/PhoneNumber"
    maxItems: 1
  clia_numbers:
    type: array
    items:
      $ref: "../core.json#/definitions/CLIANumber"

additionalProperties: false
