Skip to main content
Version: v4

CredentialSchema

idinteger
ecosystem_idinteger
json_schemastring

The exact JSON Schema document as stored from the blockchain (preserves formatting for SRI digest verification). Returned as-is; do not parse or re-serialize.

issuer_grantor_validation_validity_periodinteger
verifier_grantor_validation_validity_periodinteger
issuer_validation_validity_periodinteger
verifier_validation_validity_periodinteger
holder_validation_validity_periodinteger
issuer_onboarding_modestring

Possible values: [OPEN, GRANTOR_ONBOARDING_PROCESS, ECOSYSTEM_ONBOARDING_PROCESS]

verifier_onboarding_modestring

Possible values: [OPEN, GRANTOR_ONBOARDING_PROCESS, ECOSYSTEM_ONBOARDING_PROCESS]

holder_onboarding_modestringnullable

Possible values: [ISSUER_ONBOARDING_PROCESS, PERMISSIONLESS, null]

pricing_asset_typestringnullable
pricing_assetstringnullable
digest_algorithmstringnullable
archivedstring<date-time>nullable
createdstring<date-time>
modifiedstring<date-time>
participantsinteger

Current number of active participants (participant_state=ACTIVE) in this Credential Schema

weightinteger

Trust deposit value (sum) of the full participant tree of this schema since the schema was created

issuedinteger

Total issued credentials (sum) by all issuers of this Credential Schema since it was created

verifiedinteger

Total verified credentials (sum) by all verifiers of this Credential Schema since it was created

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

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.

CredentialSchema
{
"id": 0,
"ecosystem_id": 0,
"json_schema": "string",
"issuer_grantor_validation_validity_period": 0,
"verifier_grantor_validation_validity_period": 0,
"issuer_validation_validity_period": 0,
"verifier_validation_validity_period": 0,
"holder_validation_validity_period": 0,
"issuer_onboarding_mode": "OPEN",
"verifier_onboarding_mode": "OPEN",
"holder_onboarding_mode": "ISSUER_ONBOARDING_PROCESS",
"pricing_asset_type": "string",
"pricing_asset": "string",
"digest_algorithm": "string",
"archived": "2024-07-29T15:51:28.071Z",
"created": "2024-07-29T15:51:28.071Z",
"modified": "2024-07-29T15:51:28.071Z",
"participants": 0,
"weight": 0,
"issued": 0,
"verified": 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,
"participants_ecosystem": 0,
"participants_issuer_grantor": 0,
"participants_issuer": 0,
"participants_verifier_grantor": 0,
"participants_verifier": 0,
"participants_holder": 0,
"trust_data": {}
}