{
    "definitions": {
        "cow": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "properties": {
                "cow": {
                    "properties": {
                        "milk": {
                            "enum": [
                                "Cream",
                                "Whole",
                                "Organic-non-pasteurize-non-homogenized-non-gmo",
                                "Skim",
                                "1%"
                            ],
                            "title": "Milk",
                            "type": [
                                "string"
                            ]
                        },
                        "quantity": {
                            "minimum": 8,
                            "title": "Quantity (oz.)",
                            "type": [
                                "number"
                            ]
                        }
                    },
                    "title": "The Cow",
                    "type": [
                        "object"
                    ]
                }
            },
            "title": "The Cow",
            "type": [
                "object"
            ]
        },
        "grocer": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "properties": {
                "grocer": {
                    "properties": {
                        "custom": {
                            "description": "Write your own order",
                            "title": "Custom",
                            "type": [
                                "string"
                            ]
                        },
                        "ice_cream_essentials": {
                            "enum": [
                                "sugar",
                                "stevia"
                            ],
                            "title": "Essentials",
                            "type": [
                                "string"
                            ]
                        },
                        "mixins": {
                            "enum": [
                                "chocolate chips",
                                "anchovies",
                                "blueberries",
                                "mixed fruit",
                                "jello",
                                "guar gum",
                                "apples",
                                "coffee",
                                "caramel",
                                "sea salt"
                            ],
                            "title": "Mixins",
                            "type": [
                                "string"
                            ]
                        }
                    },
                    "title": "The Grocer",
                    "type": [
                        "object"
                    ]
                }
            },
            "title": "The Grocer",
            "type": [
                "object"
            ]
        },
        "hen": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "properties": {
                "hen": {
                    "properties": {
                        "count": {
                            "title": "Count",
                            "type": [
                                "number"
                            ]
                        },
                        "egg": {
                            "enum": [
                                "brown/yolk only",
                                "scavenged (turkey)/ whole",
                                "stolen (crocodile)/ yolk only"
                            ],
                            "title": "Egg(s)",
                            "type": [
                                "string"
                            ]
                        }
                    },
                    "title": "The Hen",
                    "type": [
                        "object"
                    ]
                }
            },
            "title": "The Hen",
            "type": [
                "object"
            ]
        },
        "ice-man": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "properties": {
                "ice_man": {
                    "properties": {
                        "count": {
                            "minimum": 1,
                            "title": "Count",
                            "type": [
                                "number"
                            ]
                        },
                        "ice": {
                            "enum": [
                                "cube",
                                "sphere",
                                "special square"
                            ],
                            "title": "Ice",
                            "type": [
                                "string"
                            ]
                        }
                    },
                    "title": "The Ice Man",
                    "type": [
                        "object"
                    ]
                }
            },
            "title": "The Ice-man",
            "type": [
                "object"
            ]
        }
    },
    "description": "Ice cream API",
    "links": [
        {
            "href": "http://localhost:4567",
            "rel": "self"
        }
    ],
    "properties": {
        "cow": {
            "$ref": "#/definitions/cow"
        },
        "grocer": {
            "$ref": "#/definitions/grocer"
        },
        "hen": {
            "$ref": "#/definitions/hen"
        },
        "ice-man": {
            "$ref": "#/definitions/ice-man"
        }
    },
    "title": "Ice cream",
    "type": [
        "object"
    ]
}