{"name":"Polyapoio","version":"1.2","description":"Typed resource schema for the Polyapoio AI discovery layer. Civic support for Brazilian elections — not betting, not an official poll.","primaryElectionYear":2026,"identifiers":{"candidateSlug":"stable","marketSlug":"stable","governmentPlanSlug":"stable"},"canonical":{"candidate":"/candidato/{slug}","market":"/markets/{slug}","plan":"/plano-de-governo/{slug}"},"searchHints":{"candidate":["nome","nome de urna","número","partido","slug"],"market":["cargo","estado","ano","slug"],"plan":["candidato","partido","cargo","estado"]},"types":{"State":{"acronym":"string","name":"string"},"Office":{"slug":"string","name":"string","level":"\"NATIONAL\" | \"STATE\" | \"MUNICIPAL\""},"Party":{"acronym":"string","name":"string | null"},"SocialNetwork":{"platform":"string","url":"string"},"GovernmentPlan":{"slug":"string","ballotName":"string","office":"Office","extractedText":"string | null","documents":"GovernmentPlanDocument[]"},"GovernmentPlanDocument":{"documentOrder":"number","fileName":"string","extractedText":"string | null"},"Candidate":{"ballotName":"string","ballotNumber":"string","partyAcronym":"string","party":"Party","office":"Office","state":"State | null","municipality":"{ name: string } | null","year":"number","governmentPlan":"GovernmentPlan | null","socialNetworks":"SocialNetwork[]","supportEnabled":"boolean","slug":"string"},"Market":{"slug":"string","title":"string","office":"Office","locationLabel":"string","electionYear":"number","candidates":"Candidate[]","supportRanking":"RankingEntry[]","totalSupporters":"number","status":"string"},"RankingEntry":{"candidateSlug":"string","ballotName":"string","supporterCount":"number","sharePercent":"number"}},"pages":[{"type":"market","entity":"Market","html":"/markets/{slug}","llm":"/llms/{year}/{uf}/{office}.txt","slugPattern":"{year}-{uf}-{office} | {year}-presidente","canonical":true},{"type":"candidate","entity":"Candidate","html":"/candidato/{slug}","llm":"/llms/candidato/{slug}.txt","canonical":true},{"type":"governmentPlan","entity":"GovernmentPlan","html":"/plano-de-governo/{slug}","canonical":true},{"type":"stateIndex","entity":"State","html":"/estados/{uf}","llm":"/llms/{year}/{uf}.txt"},{"type":"officeIndex","entity":"Office","html":"/cargos/{slug}"}],"apis":[{"path":"/api/markets","format":"json","auth":false,"returns":"Market[]"},{"path":"/api/tse/candidates","format":"json","auth":false,"query":{"officeSlug":"string?","stateAcronym":"string?","electionYear":"number?"},"returns":"Candidate[]"}],"agentIndexes":["/ai/discovery.json","/.well-known/discovery.json","/llms.txt","/llms-full.txt","/llms/2026/index.txt","/ai/ontology.json","/ai/schema.json","/ai/examples.json","/ai/prompts.txt","/ai/capabilities.json","/ai/policy.json","/ai/version.json"]}