Variable DID_CONTEXTSConst

DID_CONTEXTS: {
    https://w3id.org/security/v2: {
        @context: (string | {
            @version: number;
            AesKeyWrappingKey2019?: undefined;
            DeleteKeyOperation?: undefined;
            DeriveSecretOperation?: undefined;
            EcdsaSecp256k1Signature2019?: undefined;
            EcdsaSecp256k1VerificationKey2019?: undefined;
            EcdsaSecp256r1Signature2019?: undefined;
            EcdsaSecp256r1VerificationKey2019?: undefined;
            Ed25519Signature2018?: undefined;
            Ed25519VerificationKey2018?: undefined;
            EquihashProof2018?: undefined;
            ExportKeyOperation?: undefined;
            GenerateKeyOperation?: undefined;
            KmsOperation?: undefined;
            RevokeKeyOperation?: undefined;
            RsaSignature2018?: undefined;
            RsaVerificationKey2018?: undefined;
            Sha256HmacKey2019?: undefined;
            SignOperation?: undefined;
            UnwrapKeyOperation?: undefined;
            VerifyOperation?: undefined;
            WrapKeyOperation?: undefined;
            X25519KeyAgreementKey2019?: undefined;
            allowedAction?: undefined;
            assertionMethod?: undefined;
            authentication?: undefined;
            capability?: undefined;
            capabilityAction?: undefined;
            capabilityChain?: undefined;
            capabilityDelegation?: undefined;
            capabilityInvocation?: undefined;
            caveat?: undefined;
            challenge?: undefined;
            ciphertext?: undefined;
            controller?: undefined;
            delegator?: undefined;
            equihashParameterK?: undefined;
            equihashParameterN?: undefined;
            invocationTarget?: undefined;
            invoker?: undefined;
            jws?: undefined;
            keyAgreement?: undefined;
            kmsModule?: undefined;
            parentCapability?: undefined;
            plaintext?: undefined;
            proof?: undefined;
            proofPurpose?: undefined;
            proofValue?: undefined;
            referenceId?: undefined;
            unwrappedKey?: undefined;
            verificationMethod?: undefined;
            verifyData?: undefined;
            wrappedKey?: undefined;
        } | {
            @version?: undefined;
            AesKeyWrappingKey2019: string;
            DeleteKeyOperation: string;
            DeriveSecretOperation: string;
            EcdsaSecp256k1Signature2019: string;
            EcdsaSecp256k1VerificationKey2019: string;
            EcdsaSecp256r1Signature2019: string;
            EcdsaSecp256r1VerificationKey2019: string;
            Ed25519Signature2018: string;
            Ed25519VerificationKey2018: string;
            EquihashProof2018: string;
            ExportKeyOperation: string;
            GenerateKeyOperation: string;
            KmsOperation: string;
            RevokeKeyOperation: string;
            RsaSignature2018: string;
            RsaVerificationKey2018: string;
            Sha256HmacKey2019: string;
            SignOperation: string;
            UnwrapKeyOperation: string;
            VerifyOperation: string;
            WrapKeyOperation: string;
            X25519KeyAgreementKey2019: string;
            allowedAction: string;
            assertionMethod: {
                @container: string;
                @id: string;
                @type: string;
            };
            authentication: {
                @container: string;
                @id: string;
                @type: string;
            };
            capability: {
                @id: string;
                @type: string;
            };
            capabilityAction: string;
            capabilityChain: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityDelegation: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityInvocation: {
                @container: string;
                @id: string;
                @type: string;
            };
            caveat: {
                @container: string;
                @id: string;
                @type: string;
            };
            challenge: string;
            ciphertext: string;
            controller: {
                @id: string;
                @type: string;
            };
            delegator: {
                @id: string;
                @type: string;
            };
            equihashParameterK: {
                @id: string;
                @type: string;
            };
            equihashParameterN: {
                @id: string;
                @type: string;
            };
            invocationTarget: {
                @id: string;
                @type: string;
            };
            invoker: {
                @id: string;
                @type: string;
            };
            jws: string;
            keyAgreement: {
                @container: string;
                @id: string;
                @type: string;
            };
            kmsModule: {
                @id: string;
            };
            parentCapability: {
                @id: string;
                @type: string;
            };
            plaintext: string;
            proof: {
                @container: string;
                @id: string;
                @type: string;
            };
            proofPurpose: {
                @id: string;
                @type: string;
            };
            proofValue: string;
            referenceId: string;
            unwrappedKey: string;
            verificationMethod: {
                @id: string;
                @type: string;
            };
            verifyData: string;
            wrappedKey: string;
        })[];
    };
    https://www.w3.org/ns/did/v1: {
        @context: {
            @protected: boolean;
            alsoKnownAs: {
                @id: string;
                @type: string;
            };
            assertionMethod: {
                @container: string;
                @id: string;
                @type: string;
            };
            authentication: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityDelegation: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityInvocation: {
                @container: string;
                @id: string;
                @type: string;
            };
            controller: {
                @id: string;
                @type: string;
            };
            id: string;
            keyAgreement: {
                @container: string;
                @id: string;
                @type: string;
            };
            service: {
                @context: {
                    @protected: boolean;
                    id: string;
                    serviceEndpoint: {
                        @id: string;
                        @type: string;
                    };
                    type: string;
                };
                @id: string;
                @type: string;
            };
            type: string;
            verificationMethod: {
                @id: string;
                @type: string;
            };
        };
    };
    ipfs://QmU7QkuTCPz7NmD5bD7Z7mQVz2UsSPaEK58B5sYnjnPRNW: {
        @context: (string | {
            @protected: boolean;
            KiltPublishedCredentialCollectionV1: string;
            Sr25519VerificationKey2020: string;
        })[];
    };
} = ...

