{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://schema.twindev.org/w3c-did/JsonWebSignature2020Proof",
    "title": "JsonWebSignature2020Proof",
    "description": "Interface describing a did proof in JSON Web Signature 2020 Format.\nhttps://www.w3.org/TR/vc-jws-2020/",
    "type": "object",
    "properties": {
        "@context": {
            "anyOf": [
                {
                    "const": "https://w3id.org/security/suites/jws-2020/v1"
                },
                {
                    "type": "array",
                    "items": {
                        "anyOf": [
                            {
                                "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
                            },
                            {
                                "const": "https://w3id.org/security/suites/jws-2020/v1"
                            }
                        ]
                    },
                    "contains": {
                        "const": "https://w3id.org/security/suites/jws-2020/v1"
                    },
                    "minContains": 1,
                    "maxContains": 1,
                    "minItems": 1
                }
            ],
            "description": "JSON-LD Context."
        },
        "type": {
            "const": "JsonWebSignature2020",
            "description": "JSON-LD Type."
        },
        "proofPurpose": {
            "type": "string",
            "description": "The reason the proof was created."
        },
        "verificationMethod": {
            "type": "string",
            "description": "The verification method of the proof."
        },
        "created": {
            "type": "string",
            "description": "The iso date of when the proof was created."
        },
        "jws": {
            "type": "string",
            "description": "The JSON Web Signature."
        }
    },
    "required": [
        "type",
        "proofPurpose"
    ]
}
