Home Schema Example JSON Schema

Session Scopes (Hospital)

Type: array of string

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

Must contain a minimum of 1 items

Must contain a maximum of 2 items

All items must be unique

No Additional Items

Each item of this array must be:


User

Type: const

Access all user features.

Specific value: "hospital:user"

User

Type: const

Access all user features.

Specific value: "hospital:user-temporary"

Public

Type: const

Access all public features.

Specific value: "hospital:public"

Organiation Key

Type: string

Organization

Must match regular expression: ^hospital\:\w+$