{
  "type": "object",
  "version": "1.0.0",
  "properties": {
    "customer": {
      "$ref": "#/definitions/Customer"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/Product"
      }
    }
  },
  "definitions": {
    "Customer": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string",
          "format": "email"
        }
      },
      "required": [
        "name",
        "email"
      ]
    },
    "Product": {
      "type": "object",
      "properties": {
        "sku": {
          "type": "string"
        },
        "price": {
          "type": "number"
        }
      },
      "required": [
        "sku",
        "price"
      ]
    }
  }
}