{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "description": "A unique identifier for the asset_folder.json"
        },
        "type": {
            "type": "string",
            "description": "The json_api type for any asset_folder.json",
            "pattern": "^asset_folders$"
        },
        "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"
                },
                "name": {
                    "type": "string",
                    "description": "Description for name"
                },
                "reference": {
                    "type": "string",
                    "description": "Description for reference"
                },
                "children_count": {
                    "type": "null",
                    "description": "Description for children_count"
                },
                "depth": {
                    "type": "number",
                    "description": "Description for depth"
                },
                "lft": {
                    "type": "number",
                    "description": "Description for lft"
                },
                "rgt": {
                    "type": "number",
                    "description": "Description for rgt"
                }
            }
        },
        "relationships": {
            "type": "object",
            "properties": {
                "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
                        }
                    }
                },
                "sub_folders": {
                    "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": {}
}