A Claim represents a set of keys and values that are asserted to be correct by the issuer.

The Claim class looks like this:

class Claim {
  UUID id;
  Instant createDate;
  SaltedData issuer;
  SaltedData subject;
  SaltedData holder;
  SaltedData referenceClaimID;
  Map<SaltedData, SaltedData> claimData;
  String dataJSON;
  String dataSignature;
  String dataHash;
  String partitionId;
}

Data model

Property Description
claimID A string containing the unique ID of the claim locator (assigned by the Id Registration service).
createDate A Instant object containing the timestamp for when the claim was created.
issuer A SaltedData object containing the claim issuer information.
subject A SaltedData object containing the claim subject information.
holder A SaltedData object containing the claim holder information.
referenceClaimID (Optional) A SaltedData object used to reference the claim that provided the original data.
claimData A Map of keys and associated values for the claim as SaltedData objects.
dataJSON A string containing the claim information in JSON format.
dataSignature A string containing the signature for the claim.
dataHash A string containing a hash of the claim information.
partitionId A string containing the partition ID. The ID Registration service can use partitions to shard and distribute data to be co-located. In this case, the ID Registration service will reference the partition using this ID.