github.com/vmware/go-vcloud-director/v2@v2.24.0/test-resources/rde_type.json (about)

     1  {
     2    "definitions": {
     3      "foo": {
     4        "description": "Foo definition",
     5        "properties": {
     6          "key": {
     7            "description": "Key for foo",
     8            "type": "string"
     9          }
    10        },
    11        "type": "object"
    12      }
    13    },
    14    "properties": {
    15      "bar": {
    16        "description": "Bar",
    17        "type": "string"
    18      },
    19      "foo": {
    20        "$ref": "#/definitions/foo"
    21      },
    22      "prop2": {
    23        "properties": {
    24          "subprop1": {
    25            "type": "string"
    26          },
    27          "subprop2": {
    28            "items": {
    29              "type": "string"
    30            },
    31            "type": "array"
    32          }
    33        },
    34        "type": "object"
    35      }
    36    },
    37    "required": [
    38      "foo"
    39    ],
    40    "type": "object"
    41  }