{
    "definitions": {
        "index": {
            "properties": {
                "URL": {
                    "description": "The location of the site",
                    "type": "string"
                },
                "description": {
                    "description": "The site's description",
                    "type": "string"
                },
                "meta": {
                    "description": "Metadata for the Index entity",
                    "type": "object"
                },
                "name": {
                    "description": "The site's name",
                    "type": "string"
                },
                "routes": {
                    "description": "The URL patterns that are handled by the API",
                    "patternProperties": {
                        ".+": {
                            "description": "A single route description",
                            "properties": {
                                "accepts_json": {
                                    "default": false,
                                    "description": "Whether the endpoint accepts a raw JSON POST body for data",
                                    "type": "boolean"
                                },
                                "supports": {
                                    "description": "The HTTP methods supported by the endpoint",
                                    "items": {
                                        "enum": [
                                            "HEAD",
                                            "GET",
                                            "POST",
                                            "PUT",
                                            "PATCH",
                                            "DELETE"
                                        ]
                                    },
                                    "type": "array"
                                }
                            },
                            "required": [
                                "supports"
                            ],
                            "type": "object"
                        }
                    },
                    "type": "object"
                }
            },
            "required": [
                "name",
                "description",
                "URL",
                "routes",
                "meta"
            ],
            "title": "Index",
            "type": "object"
        },
        "post": {
            "properties": {
                "ID": {
                    "description": "Entity ID",
                    "type": "integer"
                },
                "author": {
                    "$ref": "#/definitions/user",
                    "description": "Post author details",
                    "type": "object"
                },
                "comment_status": {
                    "description": "Whether the post is open for commenting",
                    "enum": [
                        "open",
                        "closed"
                    ],
                    "type": "string"
                },
                "content": {
                    "description": "Post content",
                    "type": "string"
                },
                "date": {
                    "description": "Post creation datetime in the local timezone",
                    "type": "string"
                },
                "date_gmt": {
                    "description": "Post creation datetime in UTC",
                    "type": "string"
                },
                "date_tz": {
                    "description": "Olsen timezone identifier for the date field",
                    "type": "string"
                },
                "excerpt": {
                    "description": "Short version of the post content for display",
                    "type": "string"
                },
                "guid": {
                    "description": "Globally unique identifier for the post",
                    "type": "string"
                },
                "link": {
                    "description": "Full URL to the post",
                    "format": "uri",
                    "type": "string"
                },
                "menu_order": {
                    "default": 0,
                    "description": "The post's position in menus",
                    "type": "integer"
                },
                "modified": {
                    "description": "Post last modification datetime in the local timezone",
                    "type": "string"
                },
                "modified_gmt": {
                    "description": "Post last modification datetime in UTC",
                    "type": "string"
                },
                "modified_tz": {
                    "description": "Olsen timezone identifier for the modified field",
                    "type": "string"
                },
                "name": {
                    "description": "Post slug (URL identifier)",
                    "type": "string"
                },
                "parent": {
                    "description": "Parent post's ID, 0 for no parent",
                    "type": "integer"
                },
                "password": {
                    "description": "Post password",
                    "type": "string"
                },
                "ping_status": {
                    "description": "Whether the post is open for pingbacks/trackbacks",
                    "enum": [
                        "open",
                        "closed"
                    ],
                    "type": "string"
                },
                "post_format": {
                    "description": "Standardized post format",
                    "enum": [
                        "standard",
                        "aside",
                        "gallery",
                        "image",
                        "link",
                        "status"
                    ],
                    "type": "string"
                },
                "post_meta": {
                    "description": "Post meta fields",
                    "type": "array"
                },
                "post_thumbnail": {
                    "description": "Thumbnail image representing the post",
                    "type": [
                        "object",
                        "array"
                    ]
                },
                "status": {
                    "description": "Post published status",
                    "enum": [
                        "draft",
                        "pending",
                        "private",
                        "publish",
                        "trash"
                    ],
                    "type": "string"
                },
                "sticky": {
                    "description": "Whether the post is stickied (shown at the top of archives)",
                    "type": "boolean"
                },
                "terms": {
                    "description": "Taxonomic terms",
                    "type": "object"
                },
                "title": {
                    "description": "Post title",
                    "type": "string"
                },
                "type": {
                    "description": "Post type",
                    "type": "string"
                }
            },
            "required": [
                "ID",
                "link"
            ],
            "title": "Post",
            "type": "object"
        },
        "user": {
            "properties": {
                "ID": {
                    "description": "User ID",
                    "type": "integer"
                },
                "URL": {
                    "description": "URL to the author's site",
                    "format": "uri",
                    "type": "string"
                },
                "avatar": {
                    "description": "URL to the author's avatar image",
                    "format": "uri",
                    "type": "string"
                },
                "meta": {
                    "description": "Metadata for the Index entity",
                    "type": "object"
                },
                "name": {
                    "description": "User's display name",
                    "type": "string"
                },
                "slug": {
                    "description": "Author slug (URL identifier)",
                    "type": "string"
                }
            },
            "required": [
                "ID",
                "slug",
                "meta"
            ],
            "title": "User",
            "type": "object"
        }
    },
    "properties": {
        "index": {
            "$ref": "#/definitions/index"
        },
        "post": {
            "$ref": "#/definitions/post"
        },
        "user": {
            "$ref": "#/definitions/user"
        }
    },
    "required": [
        "index",
        "post",
        "user"
    ]
}