Skip to main content
Version: v4

traverse_response_B2Output

B2 — Holder recovery for a credential surfaced in the graph.

credential objectrequired

Either an EcsCredential or a Vtc record. The graph dispatches on the actual stored shape.

oneOf
ecsSchemastringrequired

Possible values: [ServiceCredential, OrganizationCredential, PersonaCredential, UserAgentCredential]

ecsSchemaVersionstringrequired
credentialSchemaIdintegerrequired

Possible values: >= 0

issuerParticipantIdintegerrequired

Possible values: >= 0

ecosystemIdintegerrequired

Possible values: >= 0

participantIdintegerrequired

Possible values: >= 0

subjectDidtraverse_response_DidStringrequired

The credential's subject/holder DID — part of the (subjectDid, id) record key.

Possible values: Value must match regular expression ^did:

idstringrequired

The credential id — part of the (subjectDid, id) record key.

digestJCSstringrequired

Informational: the credential's JCS digest, recomputed and ledger-verified by the indexer per [IDX-VT-EVAL-1].

issuedAtTimestring<date-time>required

Effective issuance time: the created timestamp of the credential's ledger Digest entry.

Possible values: Value must match regular expression ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$

validFromstring<date-time>required

ISO 8601 / RFC 3339 datetime string in UTC. MUST include the date, the time (with seconds), and the trailing Z UTC designator. Fractional seconds are OPTIONAL. Local times, non-UTC offsets, date-only values, and timezone-less times are NOT permitted.

Possible values: Value must match regular expression ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$

validUntil objectrequired

null for open-ended credentials, per the entity table (timestamp | null).

anyOf

ISO 8601 / RFC 3339 datetime string in UTC. MUST include the date, the time (with seconds), and the trailing Z UTC designator. Fractional seconds are OPTIONAL. Local times, non-UTC offsets, date-only values, and timezone-less times are NOT permitted.

string<date-time>

ISO 8601 / RFC 3339 datetime string in UTC. MUST include the date, the time (with seconds), and the trailing Z UTC designator. Fractional seconds are OPTIONAL. Local times, non-UTC offsets, date-only values, and timezone-less times are NOT permitted.

Possible values: Value must match regular expression ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$

credentialSubjectobjectrequired

ECS-schema-specific subject claims; always includes id.

lastObservedAtTimestring<date-time>required

ISO 8601 / RFC 3339 datetime string in UTC. MUST include the date, the time (with seconds), and the trailing Z UTC designator. Fractional seconds are OPTIONAL. Local times, non-UTC offsets, date-only values, and timezone-less times are NOT permitted.

Possible values: Value must match regular expression ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$

subjectDidtraverse_response_DidStringrequired

Possible values: Value must match regular expression ^did:

holderParticipant objectrequired

Minimal Participant reference. state carries the current lifecycle state; non-ACTIVE records are retained while referenced per [[TG-ACT-1]] and are returned by traversal with their state. validatorParticipantId anchors the VALIDATED_BY: Participant → Participant edge (the parent node in the permission tree); it is null if and only if role = ECOSYSTEM (the chain root, per [[TG-EDGE-4]]).

idintegerrequired

Possible values: >= 0

didIdtraverse_response_DidStringrequired

The DID this Participant entry refers to (envelope-derived at ingestion). Identity only; trust state lives on the Did node.

Possible values: Value must match regular expression ^did:

vsOperator object

null until a VS Operator Authorization has been granted for this entry.

anyOf

Cosmos bech32 address with the verana HRP. Used for the per-Participant vsOperator account and for Corporation.policyAddress; NOT used as a primary key (Corporation, Ecosystem, CredentialSchema, and Participant primary keys are all uint64 VPR ledger ids).

traverse_response_Bech32Address

Cosmos bech32 address with the verana HRP. Used for the per-Participant vsOperator account and for Corporation.policyAddress; NOT used as a primary key (Corporation, Ecosystem, CredentialSchema, and Participant primary keys are all uint64 VPR ledger ids).

Possible values: Value must match regular expression ^verana1[a-z0-9]+$

rolestringrequired

Possible values: [HOLDER, ISSUER, VERIFIER, ISSUER_GRANTOR, VERIFIER_GRANTOR, ECOSYSTEM]

statestringrequired

Possible values: [ACTIVE, FUTURE, INACTIVE, EXPIRED, REVOKED, SLASHED, REPAID]

credentialSchemaIdintegerrequired

Possible values: >= 0

ecosystemIdintegerrequired

Possible values: >= 0

weighttraverse_response_Coin

Cosmos coin amount-denom pair, e.g. 10000000uvna.

Possible values: Value must match regular expression ^[0-9]+[a-z][a-z0-9]*$

issuedCredentialsinteger

Possible values: >= 0

verifiedCredentialsinteger

Possible values: >= 0

validatorParticipantIdinteger | nullnullablerequired

Stable VPR id of the validator Participant (parent in the permission tree). null iff role = ECOSYSTEM; non-negative integer otherwise. The graph persists the value as received from the indexer; the role-conditional rule is enforced upstream at the indexer's ingress.

Possible values: >= 0

lastObservedAtTimestring<date-time>required

ISO 8601 / RFC 3339 datetime string in UTC. MUST include the date, the time (with seconds), and the trailing Z UTC designator. Fractional seconds are OPTIONAL. Local times, non-UTC offsets, date-only values, and timezone-less times are NOT permitted.

Possible values: Value must match regular expression ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$

traverse_response_B2Output
{
"credential": {
"ecsSchemaVersion": "string",
"credentialSchemaId": 0,
"issuerParticipantId": 0,
"ecosystemId": 0,
"participantId": 0,
"subjectDid": "string",
"id": "string",
"digestJCS": "string",
"issuedAtTime": "2024-07-29T15:51:28.071Z",
"validFrom": "2024-07-29T15:51:28.071Z",
"validUntil": "2024-07-29T15:51:28.071Z",
"credentialSubject": {},
"lastObservedAtTime": "2024-07-29T15:51:28.071Z"
},
"subjectDid": "string",
"holderParticipant": {
"id": 0,
"didId": "string",
"vsOperator": "string",
"credentialSchemaId": 0,
"ecosystemId": 0,
"weight": "string",
"issuedCredentials": 0,
"verifiedCredentials": 0,
"validatorParticipantId": 0,
"lastObservedAtTime": "2024-07-29T15:51:28.071Z"
}
}