From SessionScopes.schema.yaml (hospital/SessionScopes.schema
)
---
$id: https://skeleton.botmd.io/hospital/SessionScopes.schema
$schema: http://json-schema.org/draft-07/schema#
title: Session Scopes (Hospital)
description: Hospital specific session scopes. See [heimdall/SessionScopes.schema](index.html#heimdall-sessionscopes) for more information.
type: array
uniqueItems: true
minItems: 1
maxItems: 2
items:
type: string
anyOf:
- $ref: "#/definitions/User Session Scope"
- $ref: "#/definitions/User Temporary Session Scope"
- $ref: "#/definitions/Public Session Scope"
- $ref: "#/definitions/Organization Key Session Scope"
#end items
definitions:
User Session Scope:
title: User
description: Access all user features.
const: hospital:user
User Temporary Session Scope:
title: User
description: Access all user features.
const: hospital:user-temporary
Public Session Scope:
title: Public
description: Access all public features.
const: hospital:public
Organization Key Session Scope:
title: Organiation Key
description: Organization
type: string
pattern: '^hospital\:\w+$'