Schema for Ratatoskr Provider-Application Settings

From ProviderApplicationSettings.schema.yaml (ratatoskr/ProviderApplicationSettings.schema)

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

title: Provider-Application Settings
description: >-
  `ProviderApplication.settings` are usually settings required by frontend.
  As this will be provided to the frontend (sometimes without authentication), we should not store any secrets in here.
  Common fields stored here are `client_id`s.
  For secret information, store it in `provider_settings` instead.

type: object
additionalProperties: false
properties:
  pusher:
    $ref: "#/definitions/pusher"
#end properties

definitions:
  pusher:
    title: PusherProvider
    description: Provider settings for `PusherProvider`.

    type: object

    additionalProperties: true
    required: [key, authEndpoint]

    properties:
      key:
        title: Key
        description: Pusher application `key`.
        type: string
        minLength: 1
      #end key

      authEndpoint:
        title: Authentication Endpoint
        description: Pusher authentication for private channels.
        type: string
        format: uri
      #end domain
  #end pusher
#end definitions

[Main Page] [Schema Documentation] [Examples]