Skip to main content
Version: v4

PendingFlatResponse

ecosystems object[]

Ecosystems with nested credential schemas and enriched participant rows (see implementation for full participant fields).

  • Array [
  • idinteger
    didstringnullable
    pending_tasksinteger
    participantsinteger
    schemas object[]
  • Array [
  • idinteger
    titlestringnullable
    descriptionstringnullable
    pending_tasksinteger
    participantsinteger

    Active participant count for this schema (scalar; distinct from pending_participants)

    pending_participants object[]

    Participant entries pending action from the validator Corporation

  • Array [
  • idinteger
    participant_statestring

    The current state of the participant, calculated based on repaid, slashed, revoked, effective_from, and effective_until fields

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

    corporation_available_actionsstring[]

    VPR messages the owning Corporation MAY execute against this participant at its current state

    Possible values: [RenewParticipantOP, CancelParticipantOPLastRequest, RevokeParticipant, SetParticipantEffectiveUntil, RepayParticipantSlashedTrustDeposit]

    validator_available_actionsstring[]

    VPR messages the validator Corporation MAY execute against this participant at its current state

    Possible values: [SetParticipantOPtoValidated, SetParticipantEffectiveUntil, RevokeParticipant, SlashParticipantTrustDeposit]

    weightinteger

    The node weight of the participant, calculated as the sum of all trust deposits of this participant and all participants in its subtree

    issuedinteger

    Number of credentials issued using this participant and its ancestors

    verifiedinteger

    Number of credentials verified using this participant and its ancestors

    participantsinteger

    Current number of active participants (participant_state=ACTIVE) (subtree, plus this participant if it is ACTIVE)

    ecosystem_slash_eventsinteger

    Total ecosystem-governance–based slash events (when an ecosystem participant is slashed by ecosystem governance)

    ecosystem_slashed_amountinteger

    Cumulated ecosystem-governance–based slashed amount

    ecosystem_slashed_amount_repaidinteger

    Cumulated ecosystem-governance–based slashed amount repaid by participants

    network_slash_eventsinteger

    Total network-governance–based slash events (when a full Ecosystem is slashed by Verana Council)

    network_slashed_amountinteger

    Cumulated network-governance–based slashed amount

    network_slashed_amount_repaidinteger

    Cumulated network-governance–based slashed amount repaid by the ecosystem

    schema_idinteger
    ecosystem_idintegernullable

    Indexer-derived: the Ecosystem owning the participant's Credential Schema, denormalised from CredentialSchema.ecosystem_id

    rolestring

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

    didstringnullable
    corporation_idinteger

    ID of the Corporation that owns this participant (FK to Corporation.id)

    vs_operatorstringnullable

    Verifiable service operator account .

    adjustedstring<date-time>nullable

    Last participant adjustment time .

    issuance_fee_discountnumber
    verification_fee_discountnumber
    createdstring<date-time>
    modifiedstring<date-time>
    slashedstring<date-time>nullable
    repaidstring<date-time>nullable
    effective_fromstring<date-time>nullable
    effective_untilstring<date-time>nullable
    revokedstring<date-time>nullable
    validation_feesinteger
    issuance_feesinteger
    verification_feesinteger
    depositinteger
    slashed_depositinteger
    repaid_depositinteger
    validator_participant_idintegernullable
    op_statestringnullable

    Possible values: [PENDING, VALIDATED, TERMINATED, null]

    op_last_state_changestring<date-time>nullable
    op_current_feesinteger
    op_current_depositinteger
    op_summary_digeststringnullable

    VP summary digest

    op_expstring<date-time>nullable
    op_validator_depositinteger
    participants_ecosysteminteger
    participants_issuer_grantorinteger
    participants_issuerinteger
    participants_verifier_grantorinteger
    participants_verifierinteger
    participants_holderinteger
  • ]
  • ]
  • trust_data objectnullable

    Resolved trust payload for the DID at the same level as did. Null when trust_data=null or trust resolution is unavailable.

    property name*anynullable

    Resolved trust payload for the DID at the same level as did. Null when trust_data=null or trust resolution is unavailable.

  • ]
  • PendingFlatResponse
    {
    "ecosystems": [
    {
    "id": 0,
    "did": "string",
    "pending_tasks": 0,
    "participants": 0,
    "schemas": [
    {
    "id": 0,
    "title": "string",
    "description": "string",
    "pending_tasks": 0,
    "participants": 0,
    "pending_participants": [
    {
    "id": 0,
    "participant_state": "REPAID",
    "corporation_available_actions": [
    "RenewParticipantOP"
    ],
    "validator_available_actions": [
    "SetParticipantOPtoValidated"
    ],
    "weight": 0,
    "issued": 0,
    "verified": 0,
    "participants": 0,
    "ecosystem_slash_events": 0,
    "ecosystem_slashed_amount": 0,
    "ecosystem_slashed_amount_repaid": 0,
    "network_slash_events": 0,
    "network_slashed_amount": 0,
    "network_slashed_amount_repaid": 0,
    "schema_id": 0,
    "ecosystem_id": 0,
    "role": "ISSUER",
    "did": "string",
    "corporation_id": 0,
    "vs_operator": "string",
    "adjusted": "2024-07-29T15:51:28.071Z",
    "issuance_fee_discount": 0,
    "verification_fee_discount": 0,
    "created": "2024-07-29T15:51:28.071Z",
    "modified": "2024-07-29T15:51:28.071Z",
    "slashed": "2024-07-29T15:51:28.071Z",
    "repaid": "2024-07-29T15:51:28.071Z",
    "effective_from": "2024-07-29T15:51:28.071Z",
    "effective_until": "2024-07-29T15:51:28.071Z",
    "revoked": "2024-07-29T15:51:28.071Z",
    "validation_fees": 0,
    "issuance_fees": 0,
    "verification_fees": 0,
    "deposit": 0,
    "slashed_deposit": 0,
    "repaid_deposit": 0,
    "validator_participant_id": 0,
    "op_state": "PENDING",
    "op_last_state_change": "2024-07-29T15:51:28.071Z",
    "op_current_fees": 0,
    "op_current_deposit": 0,
    "op_summary_digest": "string",
    "op_exp": "2024-07-29T15:51:28.071Z",
    "op_validator_deposit": 0,
    "participants_ecosystem": 0,
    "participants_issuer_grantor": 0,
    "participants_issuer": 0,
    "participants_verifier_grantor": 0,
    "participants_verifier": 0,
    "participants_holder": 0
    }
    ]
    }
    ],
    "trust_data": {}
    }
    ]
    }