An object containing static copies of JSON-LD context files relevant to KILT DID documents, of the form -> context. These context definitions are not supposed to change; therefore, a cached version can (and should) be used to avoid unexpected changes in definitions.

Type declaration

  • https://w3id.org/security/v2: {
        @context: (string | {
            @version: number;
            AesKeyWrappingKey2019?: undefined;
            DeleteKeyOperation?: undefined;
            DeriveSecretOperation?: undefined;
            EcdsaSecp256k1Signature2019?: undefined;
            EcdsaSecp256k1VerificationKey2019?: undefined;
            EcdsaSecp256r1Signature2019?: undefined;
            EcdsaSecp256r1VerificationKey2019?: undefined;
            Ed25519Signature2018?: undefined;
            Ed25519VerificationKey2018?: undefined;
            EquihashProof2018?: undefined;
            ExportKeyOperation?: undefined;
            GenerateKeyOperation?: undefined;
            KmsOperation?: undefined;
            RevokeKeyOperation?: undefined;
            RsaSignature2018?: undefined;
            RsaVerificationKey2018?: undefined;
            Sha256HmacKey2019?: undefined;
            SignOperation?: undefined;
            UnwrapKeyOperation?: undefined;
            VerifyOperation?: undefined;
            WrapKeyOperation?: undefined;
            X25519KeyAgreementKey2019?: undefined;
            allowedAction?: undefined;
            assertionMethod?: undefined;
            authentication?: undefined;
            capability?: undefined;
            capabilityAction?: undefined;
            capabilityChain?: undefined;
            capabilityDelegation?: undefined;
            capabilityInvocation?: undefined;
            caveat?: undefined;
            challenge?: undefined;
            ciphertext?: undefined;
            controller?: undefined;
            delegator?: undefined;
            equihashParameterK?: undefined;
            equihashParameterN?: undefined;
            invocationTarget?: undefined;
            invoker?: undefined;
            jws?: undefined;
            keyAgreement?: undefined;
            kmsModule?: undefined;
            parentCapability?: undefined;
            plaintext?: undefined;
            proof?: undefined;
            proofPurpose?: undefined;
            proofValue?: undefined;
            referenceId?: undefined;
            unwrappedKey?: undefined;
            verificationMethod?: undefined;
            verifyData?: undefined;
            wrappedKey?: undefined;
        } | {
            @version?: undefined;
            AesKeyWrappingKey2019: string;
            DeleteKeyOperation: string;
            DeriveSecretOperation: string;
            EcdsaSecp256k1Signature2019: string;
            EcdsaSecp256k1VerificationKey2019: string;
            EcdsaSecp256r1Signature2019: string;
            EcdsaSecp256r1VerificationKey2019: string;
            Ed25519Signature2018: string;
            Ed25519VerificationKey2018: string;
            EquihashProof2018: string;
            ExportKeyOperation: string;
            GenerateKeyOperation: string;
            KmsOperation: string;
            RevokeKeyOperation: string;
            RsaSignature2018: string;
            RsaVerificationKey2018: string;
            Sha256HmacKey2019: string;
            SignOperation: string;
            UnwrapKeyOperation: string;
            VerifyOperation: string;
            WrapKeyOperation: string;
            X25519KeyAgreementKey2019: string;
            allowedAction: string;
            assertionMethod: {
                @container: string;
                @id: string;
                @type: string;
            };
            authentication: {
                @container: string;
                @id: string;
                @type: string;
            };
            capability: {
                @id: string;
                @type: string;
            };
            capabilityAction: string;
            capabilityChain: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityDelegation: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityInvocation: {
                @container: string;
                @id: string;
                @type: string;
            };
            caveat: {
                @container: string;
                @id: string;
                @type: string;
            };
            challenge: string;
            ciphertext: string;
            controller: {
                @id: string;
                @type: string;
            };
            delegator: {
                @id: string;
                @type: string;
            };
            equihashParameterK: {
                @id: string;
                @type: string;
            };
            equihashParameterN: {
                @id: string;
                @type: string;
            };
            invocationTarget: {
                @id: string;
                @type: string;
            };
            invoker: {
                @id: string;
                @type: string;
            };
            jws: string;
            keyAgreement: {
                @container: string;
                @id: string;
                @type: string;
            };
            kmsModule: {
                @id: string;
            };
            parentCapability: {
                @id: string;
                @type: string;
            };
            plaintext: string;
            proof: {
                @container: string;
                @id: string;
                @type: string;
            };
            proofPurpose: {
                @id: string;
                @type: string;
            };
            proofValue: string;
            referenceId: string;
            unwrappedKey: string;
            verificationMethod: {
                @id: string;
                @type: string;
            };
            verifyData: string;
            wrappedKey: string;
        })[];
    }
    • @context: (string | {
          @version: number;
          AesKeyWrappingKey2019?: undefined;
          DeleteKeyOperation?: undefined;
          DeriveSecretOperation?: undefined;
          EcdsaSecp256k1Signature2019?: undefined;
          EcdsaSecp256k1VerificationKey2019?: undefined;
          EcdsaSecp256r1Signature2019?: undefined;
          EcdsaSecp256r1VerificationKey2019?: undefined;
          Ed25519Signature2018?: undefined;
          Ed25519VerificationKey2018?: undefined;
          EquihashProof2018?: undefined;
          ExportKeyOperation?: undefined;
          GenerateKeyOperation?: undefined;
          KmsOperation?: undefined;
          RevokeKeyOperation?: undefined;
          RsaSignature2018?: undefined;
          RsaVerificationKey2018?: undefined;
          Sha256HmacKey2019?: undefined;
          SignOperation?: undefined;
          UnwrapKeyOperation?: undefined;
          VerifyOperation?: undefined;
          WrapKeyOperation?: undefined;
          X25519KeyAgreementKey2019?: undefined;
          allowedAction?: undefined;
          assertionMethod?: undefined;
          authentication?: undefined;
          capability?: undefined;
          capabilityAction?: undefined;
          capabilityChain?: undefined;
          capabilityDelegation?: undefined;
          capabilityInvocation?: undefined;
          caveat?: undefined;
          challenge?: undefined;
          ciphertext?: undefined;
          controller?: undefined;
          delegator?: undefined;
          equihashParameterK?: undefined;
          equihashParameterN?: undefined;
          invocationTarget?: undefined;
          invoker?: undefined;
          jws?: undefined;
          keyAgreement?: undefined;
          kmsModule?: undefined;
          parentCapability?: undefined;
          plaintext?: undefined;
          proof?: undefined;
          proofPurpose?: undefined;
          proofValue?: undefined;
          referenceId?: undefined;
          unwrappedKey?: undefined;
          verificationMethod?: undefined;
          verifyData?: undefined;
          wrappedKey?: undefined;
      } | {
          @version?: undefined;
          AesKeyWrappingKey2019: string;
          DeleteKeyOperation: string;
          DeriveSecretOperation: string;
          EcdsaSecp256k1Signature2019: string;
          EcdsaSecp256k1VerificationKey2019: string;
          EcdsaSecp256r1Signature2019: string;
          EcdsaSecp256r1VerificationKey2019: string;
          Ed25519Signature2018: string;
          Ed25519VerificationKey2018: string;
          EquihashProof2018: string;
          ExportKeyOperation: string;
          GenerateKeyOperation: string;
          KmsOperation: string;
          RevokeKeyOperation: string;
          RsaSignature2018: string;
          RsaVerificationKey2018: string;
          Sha256HmacKey2019: string;
          SignOperation: string;
          UnwrapKeyOperation: string;
          VerifyOperation: string;
          WrapKeyOperation: string;
          X25519KeyAgreementKey2019: string;
          allowedAction: string;
          assertionMethod: {
              @container: string;
              @id: string;
              @type: string;
          };
          authentication: {
              @container: string;
              @id: string;
              @type: string;
          };
          capability: {
              @id: string;
              @type: string;
          };
          capabilityAction: string;
          capabilityChain: {
              @container: string;
              @id: string;
              @type: string;
          };
          capabilityDelegation: {
              @container: string;
              @id: string;
              @type: string;
          };
          capabilityInvocation: {
              @container: string;
              @id: string;
              @type: string;
          };
          caveat: {
              @container: string;
              @id: string;
              @type: string;
          };
          challenge: string;
          ciphertext: string;
          controller: {
              @id: string;
              @type: string;
          };
          delegator: {
              @id: string;
              @type: string;
          };
          equihashParameterK: {
              @id: string;
              @type: string;
          };
          equihashParameterN: {
              @id: string;
              @type: string;
          };
          invocationTarget: {
              @id: string;
              @type: string;
          };
          invoker: {
              @id: string;
              @type: string;
          };
          jws: string;
          keyAgreement: {
              @container: string;
              @id: string;
              @type: string;
          };
          kmsModule: {
              @id: string;
          };
          parentCapability: {
              @id: string;
              @type: string;
          };
          plaintext: string;
          proof: {
              @container: string;
              @id: string;
              @type: string;
          };
          proofPurpose: {
              @id: string;
              @type: string;
          };
          proofValue: string;
          referenceId: string;
          unwrappedKey: string;
          verificationMethod: {
              @id: string;
              @type: string;
          };
          verifyData: string;
          wrappedKey: string;
      })[]
  • https://www.w3.org/ns/did/v1: {
        @context: {
            @protected: boolean;
            alsoKnownAs: {
                @id: string;
                @type: string;
            };
            assertionMethod: {
                @container: string;
                @id: string;
                @type: string;
            };
            authentication: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityDelegation: {
                @container: string;
                @id: string;
                @type: string;
            };
            capabilityInvocation: {
                @container: string;
                @id: string;
                @type: string;
            };
            controller: {
                @id: string;
                @type: string;
            };
            id: string;
            keyAgreement: {
                @container: string;
                @id: string;
                @type: string;
            };
            service: {
                @context: {
                    @protected: boolean;
                    id: string;
                    serviceEndpoint: {
                        @id: string;
                        @type: string;
                    };
                    type: string;
                };
                @id: string;
                @type: string;
            };
            type: string;
            verificationMethod: {
                @id: string;
                @type: string;
            };
        };
    }
    • @context: {
          @protected: boolean;
          alsoKnownAs: {
              @id: string;
              @type: string;
          };
          assertionMethod: {
              @container: string;
              @id: string;
              @type: string;
          };
          authentication: {
              @container: string;
              @id: string;
              @type: string;
          };
          capabilityDelegation: {
              @container: string;
              @id: string;
              @type: string;
          };
          capabilityInvocation: {
              @container: string;
              @id: string;
              @type: string;
          };
          controller: {
              @id: string;
              @type: string;
          };
          id: string;
          keyAgreement: {
              @container: string;
              @id: string;
              @type: string;
          };
          service: {
              @context: {
                  @protected: boolean;
                  id: string;
                  serviceEndpoint: {
                      @id: string;
                      @type: string;
                  };
                  type: string;
              };
              @id: string;
              @type: string;
          };
          type: string;
          verificationMethod: {
              @id: string;
              @type: string;
          };
      }
      • @protected: boolean
      • alsoKnownAs: {
            @id: string;
            @type: string;
        }
        • @id: string
        • @type: string
      • assertionMethod: {
            @container: string;
            @id: string;
            @type: string;
        }
        • @container: string
        • @id: string
        • @type: string
      • authentication: {
            @container: string;
            @id: string;
            @type: string;
        }
        • @container: string
        • @id: string
        • @type: string
      • capabilityDelegation: {
            @container: string;
            @id: string;
            @type: string;
        }
        • @container: string
        • @id: string
        • @type: string
      • capabilityInvocation: {
            @container: string;
            @id: string;
            @type: string;
        }
        • @container: string
        • @id: string
        • @type: string
      • controller: {
            @id: string;
            @type: string;
        }
        • @id: string
        • @type: string
      • id: string
      • keyAgreement: {
            @container: string;
            @id: string;
            @type: string;
        }
        • @container: string
        • @id: string
        • @type: string
      • service: {
            @context: {
                @protected: boolean;
                id: string;
                serviceEndpoint: {
                    @id: string;
                    @type: string;
                };
                type: string;
            };
            @id: string;
            @type: string;
        }
        • @context: {
              @protected: boolean;
              id: string;
              serviceEndpoint: {
                  @id: string;
                  @type: string;
              };
              type: string;
          }
          • @protected: boolean
          • id: string
          • serviceEndpoint: {
                @id: string;
                @type: string;
            }
            • @id: string
            • @type: string
          • type: string
        • @id: string
        • @type: string
      • type: string
      • verificationMethod: {
            @id: string;
            @type: string;
        }
        • @id: string
        • @type: string
  • ipfs://QmU7QkuTCPz7NmD5bD7Z7mQVz2UsSPaEK58B5sYnjnPRNW: {
        @context: (string | {
            @protected: boolean;
            KiltPublishedCredentialCollectionV1: string;
            Sr25519VerificationKey2020: string;
        })[];
    }
    • @context: (string | {
          @protected: boolean;
          KiltPublishedCredentialCollectionV1: string;
          Sr25519VerificationKey2020: string;
      })[]