{
    "title": "TrainingSet Schema",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "error": {
            "type": "number"
        },
        "targetError": {
            "type": "number"
        },
        "epochs": {
            "type": "integer"
        },
        "maxEpochs": {
            "type": "integer"
        },
        "trainingItems": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "input": {
                        "type": "array"
                    },
                    "expectedOutput": {
                        "type": "array"
                    }
                },
                "required": [
                    "input"
                ]
            }
        }
    },
    "required": [
        "maxEpochs",
        "targetError",
        "trainingItems"
    ]
}