{
    "type": "object",
    "properties": {
        "id": {
            "type": "integer"
        },
        "date_created": {
            "type": "string"
        },
        "date_created_gmt": {
            "type": "string"
        },
        "email": {
            "type": "string"
        },
        "first_name": {
            "type": "string"
        },
        "last_name": {
            "type": "string"
        },
        "role": {
            "type": "string"
        },
        "username": {
            "type": "string"
        },
        "billing": {
            "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"
                },
                "postcode": {
                    "type": "string"
                },
                "country": {
                    "type": "string"
                },
                "state": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                }
            },
            "required": [
                "first_name",
                "last_name",
                "company",
                "address_1",
                "address_2",
                "city",
                "postcode",
                "country",
                "state",
                "email",
                "phone"
            ]
        },
        "shipping": {
            "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"
                },
                "postcode": {
                    "type": "string"
                },
                "country": {
                    "type": "string"
                },
                "state": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                }
            },
            "required": [
                "first_name",
                "last_name",
                "company",
                "address_1",
                "address_2",
                "city",
                "postcode",
                "country",
                "state",
                "phone"
            ]
        },
        "is_paying_customer": {
            "type": "boolean"
        },
        "avatar_url": {
            "type": "string"
        },
        "meta_data": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "key": {
                        "type": "string"
                    }
                },
                "required": [
                    "id",
                    "key",
                    "value"
                ]
            }
        },
        "_links": {
            "type": "object",
            "properties": {
                "self": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "href": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "href"
                        ]
                    }
                },
                "collection": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "href": {
                                "type": "string"
                            }
                        },
                        "required": [
                            "href"
                        ]
                    }
                }
            },
            "required": [
                "self",
                "collection"
            ]
        }
    },
    "required": [
        "id",
        "date_created",
        "date_created_gmt",
        "date_modified",
        "date_modified_gmt",
        "email",
        "first_name",
        "last_name",
        "role",
        "username",
        "billing",
        "shipping",
        "is_paying_customer",
        "avatar_url",
        "_links"
    ],
    "version": 1
}
