{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "name": {
                "type": "string"
            },
            "type": {
                "type": "string"
            },
            "flags": {
                "type": "array",
                "items": {
                    "type": "string"
                }
            },
            "restrictions": {
                "type": "array",
                "items": {}
            },
            "rarity": {
                "type": "string"
            },
            "id": {
                "type": "number"
            },
            "icon": {
                "type": "string"
            },
            "details": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "weight_class": {
                        "type": "string"
                    },
                    "dye_slots": {
                        "type": "object",
                        "properties": {
                            "default": {
                                "type": "array",
                                "items": {
                                    "oneOf": [
                                        {
                                            "type": "object",
                                            "properties": {
                                                "color_id": {
                                                    "type": "number"
                                                },
                                                "material": {
                                                    "type": "string"
                                                }
                                            }
                                        },
                                        {
                                            "type": "null"
                                        }
                                    ]
                                }
                            },
                            "overrides": {
                                "type": "object",
                                "properties": {}
                            }
                        }
                    }
                }
            }
        },
        "required": [
            "name",
            "type",
            "flags",
            "restrictions",
            "rarity",
            "id",
            "icon"
        ]
    },
    "properties": {},
    "additionalProperties": false
}