{
  "$schema": "http://json-schema.org/draft/2020-12/schema",
  "$ref": "#/$defs/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"
    }
  }
}
