PoetryDB · Schema
Poem
A single poem as returned by the PoetryDB API.
PoetryLiteraturePublic DomainEnglish LanguageSearchOpen Data
Properties
| Name | Type | Description |
|---|---|---|
| title | string | The poem's title. |
| author | string | The full name of the poem's author. |
| lines | array | An ordered array of strings, each representing one line of the poem. |
| linecount | string | The total number of lines in the poem, returned as a string. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/poetry-db/main/json-schema/poem.json",
"title": "Poem",
"description": "A single poem as returned by the PoetryDB API.",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The poem's title."
},
"author": {
"type": "string",
"description": "The full name of the poem's author."
},
"lines": {
"type": "array",
"description": "An ordered array of strings, each representing one line of the poem.",
"items": {
"type": "string"
}
},
"linecount": {
"type": "string",
"description": "The total number of lines in the poem, returned as a string."
}
},
"required": ["title", "author", "lines", "linecount"],
"additionalProperties": false,
"examples": [
{
"title": "Ozymandias",
"author": "Percy Bysshe Shelley",
"lines": [
"I met a traveller from an antique land,",
"Who said—\"Two vast and trunkless legs of stone",
"Stand in the desert. . . . Near them, on the sand,",
"Half sunk a shattered visage lies, whose frown,",
"And wrinkled lip, and sneer of cold command,",
"Tell that its sculptor well those passions read",
"Which yet survive, stamped on these lifeless things,",
"The hand that mocked them, and the heart that fed;",
"And on the pedestal, these words appear:",
"My name is Ozymandias, King of Kings;",
"Look on my Works, ye Mighty, and despair!",
"Nothing beside remains. Round the decay",
"Of that colossal Wreck, boundless and bare",
"The lone and level sands stretch far away."
],
"linecount": "14"
}
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/poem"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.