Schema

This configuration is for declaring variables that will be stored locally, such as the API Key for Machine Translation

Object Structure

  • type: string

    • string

    • number

  • name: string

  • default: string|number

  • required: boolean

  • message: string

{
    "schema": [
        { "type": "string", "name": "api_key", "default": "", "required": true, "message": "Required an API Key" },
        { "type": "string", "name": "formality", "default": "default", "required": true },
        { "type": "number", "name": "preserve_formatting", "default": 0, "required": true },            
    ]
}

Last updated