{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$ref": "#/definitions/TestYamlInline",
  "definitions": {
    "Inner": {
      "required": ["foo"],
      "properties": {
        "foo": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "type": "object"
    },
    "TestYamlInline": {
      "required": [
        "Inlined"
      ],
      "properties": {
        "Inlined": {
          "$schema": "http://json-schema.org/draft-04/schema#",
          "$ref": "#/definitions/Inner"
        }
      },
      "additionalProperties": false,
      "type": "object"
    }
  }
}
