{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/blockfrost/refs/heads/main/json-schema/blockfrost-drep-schema.json", "title": "drep", "description": "drep schema from Blockfrost API", "type": "object", "properties": { "drep_id": { "type": "string", "description": "Bech32 encoded DRep address" }, "hex": { "type": "string", "description": "The raw bytes of the DRep" }, "amount": { "type": "string", "description": "The total amount of voting power this DRep is delegated." }, "active": { "type": "boolean", "description": "Registration state of the DRep", "deprecated": true }, "active_epoch": { "type": "integer", "nullable": true, "description": "Epoch of the most recent registration", "deprecated": true }, "has_script": { "type": "boolean", "description": "Flag which shows if this DRep credentials are a script hash" }, "retired": { "type": "boolean", "description": "Registration state of the DRep. Set to `true` if the DRep has been deregistered; otherwise, `false`." }, "expired": { "type": "boolean", "description": "Whether the DRep has been inactive for a consecutive number of epochs (determined by a epoch parameter `drep_activity`)" }, "last_active_epoch": { "type": "integer", "nullable": true, "description": "Epoch of the most recent action - registration, update, deregistration or voting" } }, "required": [ "drep_id", "hex", "amount", "active", "active_epoch", "has_script", "retired", "expired", "last_active_epoch" ] }