{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "id": {
                "type": "number"
            },
            "whitelisted": {
                "type": "boolean"
            },
            "buys": {
                "type": "object",
                "properties": {
                    "quantity": {
                        "type": "number"
                    },
                    "unit_price": {
                        "type": "number"
                    }
                }
            },
            "sells": {
                "type": "object",
                "properties": {
                    "quantity": {
                        "type": "number"
                    },
                    "unit_price": {
                        "type": "number"
                    }
                }
            }
        },
        "required": [
            "id",
            "whitelisted",
            "buys",
            "sells"
        ]
    },
    "properties": {},
    "additionalProperties": false
}