{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#Key",
    "description": "An ssh-key, access-key, api-key/token, pgp-key, etc.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#Entity"
        },
        {
            "properties": {
                "fingerprint": {
                    "description": "The fingerprint that identifies the key",
                    "type": "string"
                },
                "material": {
                    "description": "The key material",
                    "type": "string"
                },
                "usage": {
                    "description": "The key usage - for example: ssh access or data encryption",
                    "type": "string"
                }
            },
            "required": []
        }
    ]
}
