• Preparing search index...
  • The search index is not available
API Documentation
  • API Documentation
  • core/src
  • CType
  • getIdForSchema

Function getIdForSchema

  • getIdForSchema(schema: ICType | Omit<ICType, "$id">): ICType["$id"]
  • Calculates the schema $id for a CType schema by hashing it.

    Returns

    Schema id uri.

    Parameters

    • schema: ICType | Omit<ICType, "$id">

      CType schema for which to create schema id.

    Returns ICType["$id"]

    • Defined in packages/core/src/ctype/CType.ts:110

Settings

Member Visibility

Theme

Modules

  • API Documentation
    • asset-did/src
    • augment-api/src
    • chain-helpers/src
      • Blockchain
      • ErrorHandler
      • SubscriptionPromise
    • config/src
      • ConfigService
    • core/src
      • Attestation
      • BalanceUtils
      • CType
        • Schemas
      • Claim
      • Credential
      • DelegationNodeUtils
      • PublicCredential
      • Quote
    • did/src
    • messaging/src
    • sdk-js/src
    • type-definitions/src
    • types/src
      • SubscriptionPromise
    • utils/src
      • Crypto
      • DataUtils
      • JsonSchema
      • SDKErrors
      • UUID
      • jsonabc
    • vc-export/src
      • constants
      • presentation
      • vcjsSuites
        • suites
          • KiltAttestedSuite
          • KiltIntegritySuite
          • KiltSignatureSuite
      • verification
  • CTypeChainDetails
  • ICTypeDetails
  • fetchFromChain
  • fromChain
  • fromProperties
  • getHashForSchema
  • getIdForSchema
  • hashToId
  • idToChain
  • idToHash
  • isICType
  • serializeForHash
  • toChain
  • verifyCTypeMetadata
  • verifyClaimAgainstNestedSchemas
  • verifyClaimAgainstSchema
  • verifyDataStructure
  • verifyObjectAgainstSchema
  • verifyStored