{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "properties": {
        "title": {
            "type": "string"
        },
        "description": {
            "type": [
                "string"
            ]
        },
        "sources": {
            "type": "array",
            "minLength": 1,
            "items": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string"
                    },
                    "encoding": {
                        "type": "string"
                    }
                },
                "required": [
                    "url"
                ]
            }
        },
        "fields": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "header": {
                        "type": "string"
                    },
                    "aliases": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "columnType": {
                        "type": "string"
                    },
                    "options": {
                        "type": "object"
                    }
                }
            }
        },
        "postprocessing": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "processor": {
                        "type": "string"
                    },
                    "parameters": {
                        "type": "object"
                    }
                },
                "required": [
                    "processor"
                ]
            }
        }
    },
    "required": [
        "title",
        "sources",
        "fields"
    ]
}