{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "name": "Rocket Document asset.json",
    "description": "Rocket Document asset.json specification",
    "type": "object",
    "properties": {
        "asset_type": {
            "type": "string",
            "pattern": "rocket_document"
        },
        "rml_file": {
            "type": "string",
            "description": "Path to the .rml file, relative to the current asset directory."
        },
        "required_fonts": {
            "description": "The fonts to load for the document, should be asset paths to rocket_font assets.",
            "type": "array",
            "items": {
                "type": "string"
            }
        }
    },
    "required": [
        "asset_type",
        "rml_file"
    ]
}