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