Skip to main content
Version: v4

traverse_response_D1Output

D1 — Credentials based on the schema (both ECS credentials and Vtcs).

ecsCredentials object[]required
  • Array [
  • 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$

  • ]
  • vtcs object[]required
  • Array [
  • idstringrequired
    credentialSchemaIdintegerrequired

    Possible values: >= 0

    ecosystemIdintegerrequired

    Possible values: >= 0

    participantIdintegerrequired

    Possible values: >= 0

    issuerParticipantIdintegerrequired

    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_D1Output
    {
    "ecsCredentials": [
    {
    "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"
    }
    ],
    "vtcs": [
    {
    "id": "string",
    "credentialSchemaId": 0,
    "ecosystemId": 0,
    "participantId": 0,
    "issuerParticipantId": 0,
    "lastObservedAtTime": "2024-07-29T15:51:28.071Z"
    }
    ]
    }