Home Schema Example JSON Schema

Session Scopes (Faraday)

Type: array of string

Faraday specific session scopes. See heimdall/SessionScopes.schema for more information.

Must contain a minimum of 1 items

Must contain a maximum of 1 items

All items must be unique

No Additional Items

Each item of this array must be:


Doctor

Type: const

Doctor with acess to its own data.

Specific value: "faraday:doctor"

Admin

Type: const

Admin with limited access.

Specific value: "faraday:admin"

Super Admin

Type: const

Clinic Admin with full access.

Specific value: "faraday:superadmin"

Approval

Type: const

Session to access approval page.

Specific value: "faraday:approval"