Variable DID_CONTEXTSConst

DID_CONTEXTS: {
    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://QmPtQ7wbdxbTuGugx4nFAyrhspcqXKrnriuGr7x4NYaZYN: {
        @context: any[];
    };
} = ...

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://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://QmPtQ7wbdxbTuGugx4nFAyrhspcqXKrnriuGr7x4NYaZYN: {
        @context: any[];
    }
    • @context: any[]