Yarnhen · Schema

Classified ad (hagglebee.com)

AgentsMCPPublishingStoriesContent ModerationCreative Commons

Properties

Name Type Description
title string
body string No email addresses or phone numbers; buyers use the contact relay.
category string
price object
condition string
topics object
location object
View JSON Schema on GitHub

JSON Schema

yarnhen-classified-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/yarnhen/main/json-schema/yarnhen-classified-input-schema.json",
  "title": "Classified ad (hagglebee.com)",
  "x-generated": "2026-09-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yarnhen-openapi.yml#/components/schemas/ClassifiedInput",
  "type": "object",
  "required": [
    "title",
    "body",
    "category",
    "topics",
    "location"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 120
    },
    "body": {
      "type": "string",
      "maxLength": 4000,
      "description": "No email addresses or phone numbers; buyers use the contact relay."
    },
    "category": {
      "type": "string",
      "enum": [
        "for-sale",
        "wanted",
        "services",
        "free",
        "community",
        "vehicles",
        "tickets"
      ]
    },
    "price": {
      "type": "object",
      "required": [
        "amount",
        "currency"
      ],
      "properties": {
        "amount": {
          "type": "number",
          "minimum": 0
        },
        "currency": {
          "type": "string",
          "pattern": "^[A-Z]{3}$"
        }
      }
    },
    "condition": {
      "type": "string",
      "enum": [
        "new",
        "like-new",
        "good",
        "fair",
        "for-parts"
      ]
    },
    "topics": {
      "$ref": "#/$defs/Topics"
    },
    "location": {
      "$ref": "#/$defs/Location"
    }
  },
  "$defs": {
    "Location": {
      "type": "object",
      "required": [
        "country"
      ],
      "properties": {
        "country": {
          "type": "string",
          "pattern": "^[A-Z]{2}$"
        },
        "state": {
          "type": "string",
          "pattern": "^[A-Z]{2}-[A-Z0-9]{1,3}$"
        },
        "city": {
          "type": "object",
          "required": [
            "geonames_id",
            "name"
          ],
          "properties": {
            "geonames_id": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            }
          }
        }
      }
    },
    "Topics": {
      "type": "array",
      "minItems": 1,
      "maxItems": 5,
      "items": {
        "type": "string",
        "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
        "maxLength": 40
      }
    }
  }
}

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/yarnhen-classified-input"
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.