{
    "swagger": "2.0",
    "info": {
        "title": "Test",
        "description": "Tests issue with examples and nested objects with items properties",
        "version": "1.0"
    },
    "host": "FooBar",
    "basePath": "/latest",
    "schemes": [
        "https"
    ],
    "produces": [
        "application/json"
    ],
    "paths": {
        "/foo/": {
            "get": {
                "description": "Tests issue with nested items object properties and examples",
                "summary": "Tests issue with nested items object properties and examples",
                "responses": {
                    "200": {
                        "description": "Example should match spec",
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "items": {
                                        "type": "array",
                                        "maxItems": 255,
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "format": "int32"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}