{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "description": "A unique identifier for the variant.json"
        },
        "type": {
            "type": "string",
            "description": "The json_api type for any variant.json",
            "pattern": "^variants$"
        },
        "attributes": {
            "type": "object",
            "properties": {
                "meta_attributes": {
                    "type": "object",
                    "description": "Description for meta_attributes"
                },
                "updated_at": {
                    "type": "string",
                    "description": "Description for updated_at"
                },
                "created_at": {
                    "type": "string",
                    "description": "Description for created_at"
                },
                "deleted_at": {
                    "type": "null",
                    "description": "Description for deleted_at"
                },
                "title": {
                    "type": "string",
                    "description": "Description for title"
                },
                "description": {
                    "type": "string",
                    "description": "Description for description"
                },
                "reference": {
                    "type": "string",
                    "description": "Description for reference"
                },
                "ewis_eligible": {
                    "type": "boolean",
                    "description": "Description for ewis_eligible"
                },
                "expected_availability_date": {
                    "type": "null",
                    "description": "Description for expected_availability_date"
                },
                "ordered_total": {
                    "type": "number",
                    "description": "Description for ordered_total"
                },
                "position": {
                    "type": "null",
                    "description": "Description for position"
                },
                "price": {
                    "type": "number",
                    "description": "Description for price"
                },
                "price_includes_taxes": {
                    "type": "boolean",
                    "description": "Description for price_includes_taxes"
                },
                "product_id": {
                    "type": "number",
                    "description": "Description for product_id"
                },
                "sku": {
                    "type": "string",
                    "description": "Description for sku"
                },
                "stock_allocated_level": {
                    "type": "number",
                    "description": "Description for stock_allocated_level"
                },
                "stock_level": {
                    "type": "number",
                    "description": "Description for stock_level"
                },
                "tax_code": {
                    "type": "null",
                    "description": "Description for tax_code"
                },
                "current_price": {
                    "type": "number",
                    "description": "Description for current_price"
                },
                "stock_available_level": {
                    "type": "number",
                    "description": "Description for stock_available_level"
                },
                "has_assets": {
                    "type": "boolean",
                    "description": "Description for has_assets"
                },
                "available_to_browse": {
                    "type": "boolean",
                    "description": "Description for available_to_browse"
                },
                "available_to_order": {
                    "type": "boolean",
                    "description": "Description for available_to_order"
                },
                "picture_url": {
                    "type": [
                        "null",
                        "string"
                    ],
                    "description": "Description for picture_url"
                }
            }
        },
        "relationships": {
            "type": "object",
            "properties": {
                "product": {
                    "type": "object",
                    "properties": {
                        "links": {
                            "type": "object",
                            "properties": {
                                "self": {
                                    "type": "string"
                                },
                                "related": {
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "data": {
                            "oneOf": [
                                {
                                    "type": "object",
                                    "description": "The id and type form a pointer into the 'included' top level document property",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        }
                                    },
                                    "additionalProperties": false
                                },
                                {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "description": "The id and type form a pointer into the 'included' top level document property",
                                        "properties": {
                                            "id": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            }
                                        },
                                        "additionalProperties": false
                                    }
                                }
                            ]
                        },
                        "meta": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "asset_files": {
                    "type": "object",
                    "properties": {
                        "links": {
                            "type": "object",
                            "properties": {
                                "self": {
                                    "type": "string"
                                },
                                "related": {
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "data": {
                            "oneOf": [
                                {
                                    "type": "object",
                                    "description": "The id and type form a pointer into the 'included' top level document property",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        }
                                    },
                                    "additionalProperties": false
                                },
                                {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "description": "The id and type form a pointer into the 'included' top level document property",
                                        "properties": {
                                            "id": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            }
                                        },
                                        "additionalProperties": false
                                    }
                                }
                            ]
                        },
                        "meta": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                },
                "markdown_prices": {
                    "type": "object",
                    "properties": {
                        "links": {
                            "type": "object",
                            "properties": {
                                "self": {
                                    "type": "string"
                                },
                                "related": {
                                    "type": "string"
                                }
                            },
                            "additionalProperties": false
                        },
                        "data": {
                            "oneOf": [
                                {
                                    "type": "object",
                                    "description": "The id and type form a pointer into the 'included' top level document property",
                                    "properties": {
                                        "id": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        }
                                    },
                                    "additionalProperties": false
                                },
                                {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "description": "The id and type form a pointer into the 'included' top level document property",
                                        "properties": {
                                            "id": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            }
                                        },
                                        "additionalProperties": false
                                    }
                                }
                            ]
                        },
                        "meta": {
                            "type": "object",
                            "additionalProperties": true
                        }
                    }
                }
            }
        },
        "links": {
            "type": "object",
            "properties": {
                "self": {
                    "type": "string"
                }
            },
            "additionalProperties": false
        },
        "meta": {
            "type": "object",
            "additionalProperties": false
        }
    },
    "definitions": {}
}