{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Kidoz Adapter Params",
    "description": "A schema which validates params accepted by the Kidoz adapter",
    "type": "object",
    "properties": {
        "access_token": {
            "$ref": "#/definitions/non-empty-string",
            "description": "Kidoz access_token"
        },
        "publisher_id": {
            "$ref": "#/definitions/non-empty-string",
            "description": "Kidoz publisher_id"
        }
    },
    "definitions": {
        "non-empty-string": {
            "type": "string",
            "minLength": 1
        }
    },
    "required": [
        "access_token",
        "publisher_id"
    ]
}