{
    "id": "https://letsencrypt.org/schema/01/certificate#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Schema for a certificate message",
    "type": "object",
    "required": [
        "type",
        "certificate"
    ],
    "properties": {
        "type": {
            "enum": [
                "certificate"
            ]
        },
        "certificate": {
            "type": "string"
        },
        "chain": {
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "string"
            }
        },
        "refresh": {
            "type": "string"
        }
    }
}