{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://schema.twindev.org/w3c-did/DidDocumentVerificationMethod",
    "title": "DidDocumentVerificationMethod",
    "description": "Interface describing a DID document verification method.",
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "description": "The id of the entry."
        },
        "controller": {
            "type": "string",
            "description": "The controller for the entry."
        },
        "type": {
            "type": "string",
            "description": "The type of the entry."
        },
        "publicKeyMultibase": {
            "type": "string",
            "description": "The public key for the entry.\nSpec https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03 ."
        },
        "publicKeyJwk": {
            "allOf": [
                {
                    "$ref": "https://schema.twindev.org/framework/Jwk"
                },
                {
                    "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
                }
            ],
            "description": "The public key for the entry as a JWK.\nSpec https://datatracker.ietf.org/doc/html/rfc7517 ."
        },
        "revocation": {
            "type": "string",
            "description": "Multi key partial revocation."
        }
    },
    "required": [
        "id",
        "controller",
        "type"
    ]
}
