BarnBridge · Schema

GovernanceProposal

A BarnBridge DAO governance proposal.

DeFiRisk TokenizationYieldBlockchainEthereumSMART YieldStructured ProductsTranches

Properties

Name Type Description
proposalId integer Unique sequential identifier of the proposal.
proposer string Ethereum address of the account that submitted the proposal.
title string Short human-readable title of the proposal.
description string Full description or body text of the proposal.
createTime integer Unix timestamp when the proposal was created.
state string Current lifecycle state of the proposal.
stateTimeLeft integernull Seconds remaining in the current state, or null if no time limit.
forVotes string Aggregate voting power in favor (decimal string).
againstVotes string Aggregate voting power against (decimal string).
View JSON Schema on GitHub

JSON Schema

governance-proposal.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/barnbridge/main/json-schema/governance-proposal.json",
  "title": "GovernanceProposal",
  "description": "A BarnBridge DAO governance proposal.",
  "type": "object",
  "properties": {
    "proposalId": {
      "type": "integer",
      "description": "Unique sequential identifier of the proposal."
    },
    "proposer": {
      "type": "string",
      "description": "Ethereum address of the account that submitted the proposal.",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "title": {
      "type": "string",
      "description": "Short human-readable title of the proposal."
    },
    "description": {
      "type": "string",
      "description": "Full description or body text of the proposal."
    },
    "createTime": {
      "type": "integer",
      "description": "Unix timestamp when the proposal was created."
    },
    "state": {
      "type": "string",
      "description": "Current lifecycle state of the proposal.",
      "enum": [
        "WARMUP",
        "ACTIVE",
        "ACCEPTED",
        "QUEUED",
        "GRACE",
        "CANCELED",
        "FAILED",
        "ABROGATED",
        "EXPIRED"
      ]
    },
    "stateTimeLeft": {
      "type": ["integer", "null"],
      "description": "Seconds remaining in the current state, or null if no time limit."
    },
    "forVotes": {
      "type": "string",
      "description": "Aggregate voting power in favor (decimal string)."
    },
    "againstVotes": {
      "type": "string",
      "description": "Aggregate voting power against (decimal string)."
    }
  },
  "required": [
    "proposalId",
    "proposer",
    "title",
    "createTime",
    "state",
    "forVotes",
    "againstVotes"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/governance-proposal"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.