Schema for Faraday Session Scopes (Faraday)

From SessionScopes.schema.yaml (faraday/SessionScopes.schema)

---
$id: https://skeleton.botmd.io/faraday/SessionScopes.schema
$schema: http://json-schema.org/draft-07/schema#

title: Session Scopes (Faraday)
description: Faraday specific session scopes. See [heimdall/SessionScopes.schema](index.html#heimdall-sessionscopes) for more information.

type: array
uniqueItems: true
minItems: 1
maxItems: 1
items:
  type: string
  oneOf:
    - title: Doctor
      description: Doctor with acess to its own data.
      const: "faraday:doctor"

    - title: Admin
      description: Admin with limited access.
      const: "faraday:admin"

    - title: Super Admin
      description: Clinic Admin with full access.
      const: "faraday:superadmin"

    - title: Approval
      description: Session to access approval page.
      const: "faraday:approval"

[Main Page] [Schema Documentation] [Examples]