{
    "definitions": {
        "Article": {
            "properties": {
                "body": {
                    "type": "string"
                },
                "headline": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "Catalog": {
            "properties": {
                "queries": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "Index": {
            "properties": {
                "Items": {
                    "type": "object"
                },
                "totalResults": {
                    "type": "integer"
                }
            },
            "required": [
                "Items"
            ],
            "type": "object"
        },
        "Item": {
            "properties": {
                "archetype": {
                    "$ref": "#/definitions/link"
                },
                "attributions": {
                    "description": "Byline or author/contributor credits",
                    "items": {
                        "anyOf": [
                            {
                                "$ref": "#/definitions/person"
                            },
                            {
                                "$ref": "#/definitions/organization"
                            }
                        ]
                    },
                    "type": "array"
                },
                "category": {
                    "$ref": "#/definitions/category"
                },
                "contenttype": {
                    "type": "string"
                },
                "copyright": {
                    "type": "string"
                },
                "copyright_holder": {
                    "anyOf": [
                        {
                            "$ref": "#/definitions/person"
                        },
                        {
                            "$ref": "#/definitions/organization"
                        }
                    ],
                    "description": "Person or organization who owns the copyright",
                    "type": "object"
                },
                "created": {
                    "_format": "date-time",
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "guid": {
                    "_format": "uri",
                    "type": "string"
                },
                "itemtype": {
                    "type": "string"
                },
                "links": {
                    "$ref": "#/definitions/linklist"
                },
                "published": {
                    "_format": "date-time",
                    "type": "string"
                },
                "slug": {
                    "type": "string"
                },
                "source": {
                    "$ref": "#/definitions/link"
                },
                "thumbnail": {
                    "$ref": "#/definitions/link"
                },
                "title": {
                    "type": "string"
                },
                "updated": {
                    "_format": "date-time",
                    "type": "string"
                }
            },
            "required": [
                "archetype",
                "attributions",
                "contenttype",
                "copyright",
                "guid",
                "itemtype",
                "links",
                "published",
                "title"
            ],
            "type": "object"
        },
        "Page": {
            "description": "Web page",
            "properties": {
                "text": {
                    "type": "string"
                }
            }
        },
        "Webquills": {
            "scribes": {
                "items": {
                    "type": "string"
                },
                "type": "array"
            }
        },
        "category": {
            "description": "Category, (loosely) modeled after RFC 4287",
            "properties": {
                "icon": {
                    "$ref": "#/definitions/link"
                },
                "label": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "scheme": {
                    "_format": "uri",
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        },
        "link": {
            "description": "Link as defined by RFC 5988, extended for S3",
            "properties": {
                "bucket": {
                    "type": "string"
                },
                "href": {
                    "_format": "uri",
                    "type": "string"
                },
                "hreflang": {
                    "type": "string"
                },
                "key": {
                    "type": "string"
                },
                "rel": {
                    "type": "string"
                },
                "rev": {
                    "type": "string"
                },
                "title": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                }
            },
            "required": [
                "href"
            ],
            "type": "object"
        },
        "linklist": {
            "description": "List of links is so common, we define separately.",
            "items": {
                "$ref": "#/definitions/link"
            },
            "type": "array"
        },
        "organization": {
            "properties": {
                "email": {
                    "_format": "email",
                    "type": "string"
                },
                "links": {
                    "$ref": "#/definitions/linklist"
                },
                "name": {
                    "description": "for display",
                    "type": "string"
                },
                "role": {
                    "type": "string"
                },
                "sort": {
                    "description": "for lexical sort",
                    "type": "string"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        },
        "person": {
            "properties": {
                "description": {
                    "description": "Bio or about me.",
                    "type": "string"
                },
                "email": {
                    "_format": "email",
                    "type": "string"
                },
                "links": {
                    "$ref": "#/definitions/linklist"
                },
                "name": {
                    "description": "for display",
                    "type": "string"
                },
                "role": {
                    "type": "string"
                },
                "sort": {
                    "description": "for lexical sort",
                    "type": "string"
                },
                "thumbnail": {
                    "$ref": "#/definitions/link"
                }
            },
            "required": [
                "name"
            ],
            "type": "object"
        }
    },
    "properties": {
        "Article": {
            "$ref": "#/definitions/Article"
        },
        "Item": {
            "$ref": "#/definitions/Item"
        },
        "Page": {
            "$ref": "#/definitions/Page"
        }
    },
    "required": [
        "Item"
    ],
    "type": "object"
}