{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": true,
    "definitions": {
        "link": {
            "properties": {
                "href": {
                    "type": "string"
                },
                "properties": {
                    "$ref": "#/definitions/property"
                },
                "rel": {
                    "type": "string"
                },
                "template": {
                    "_format": "uri",
                    "type": "string"
                },
                "titles": {
                    "additionalProperties": {
                        "type": "string"
                    },
                    "properties": {
                        "default": {
                            "type": "string"
                        }
                    },
                    "type": "object"
                },
                "type": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "property": {
            "additionalProperties": {
                "type": [
                    "null",
                    "string"
                ]
            },
            "type": "object"
        }
    },
    "properties": {
        "aliases": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "expires": {
            "_format": "date-time",
            "type": "string"
        },
        "links": {
            "items": {
                "$ref": "#/definitions/link"
            },
            "type": "array"
        },
        "properties": {
            "$ref": "#/definitions/property"
        },
        "subject": {
            "_format": "uri",
            "type": "string"
        }
    },
    "required": [
        "subject"
    ],
    "title": "JSON schema for host-meta files",
    "type": "object"
}