{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#Subscription",
    "description": "A subscription to a service or channel.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#Entity"
        },
        {
            "properties": {
                "authenticated": {
                    "description": "Indicates whether the subscription is authenticated.",
                    "type": "boolean"
                },
                "pending": {
                    "description": "Indicates whether the subscription is pending.",
                    "type": "boolean"
                }
            },
            "required": []
        }
    ]
}
