{
  "type": "object",
  "properties": {
    "billing_address": {
      "type": "object",
      "properties": {
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "address_1": {
          "type": "string"
        },
        "address_2": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      },
	  "required" : ["first_name","last_name","address_1","address_2","city","state","country","email","phone"]
    },
	"shipping_address": {
      "type": "object",
      "properties": {
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "address_1": {
          "type": "string"
        },
        "address_2": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      },
	  "required" : ["first_name","last_name","address_1","address_2","city","state","country","email","phone"]
    },
	"order_items" : {
		"type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
		  "name": {
            "type": "string"
          },
          "net_total": {
            "type": "string"
          }
        },
        "required": [
          "id","name","net_total"
        ]
      }
	}
	

  },
  "required": [
    "billing_address",
    "shipping_address",
	"order_items"
  ]
}