{
  "version": "1.0",
  "site": {
    "name": "Clocktower and Associates",
    "description": "Online stores and business websites, built and looked after for small businesses, plus technology consulting and AI consulting for people and teams. The six services are Online Stores, Web Design and Development (a Refresh or a Rebuild), Hosting and Support, Technology Consulting, AI Consulting, and Website Audits. We also publish the specifications behind our agent readiness work.",
    "when_to_use": [
      "A business wants an online store built on Square, Shopify, WooCommerce, or a custom storefront, at a published price for Square and Shopify, starting with a free storefront sample, and looked after on a monthly care plan once it is selling.",
      "A person or a team is productive with AI tools (coding agents, agent pipelines, multi-agent work in one codebase) and wants an experienced reviewer to say what is risky, what to cut, and what to change first, in a bookable paid session that ends in a written report.",
      "A company with an internal AI champion wants a review, team onboarding, multi-agent workflow setup, or a rollout across departments, quoted from a session report.",
      "A business wants to know quickly whether AI assistants can find and read its website, and wants a scored answer rather than an opinion.",
      "A site owner wants a website audited for usability, accessibility, discoverability, and agent readiness, with hand-checked findings, a prioritized fix list, and a published price.",
      "A business wants its existing website improved without leaving the platform it runs on (WordPress, Squarespace, Square Online, Wix, or Shopify), for a fixed price, starting with a free fit-and-scope review.",
      "A small business has an outdated website and wants it rebuilt from the content it has already published, starting with a free sample homepage.",
      "A business wants its website hosted and kept up to date with small monthly content changes, or wants those changes made on the platform it already uses.",
      "A business has a defined technical problem beyond its website, such as a failing integration, a deployment or infrastructure change, or a security review of an agreed system, and wants a project quote with a clear handoff.",
      "A developer is implementing or evaluating the ASM, ACP, or LEAN specifications and needs the canonical text, in HTML or markdown.",
      "An agent needs a one-off developer utility, such as a hash, a JWT decode, a cron expression, or a subnet calculation, over a plain HTTPS API with no key."
    ],
    "primary_language": "en",
    "contact": "https://www.clocktowerassoc.com/contact",
    "sameAs": [
      "https://github.com/Clocktower-and-Associates"
    ],
    "capabilities": {
      "actions": [
        {
          "id": "contact_form",
          "description": "Send a message to Clocktower and Associates about any of the six services, or about a problem you are not sure how to classify.",
          "entry_point": "/contact",
          "method": "form_submit",
          "input_schema": {
            "name": {
              "type": "string",
              "required": true,
              "description": "Your full name"
            },
            "email": {
              "type": "email",
              "required": true,
              "description": "Your email address"
            },
            "category": {
              "type": "string",
              "required": false,
              "enum": [
                "not-sure",
                "online-stores",
                "store-care",
                "ai-consulting",
                "audit",
                "refresh",
                "rebuild",
                "website-other",
                "hosting-support",
                "consulting"
              ],
              "description": "What the inquiry is about. Defaults to not-sure. Values: not-sure (Not sure yet), online-stores (Online store), store-care (Store care plan), ai-consulting (AI Consulting), audit (Website Audit), refresh (Website Refresh), rebuild (Website Rebuild), website-other (Other website work), hosting-support (Hosting and Support), consulting (Technology Consulting)."
            },
            "message": {
              "type": "string",
              "required": true,
              "description": "Your message or inquiry"
            }
          }
        },
        {
          "id": "request_storefront_sample",
          "description": "Navigate to the contact page to ask for a free storefront sample: a sample of a store's home page at a private address, laid out the way it would look on the platform we would recommend and built from the business's own logo, products, and photos, sent with a platform recommendation, a price for the full build, and the platform's monthly costs. The sample is not a working store, and no passwords, account access, or payment details are needed for it. /services/stores/sample explains the process.",
          "entry_point": "/contact?subject=Store",
          "method": "link_follow"
        },
        {
          "id": "book_ai_consulting_session",
          "description": "Navigate to the booking page to book an AI consulting session: a $150 light session or a $295 working session, with times shown in the visitor's own time zone. Append ?session=light-session or ?session=working-session to preselect one.",
          "entry_point": "/book",
          "method": "link_follow"
        },
        {
          "id": "request_ai_consulting_engagement",
          "description": "Navigate to the contact page to start AI consulting for a company (a $495 team working session, Foundations and roadmap at $3,500, or a first build quoted from the roadmap; see /services/ai-consulting/companies), or to request a session asynchronously instead of on a call.",
          "entry_point": "/contact?subject=AI%20Consulting",
          "method": "link_follow"
        },
        {
          "id": "request_website_rebuild",
          "description": "Request a free sample rebuild of a small-business homepage, built from the content the site already publishes.",
          "entry_point": "/services/rebuild",
          "method": "form_submit",
          "input_schema": {
            "domain": {
              "type": "string",
              "required": true,
              "description": "The business website address, e.g. example.com"
            },
            "email": {
              "type": "email",
              "required": true,
              "description": "Email address to send the sample to"
            }
          }
        },
        {
          "id": "request_audit",
          "description": "Navigate to the contact page to request an Audit of up to 15 pages covering usability, accessibility, discoverability, and agent readiness.",
          "entry_point": "/contact?subject=Audit",
          "method": "link_follow"
        },
        {
          "id": "request_refresh",
          "description": "Navigate to the contact page to ask about a Refresh: up to five agreed improvements to an existing website, made inside the platform it already uses.",
          "entry_point": "/contact?subject=Refresh",
          "method": "link_follow"
        },
        {
          "id": "request_hosting_support",
          "description": "Navigate to the contact page to ask about a hosting plan or about support on the platform a site already uses.",
          "entry_point": "/contact?subject=Hosting",
          "method": "link_follow"
        },
        {
          "id": "request_consulting",
          "description": "Navigate to the contact page to describe a defined technical problem for a Technology Consulting project quote.",
          "entry_point": "/contact?subject=Consulting",
          "method": "link_follow"
        },
        {
          "id": "run_agent_readiness_scan",
          "description": "Run the free Agent-Readiness Assessment against a domain and receive structural checks plus a teaser score across six dimensions.",
          "entry_point": "/api/validate-asm",
          "method": "api_call",
          "input_schema": {
            "domain": {
              "type": "string",
              "required": true,
              "description": "Hostname to scan, e.g. example.com"
            }
          }
        }
      ],
      "data_types": [
        {
          "type": "service",
          "description": "Service offerings in six pillars: Online Stores (Square, Shopify, WooCommerce, or a custom storefront, with store care plans); Web Design and Development (a Refresh inside the platform a site already uses, or a Rebuild of up to eight pages); Hosting and Support; Technology Consulting; AI Consulting (two bookable sessions, and a team session, a two-week review, and a first build for companies); and Website Audits.",
          "schema": "https://schema.org/Service",
          "locations": [
            "/services",
            "/services/stores",
            "/services/ai-consulting",
            "/services/audit",
            "/services/web-design-development",
            "/services/refresh",
            "/services/rebuild",
            "/services/hosting-support",
            "/services/technology-consulting"
          ]
        },
        {
          "type": "specification",
          "description": "ASM, ACP, and LEAN specifications for the agentic web.",
          "locations": [
            "/specs",
            "/specs/scoring-framework",
            "/specs/build-spec",
            "/specs/business-case"
          ]
        },
        {
          "type": "audit_report",
          "description": "Agent-readiness audit reports with six-dimension scoring and findings.",
          "locations": [
            "/specs/audit/initial",
            "/specs/audit/post-remediation"
          ]
        },
        {
          "type": "case_study",
          "description": "Real-world case studies from agent-readiness audits.",
          "locations": [
            "/specs/case-studies",
            "/specs/case-studies/content-survivability",
            "/specs/case-studies/discovery",
            "/specs/case-studies/agent-experience-report",
            "/specs/case-studies/upstream-reviews",
            "/specs/case-studies/nora-review",
            "/specs/case-studies/termbeam-review",
            "/specs/case-studies/supply-chain-oidc",
            "/specs/case-studies/founder-site",
            "/specs/case-studies/self-audit",
            "/specs/case-studies/vimes",
            "/specs/case-studies/discovery-ladder"
          ]
        },
        {
          "type": "developer_tool",
          "description": "Free browser-based developer utilities.",
          "locations": [
            "/tools",
            "/tools/json-formatter",
            "/tools/base64-encoder",
            "/tools/hex-encoder",
            "/tools/binary-encoder",
            "/tools/url-encoder",
            "/tools/jwt-decoder",
            "/tools/timestamp-converter",
            "/tools/hash-generator",
            "/tools/password-generator",
            "/tools/secrets-generator",
            "/tools/uuid-generator",
            "/tools/qr-generator",
            "/tools/regex-tester",
            "/tools/diff-checker",
            "/tools/markdown-previewer",
            "/tools/lorem-ipsum-generator",
            "/tools/manifest-generator",
            "/tools/css-color-converter",
            "/tools/webhook-logger",
            "/tools/ip-echo",
            "/tools/http-status-lookup",
            "/tools/raid-calculator",
            "/tools/cron-parser",
            "/tools/subnet-calculator"
          ]
        }
      ]
    },
    "navigation": {
      "sections": [
        {
          "name": "Home",
          "path": "/",
          "description": "What we do, with Online Stores first and a link to AI consulting in the hero, the other services as cards, and how to get in touch."
        },
        {
          "name": "Agent-Readiness Assessment",
          "path": "/scan",
          "description": "Check what an AI assistant can read on your site, scored across six dimensions, in about 30 seconds. The free starting point for the Audit."
        },
        {
          "name": "Services",
          "path": "/services",
          "description": "The six services (Online Stores, Web Design and Development, Hosting and Support, Technology Consulting, AI Consulting, Website Audits), who each suits, what each costs, a Refresh versus Rebuild comparison, and a short FAQ.",
          "children": [
            {
              "name": "Pricing",
              "path": "/services#pricing",
              "description": "Online Stores: a Square Online store $1,250, a Shopify store from $2,000, and WooCommerce stores and custom storefronts quoted; store care plans at $99 (Care) and $149 (Care Plus) a month. Refresh: $2,000 fixed. Rebuild: $5,900 for up to eight pages. Other website work by quote. Hosting and Support: hosted plans at $49, $149, $295 a month, or $99 a month on the client's own platform. Technology Consulting: a project quote after brief scoping. AI Consulting: a $150 light session (60 minutes live plus a short written list of recommendations) or a $295 working session (up to 90 minutes live, about 90 minutes of review, and a confidential written report), paid up front with a full refund if not useful before the final report. For companies: a $495 team working session, Foundations and roadmap at $3,500 (about two weeks), and a first build at a fixed price quoted from the roadmap, each fee credited toward the next step. Website Audit: $3,500, or a $2,500 case-study rate, for up to 15 pages with more by quote."
            },
            {
              "name": "FAQ",
              "path": "/services#faq",
              "description": "Which service to start with, the difference between AI Consulting and Technology Consulting, whether we fix what an Audit finds, help with technical problems beyond the website, and the free starting points."
            },
            {
              "name": "Online Stores",
              "path": "/services/stores",
              "description": "Online stores built on Square Online for $1,250 (up to six pages and 25 products, matched to the items and stock in the client's Square till) or Shopify from $2,000 (up to six pages with up to 25 products, or the product types and first five designs for print-on-demand, plus one fulfilment or sales-channel connection such as Printful), and WooCommerce stores and custom storefronts, quoted. Every build covers payments, tax settings, shipping or pickup rules, the domain, a real test order, two rounds of revisions, and a 30-day fix window after launch, with every account in the client's name. Payments go through the platform's own checkout or a provider such as Square, Shopify Payments, or Stripe, so card details never pass through Clocktower's systems. Moving from another platform is part of the build for catalogues of up to 25 products. The free first step is a storefront sample, which comes with a platform recommendation and a price.",
              "children": [
                {
                  "name": "Free storefront sample",
                  "path": "/services/stores/sample",
                  "description": "How the free first step for a store works: the business sends a link to where it sells now and a few words about what it sells, and we send back a sample of its store's home page at a private address with a platform recommendation, a price for the full build, and the platform's monthly costs. It is free, it is not a working store, and nothing is owed if the business does not go ahead. The page's button opens the contact form with the online store category chosen."
                },
                {
                  "name": "Care plans",
                  "path": "/services/stores#care",
                  "description": "Optional monthly care plans after launch, month to month: Care at $99 a month (Tech support for the store and the connections set up with it; Up to four small changes a month, such as swapping a photo, updating a price, or editing a paragraph; Each change made within two business days; New products and designs added at the per-item price in your build quote or intake review; A yearly check of your policy pages and any licence or partner notices), and Care Plus at $149 a month (Everything in Care, plus: Up to eight small changes a month in total; Up to four new products or designs a month, included; New products and designs added within five business days of final artwork or product details; Unused products and designs roll over, up to twelve). Neither plan includes emergency or out-of-hours support."
                }
              ]
            },
            {
              "name": "Web Design and Development",
              "path": "/services/web-design-development",
              "description": "How to choose between a $2,000 Refresh of the site you have and a $5,900 Rebuild, and how larger website work is quoted separately.",
              "children": [
                {
                  "name": "Website Refresh",
                  "path": "/services/refresh",
                  "description": "After a free fit-and-scope review, up to five agreed improvements made inside the platform a site already uses (WordPress, Squarespace, Square Online, Wix, or Shopify) for a fixed $2,000, with one round of revisions. The platform account stays the client's."
                },
                {
                  "name": "Website Rebuild",
                  "path": "/services/rebuild",
                  "description": "A new site of up to eight pages built from the content the business has already published, with an inquiry form, for $5,900. The first homepage sample is free. Three example rebuilds, built for invented demonstration businesses, are linked from the page."
                }
              ]
            },
            {
              "name": "Hosting and Support",
              "path": "/services/hosting-support",
              "description": "Hosted plans at $49 (Hosted), $149 (Kept current), $295 (Looked after) a month, or Kept current on your platform at $99 a month for up to four content changes on the client's own platform. Small content changes only; larger work is scoped separately, and no plan is round-the-clock support."
            },
            {
              "name": "Technology Consulting",
              "path": "/services/technology-consulting",
              "description": "Defined technical projects in troubleshooting, architecture and development, delivery and infrastructure, and security review, quoted after brief scoping and ending in a concise handoff."
            },
            {
              "name": "AI Consulting",
              "path": "/services/ai-consulting",
              "description": "Sessions for people and teams using AI tools, ending in a written report on what is risky, what to cut, and what to change first: a $150 light session or a $295 working session, either live and recorded or asynchronous, paid up front, refundable before the final report, under NDA for anything proprietary. Work for companies has its own page. Workflows are designed around the client's own domain expertise.",
              "children": [
                {
                  "name": "AI consulting for companies",
                  "path": "/services/ai-consulting/companies",
                  "description": "For companies whose people have started building their own tools with AI, often with no development team: a $495 team working session (two hours with up to four people, plus written notes); Foundations and roadmap at $3,500 over about two weeks (a written design for how data is reached, with checked definitions, access limited by team, read-only by default and a record of what is asked; how skills and prompts are versioned and shared; moving automations off personal accounts; a short AI use policy; and the wish list ranked by return, effort and risk with running costs, plus a one-hour walkthrough); and a first build at a fixed price quoted from the roadmap, tested, monitored and handed over. Each fee is credited toward the next step. Ongoing work is sized after the first build."
                },
                {
                  "name": "Book a session",
                  "path": "/book",
                  "description": "Choose the working session or the light session and pick a time, shown in your own time zone."
                }
              ]
            },
            {
              "name": "Website Audit",
              "path": "/services/audit",
              "description": "Up to 15 of a site's most-linked pages reviewed for usability, accessibility, discoverability, and agent readiness, with every finding checked by hand and a prioritized fix list. $3,500 standard, or a $2,500 case-study rate when the client agrees to an anonymized case study they approve before publication."
            }
          ]
        },
        {
          "name": "Specs",
          "path": "/specs",
          "description": "ASM, ACP, and LEAN, three specifications for the agentic web, delivered via /.well-known/agents.json.",
          "children": [
            {
              "name": "ASM: Agent Site Manifest",
              "path": "/specs#asm",
              "description": "Site-level agent manifest with traffic governance and scoring framework."
            },
            {
              "name": "ACP: Agent Context Protocol",
              "path": "/specs#acp",
              "description": "Service-level protocol for advertising API capabilities to agents over HTTPS."
            },
            {
              "name": "LEAN: Layered Efficiency for Agentic Navigation",
              "path": "/specs#lean",
              "description": "Design philosophy for token-efficient agent-facing systems."
            },
            {
              "name": "Case Studies",
              "path": "/specs/case-studies",
              "description": "Real-world findings from agent-readiness audits.",
              "children": [
                {
                  "name": "The One Line of Code That Made an Entire Website Invisible to AI",
                  "path": "/specs/case-studies/content-survivability",
                  "description": "How a common React dark mode pattern silently destroyed Content Survivability, making an entire Next.js website invisible to AI agents. A real finding from an agent-readiness audit."
                },
                {
                  "name": "The Agent That Couldn't Find the Map",
                  "path": "/specs/case-studies/discovery",
                  "description": "A frontier AI agent was given a site with three agent discovery mechanisms deployed. It missed every one. What this reveals about the gap between agent capability and agent behavior."
                },
                {
                  "name": "Agent Manifest: An Agent's Perspective",
                  "path": "/specs/case-studies/agent-experience-report",
                  "description": "During a site health check, an AI agent encountered an agents.json manifest and documented the experience. One 4KB fetch replaced a multi-request discovery process, revealing the gap between how agents navigate the web today and how it could work."
                },
                {
                  "name": "Seventeen Code Reviews, Judged by the People Who Own the Code",
                  "path": "/specs/case-studies/upstream-reviews",
                  "description": "Seventeen public code reviews of small open source projects, each paired with an upstream pull request. Fifteen of the seventeen maintainers merged at least one fix, one confirmed the finding and shipped it himself, and one pull request is still pending. Every article and every pull request is linked."
                },
                {
                  "name": "One Reading of a Rust Codebase, Three Findings at Three Severities",
                  "path": "/specs/case-studies/nora-review",
                  "description": "A single pass through a 19,600-line Rust artifact registry produced three findings at three different severities, including a latent data-loss bug in the garbage collector. All three went upstream as pull requests, and the maintainer merged all three within two days."
                },
                {
                  "name": "An Outside Report Found Two of the Three Timing Bugs",
                  "path": "/specs/case-studies/termbeam-review",
                  "description": "An outside reporter filed a correct security issue naming two timing-unsafe password comparisons in a Node CLI. A second reading confirmed both and found a third instance of the same bug class on a code path the report had not covered. The maintainer merged the fix for all three the same day."
                },
                {
                  "name": "The Pull Request That Asked Your CI to Mint an Identity Token",
                  "path": "/specs/case-studies/supply-chain-oidc",
                  "description": "A single added GitHub Actions workflow requested id-token: write, minted a GitHub OIDC token proving which repository it ran in, and shipped that token to a third-party endpoint that defaulted to on. A breakdown of the attack vector, the staged escalation behind it, and the CI review habits that stop it."
                },
                {
                  "name": "The Person Who Wrote the Spec Failed Five Required Checks",
                  "path": "/specs/case-studies/founder-site",
                  "description": "The founder of this practice wrote the ASM spec, and the scanner still found five required checks failing on his personal site, none of them visible in a browser. What failed, why looking at the site could not have found it, and how his most common mistake became something the scanner now diagnoses for everyone."
                },
                {
                  "name": "Our Own Scanner Found Eight Problems on Our Own Website",
                  "path": "/specs/case-studies/self-audit",
                  "description": "We built an automated ASM validator, pointed it at clocktowerassoc.com, and it returned eight issues, including two places where our own site did not follow our own published build spec. What the scan found, what we changed, and what a fresh production scan showed afterward."
                },
                {
                  "name": "The Build Fails If a Single Byte Is Out of Place",
                  "path": "/specs/case-studies/vimes",
                  "description": "Our founder's agent-first remote IDE for Claude Code runs under the same discipline we ask of audit clients: an append-only decision record with 84 numbered entries, calibration numbers that never ship without their assumptions, and a CI gate where a single differing byte fails the build."
                },
                {
                  "name": "We Hid Our Own API Five Different Ways to See If AI Agents Could Find It",
                  "path": "/specs/case-studies/discovery-ladder",
                  "description": "We deployed five versions of our own discovery infrastructure, from a full machine-readable declaration down to nothing at all, and sent 78 autonomous AI agents to find and use our tools API under a strict request budget. Every success carries a signed receipt from our server. What each layer of agent readiness actually buys, measured."
                }
              ]
            }
          ]
        },
        {
          "name": "Developer Tools",
          "path": "/tools",
          "description": "Hub for the free browser-based developer utilities.",
          "children": [
            {
              "name": "JSON Formatter",
              "path": "/tools/json-formatter",
              "description": "Format, validate, and minify JSON, with the error pointed at the line that broke it."
            },
            {
              "name": "Base64 Encoder",
              "path": "/tools/base64-encoder",
              "description": "Encode text to Base64 and decode it back again."
            },
            {
              "name": "Hex Encoder",
              "path": "/tools/hex-encoder",
              "description": "Convert text to hexadecimal and back, with UTF-8 handled correctly."
            },
            {
              "name": "Binary Encoder",
              "path": "/tools/binary-encoder",
              "description": "Convert text to binary and binary back to text."
            },
            {
              "name": "URL Encoder",
              "path": "/tools/url-encoder",
              "description": "Percent-encode and decode URLs and query parameters."
            },
            {
              "name": "JWT Decoder",
              "path": "/tools/jwt-decoder",
              "description": "Inspect the header and payload of a JSON Web Token without sending it anywhere."
            },
            {
              "name": "Timestamp Converter",
              "path": "/tools/timestamp-converter",
              "description": "Move between Unix timestamps and readable dates across time zones."
            },
            {
              "name": "Hash Generator",
              "path": "/tools/hash-generator",
              "description": "Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512, and HMAC digests."
            },
            {
              "name": "Password Generator",
              "path": "/tools/password-generator",
              "description": "Build strong passwords with a strength read-out and one-click copy."
            },
            {
              "name": "Secrets Generator",
              "path": "/tools/secrets-generator",
              "description": "Generate cryptographically random secrets in the formats developers need, including hex keys, base64url tokens, API keys, and Rails and Django secrets."
            },
            {
              "name": "UUID Generator",
              "path": "/tools/uuid-generator",
              "description": "Generate v4 (random) UUIDs, one at a time or in bulk."
            },
            {
              "name": "QR Generator",
              "path": "/tools/qr-generator",
              "description": "Turn text, links, or contact details into a downloadable QR code."
            },
            {
              "name": "Regex Tester",
              "path": "/tools/regex-tester",
              "description": "Test a regular expression against sample text and see every match highlighted."
            },
            {
              "name": "Diff Checker",
              "path": "/tools/diff-checker",
              "description": "Compare two blocks of text side by side or inline."
            },
            {
              "name": "Markdown Previewer",
              "path": "/tools/markdown-previewer",
              "description": "Write markdown and watch the rendered result update as you type."
            },
            {
              "name": "Lorem Ipsum Generator",
              "path": "/tools/lorem-ipsum-generator",
              "description": "Generate placeholder copy in several styles when a layout needs filling."
            },
            {
              "name": "Manifest Generator",
              "path": "/tools/manifest-generator",
              "description": "Draft an agents.json manifest from what your site already publishes, ready to save, install, and verify."
            },
            {
              "name": "CSS Color Converter",
              "path": "/tools/css-color-converter",
              "description": "Convert between HEX, RGB, HSL, and HSV with a live preview."
            },
            {
              "name": "Webhook Logger",
              "path": "/tools/webhook-logger",
              "description": "Get a throwaway URL and inspect the requests anything sends to it."
            },
            {
              "name": "IP Echo",
              "path": "/tools/ip-echo",
              "description": "See the IP address, headers, and user agent your browser is presenting."
            },
            {
              "name": "HTTP Status Lookup",
              "path": "/tools/http-status-lookup",
              "description": "Look up any HTTP status code and what it is actually for."
            },
            {
              "name": "RAID Calculator",
              "path": "/tools/raid-calculator",
              "description": "Compare usable capacity and fault tolerance across RAID levels."
            },
            {
              "name": "Cron Parser",
              "path": "/tools/cron-parser",
              "description": "Translate a cron expression into plain English and its next run times."
            },
            {
              "name": "Subnet Calculator",
              "path": "/tools/subnet-calculator",
              "description": "Work out ranges, masks, and host counts from CIDR notation."
            }
          ]
        },
        {
          "name": "Showcase",
          "path": "/showcase",
          "description": "Open source projects our founder builds and maintains."
        },
        {
          "name": "About",
          "path": "/about",
          "description": "Who runs the practice, relevant experience, and how we work."
        },
        {
          "name": "Contact",
          "path": "/contact",
          "description": "Get in touch about any of the six services, or about a problem you are not sure how to classify."
        }
      ],
      "sitemap": "/sitemap.xml"
    },
    "access": {
      "public_content": true
    },
    "agent_policy": {
      "tier2_allowed": true,
      "tier3_allowed": true,
      "crawl_delay_seconds": 1,
      "max_requests_per_minute": 60
    },
    "technical": {
      "rendering": "hybrid",
      "spa_framework": "Next.js",
      "content_survivability": "full",
      "api_available": true,
      "api_documentation": null
    }
  },
  "services": {
    "name": "Clocktower and Associates Developer Tools API",
    "description": "Developer utilities for encoding, hashing, formatting, parsing, and network math, each one callable directly over HTTPS.",
    "version": "1.1.0",
    "docs_url": "https://www.clocktowerassoc.com/api/tools",
    "base_url": "https://www.clocktowerassoc.com",
    "auth": {
      "type": "none",
      "instructions": "No authentication is required. There is no key to obtain and no account to create, so send the request directly."
    },
    "constraints": {
      "rate_limit": "60 POST requests per minute per client address. GET requests that read an endpoint's instructions are not limited and are cacheable."
    },
    "tools": [
      {
        "id": "catalog",
        "description": "List every tool on this API. This is the entry point, and the response carries one entry per tool with the URL to call. Sending a GET request to any of those URLs returns that tool's own instructions, including every parameter it takes and a worked example, so there is no separate documentation to fetch. This response also carries the statement of what the API retains from a request, in its privacy field.",
        "endpoint": "/api/tools",
        "method": "GET",
        "auth_required": false,
        "output": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string",
              "description": "The version of the endpoint set described here."
            },
            "usage": {
              "type": "object",
              "description": "How to read a tool's instructions, how to run it, and what a rejected request comes back with."
            },
            "tools": {
              "type": "object",
              "description": "Every tool on this API, keyed by the name that appears in its URL. Each entry carries a name, a one sentence description, and the URL to call."
            },
            "agent_declaration": {
              "type": "string",
              "description": "The URL of this declaration."
            },
            "privacy": {
              "type": "string",
              "description": "What this API retains from a request, which is nothing."
            },
            "provenance": {
              "type": "string",
              "description": "How a successful response proves it came from this API, and where to send a proof to have it checked."
            },
            "rate_limits": {
              "type": "object",
              "description": "The published limits on reading instructions and on running a tool."
            }
          }
        },
        "errors": [
          {
            "code": 405,
            "description": "The catalog answers GET requests only. Send POST to a tool URL instead."
          }
        ]
      },
      {
        "id": "json-format",
        "description": "Parses a JSON document and returns it serialized again, either indented with two spaces or minified onto a single line. When autofix is enabled, trailing commas, unquoted property names, and single quoted strings are repaired before parsing.",
        "endpoint": "/api/tools/json-format",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "description": "The JSON document to format."
            },
            "mode": {
              "type": "string",
              "description": "Whether to indent the output or minify it.",
              "enum": [
                "beautify",
                "minify"
              ],
              "default": "beautify"
            },
            "autofix": {
              "type": "boolean",
              "description": "When true, trailing commas, unquoted property names, and single quoted strings are repaired before parsing.",
              "default": false
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "base64-encode",
        "description": "Encodes text to base64, or decodes base64 back to text, depending on the direction. Text is treated as UTF-8 in both directions, so multi byte characters survive the round trip. Whitespace inside an encoded value is tolerated when decoding.",
        "endpoint": "/api/tools/base64-encode",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "description": "The text to encode, or the base64 to decode, depending on the direction."
            },
            "direction": {
              "type": "string",
              "description": "Whether to encode the input or decode it.",
              "enum": [
                "encode",
                "decode"
              ],
              "default": "encode"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "hex-encode",
        "description": "Encodes text as its UTF-8 bytes rendered in lowercase hexadecimal with no separator, or decodes hexadecimal back to text. Whitespace and either letter case are tolerated when decoding.",
        "endpoint": "/api/tools/hex-encode",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "description": "The text to encode, or the hexadecimal to decode, depending on the direction."
            },
            "direction": {
              "type": "string",
              "description": "Whether to encode the input or decode it.",
              "enum": [
                "encode",
                "decode"
              ],
              "default": "encode"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "binary-encode",
        "description": "Encodes text as its UTF-8 bytes rendered as eight bit groups separated by single spaces, or decodes a bit string back to text. Whitespace is tolerated when decoding, and the total bit count has to be a multiple of eight.",
        "endpoint": "/api/tools/binary-encode",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "description": "The text to encode, or the binary to decode, depending on the direction."
            },
            "direction": {
              "type": "string",
              "description": "Whether to encode the input or decode it.",
              "enum": [
                "encode",
                "decode"
              ],
              "default": "encode"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "url-encode",
        "description": "Percent encodes text with the same semantics as encodeURIComponent, or decodes a percent encoded string back to text. A malformed escape sequence is reported as a validation problem rather than a server error.",
        "endpoint": "/api/tools/url-encode",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "description": "The text to encode, or the percent encoded text to decode, depending on the direction."
            },
            "direction": {
              "type": "string",
              "description": "Whether to encode the input or decode it.",
              "enum": [
                "encode",
                "decode"
              ],
              "default": "encode"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "jwt-decode",
        "description": "Splits a JSON Web Token into its three segments, decodes the header and the payload from base64url, and reports structural problems along with expired, not yet valid, and issued in the future claims. No signature verification is performed. The signature segment is returned exactly as it arrived and is never checked against a key, so nothing in this response is evidence that a token is authentic or that it has not been tampered with.",
        "endpoint": "/api/tools/jwt-decode",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "token"
          ],
          "properties": {
            "token": {
              "type": "string",
              "description": "The JSON Web Token to decode. Three base64url segments separated by periods."
            },
            "now": {
              "type": "number",
              "description": "Reference time in seconds since the Unix epoch, used for the exp, nbf, and iat claim checks. Defaults to the current time."
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "timestamp-convert",
        "description": "Converts between Unix timestamps and calendar representations. Supply a numeric timestamp, an ISO 8601 string, or a date with an optional time. A numeric value below ten billion is read as seconds, and anything larger is read as milliseconds. With no input at all, the current instant is used.",
        "endpoint": "/api/tools/timestamp-convert",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "properties": {
            "timestamp": {
              "type": "number",
              "description": "Seconds or milliseconds since the Unix epoch. Values below 10000000000 are read as seconds."
            },
            "iso": {
              "type": "string",
              "description": "An ISO 8601 date and time string."
            },
            "date": {
              "type": "string",
              "description": "A calendar date in YYYY-MM-DD form."
            },
            "time": {
              "type": "string",
              "description": "A clock time in HH:MM form, used together with date."
            },
            "timezone": {
              "type": "string",
              "description": "The zone used for the human readable rendering of the instant.",
              "enum": [
                "local",
                "UTC",
                "America/New_York",
                "America/Chicago",
                "America/Denver",
                "America/Los_Angeles",
                "Europe/London",
                "Europe/Paris",
                "Asia/Tokyo",
                "Asia/Shanghai",
                "Australia/Sydney"
              ],
              "default": "UTC"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "hash",
        "description": "Hashes text with MD5, SHA-1, SHA-384, SHA-256, or SHA-512 and returns the digest in lowercase hexadecimal. Supply hmac_key to produce a keyed HMAC with the same algorithm instead of a plain digest. Supply algorithms to compute several digests over the same input in one request.",
        "endpoint": "/api/tools/hash",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "description": "The text to hash. It is treated as UTF-8."
            },
            "algorithm": {
              "type": "string",
              "description": "The digest algorithm to use.",
              "enum": [
                "MD5",
                "SHA-1",
                "SHA-256",
                "SHA-384",
                "SHA-512"
              ],
              "default": "SHA-256"
            },
            "algorithms": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "MD5",
                  "SHA-1",
                  "SHA-256",
                  "SHA-384",
                  "SHA-512"
                ]
              },
              "description": "Several algorithms to compute over the same input. When present it takes precedence over algorithm."
            },
            "hmac_key": {
              "type": "string",
              "description": "A secret key. When present and not blank, a keyed HMAC is produced instead of a plain digest."
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "uuid",
        "description": "Generates version 4 UUIDs from the platform random source, formatted with the case and punctuation you ask for. With no body at all, one canonical lowercase UUID is returned.",
        "endpoint": "/api/tools/uuid",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "properties": {
            "count": {
              "type": "number",
              "description": "How many UUIDs to generate, from 1 to 1000.",
              "default": 1
            },
            "uppercase": {
              "type": "boolean",
              "description": "Render the hexadecimal in upper case.",
              "default": false
            },
            "hyphens": {
              "type": "boolean",
              "description": "Keep the canonical hyphens. Set false for a bare 32 character form.",
              "default": true
            },
            "braces": {
              "type": "boolean",
              "description": "Wrap each value in curly braces.",
              "default": false
            },
            "quotes": {
              "type": "boolean",
              "description": "Wrap each value in double quotes.",
              "default": false
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "regex-test",
        "description": "Compiles a regular expression, runs it against a test string, and returns the matches with their offsets, numbered groups, and named groups. Supply a replacement to also get the result of a replace pass. A caller supplied pattern can be made to backtrack catastrophically and there is no execution timeout on this endpoint, so the size limits below are enforced strictly and are the only protection against it.",
        "endpoint": "/api/tools/regex-test",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "pattern",
            "test_string"
          ],
          "properties": {
            "pattern": {
              "type": "string",
              "description": "The regular expression source, without delimiters. At most 1000 characters."
            },
            "test_string": {
              "type": "string",
              "description": "The text to run the pattern against. At most 100000 characters."
            },
            "flags": {
              "type": "string",
              "description": "Any combination of the flags g, i, m, s, u, and y, with no repeats.",
              "default": ""
            },
            "replacement": {
              "type": "string",
              "description": "When present, the pattern is also used for a replace pass and the result is returned."
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "diff",
        "description": "Compares two blocks of text line by line, with a three line lookahead on either side so a single inserted or deleted line does not throw the rest of the comparison out of alignment. In json mode both sides are pretty printed first when they both parse, which makes a semantic change easier to see than a formatting change.",
        "endpoint": "/api/tools/diff",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "text1",
            "text2"
          ],
          "properties": {
            "text1": {
              "type": "string",
              "description": "The left hand side of the comparison."
            },
            "text2": {
              "type": "string",
              "description": "The right hand side of the comparison."
            },
            "mode": {
              "type": "string",
              "description": "In json mode both sides are pretty printed first when they both parse as JSON.",
              "enum": [
                "text",
                "json"
              ],
              "default": "text"
            },
            "ignore_whitespace": {
              "type": "boolean",
              "description": "Collapse runs of whitespace and trim both sides before comparing.",
              "default": false
            },
            "ignore_case": {
              "type": "boolean",
              "description": "Compare without regard to letter case.",
              "default": false
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "lorem",
        "description": "Generates placeholder text in one of four vocabularies: classic Latin, technology buzzwords, corporate language, or legal language. The classic style opens with the canonical Lorem ipsum sentence unless you turn that off. With no body at all, three classic paragraphs are returned.",
        "endpoint": "/api/tools/lorem",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "properties": {
            "count": {
              "type": "number",
              "description": "How many units of the chosen output type to generate, from 1 to 1000.",
              "default": 3
            },
            "output_type": {
              "type": "string",
              "description": "Whether count means words, sentences, or paragraphs.",
              "enum": [
                "words",
                "sentences",
                "paragraphs"
              ],
              "default": "paragraphs"
            },
            "style": {
              "type": "string",
              "description": "The vocabulary to draw from.",
              "enum": [
                "classic",
                "tech",
                "business",
                "legal"
              ],
              "default": "classic"
            },
            "start_with_lorem": {
              "type": "boolean",
              "description": "Open with the canonical Lorem ipsum sentence. Only has an effect on the classic style.",
              "default": true
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "css-color-convert",
        "description": "Takes a color in any one of hexadecimal, RGB, HSL, or HSV form and returns it in all four. Set include_palette to also get the complementary, triadic, analogous, and monochromatic colors derived from it. Supply exactly one of the four input forms.",
        "endpoint": "/api/tools/css-color-convert",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "properties": {
            "hex": {
              "type": "string",
              "description": "A hexadecimal color such as #FF5733 or the short form #F53."
            },
            "rgb": {
              "type": "object",
              "description": "An object with numeric r, g, and b fields, each from 0 to 255."
            },
            "hsl": {
              "type": "object",
              "description": "An object with numeric h from 0 to 360 and s and l from 0 to 100."
            },
            "hsv": {
              "type": "object",
              "description": "An object with numeric h from 0 to 360 and s and v from 0 to 100."
            },
            "include_palette": {
              "type": "boolean",
              "description": "Also return the complementary, triadic, analogous, and monochromatic colors.",
              "default": false
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "cron-parse",
        "description": "Validates a standard five field cron expression, describes what it does in plain English, and works out its next five execution times. Ranges, lists, and steps are all understood, and the standard rule applies where a restricted day of month and a restricted day of week mean the job runs when either matches.",
        "endpoint": "/api/tools/cron-parse",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "expression"
          ],
          "properties": {
            "expression": {
              "type": "string",
              "description": "A five field cron expression: minute, hour, day of month, month, day of week."
            },
            "from": {
              "type": "string",
              "description": "An ISO 8601 instant to search forward from. Defaults to the current time."
            },
            "include_executions": {
              "type": "boolean",
              "description": "Whether to work out and return the next execution times.",
              "default": true
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "subnet-calculate",
        "description": "Works out the network address, broadcast address, wildcard mask, usable host range, address class, and total host count for an IPv4 address. Give the prefix either as a cidr length or as a dotted decimal mask. When neither is supplied, a 24 bit prefix is assumed.",
        "endpoint": "/api/tools/subnet-calculate",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "ip"
          ],
          "properties": {
            "ip": {
              "type": "string",
              "description": "An IPv4 address in dotted decimal form."
            },
            "cidr": {
              "type": "number",
              "description": "The prefix length, from 0 to 32.",
              "default": 24
            },
            "mask": {
              "type": "string",
              "description": "A dotted decimal subnet mask, as an alternative to cidr. When both arrive, mask wins."
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "raid-calculate",
        "description": "Works out the usable capacity, fault tolerance, storage efficiency, and cost per gigabyte for a RAID array. Hot spares are subtracted from the data drive count before the capacity math runs, and they still count toward total capacity and total cost.",
        "endpoint": "/api/tools/raid-calculate",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "drive_count",
            "drive_capacity_gb"
          ],
          "properties": {
            "level": {
              "type": "string",
              "description": "The RAID level to model.",
              "enum": [
                "RAID0",
                "RAID1",
                "RAID5",
                "RAID6",
                "RAID10",
                "RAID50",
                "RAID60"
              ],
              "default": "RAID5"
            },
            "drive_count": {
              "type": "number",
              "description": "How many drives are in the array, hot spares included."
            },
            "drive_capacity_gb": {
              "type": "number",
              "description": "The capacity of one drive, in gigabytes."
            },
            "cost_per_drive": {
              "type": "number",
              "description": "What one drive costs, in whatever currency you are working in.",
              "default": 0
            },
            "spares": {
              "type": "number",
              "description": "How many of the drives are hot spares rather than data drives.",
              "default": 0
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "http-status-lookup",
        "description": "Looks up a single HTTP status code and returns its title, description, defining document, and common uses. Without a code, the table can be searched by text and narrowed to one response class instead. With no body at all, the whole table is returned.",
        "endpoint": "/api/tools/http-status-lookup",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "properties": {
            "code": {
              "type": "number",
              "description": "A single status code to look up, for example 404."
            },
            "search": {
              "type": "string",
              "description": "Text matched against the code, title, and description. Case insensitive."
            },
            "category": {
              "type": "string",
              "description": "Narrow the results to one response class.",
              "enum": [
                "all",
                "informational",
                "success",
                "redirection",
                "client-error",
                "server-error"
              ],
              "default": "all"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      },
      {
        "id": "verify",
        "description": "Recomputes the signature over a response this API produced and reports whether it matches. A successful POST to any tool here comes back with a meta.proof object holding the algorithm, the timestamp, and a signature taken over that response's data with a secret only the server holds. Send the data object back with that timestamp and that signature and this endpoint says whether the three still agree, which is how a claim that this API produced a particular output can be checked after the fact. Both sides serialize the data the same way, described under canonicalization below, so the order the keys arrive in makes no difference while the order of an array does. Nothing about the request is retained and the secret is never returned in any form.",
        "endpoint": "/api/tools/verify",
        "method": "POST",
        "auth_required": false,
        "input": {
          "type": "object",
          "required": [
            "data",
            "timestamp",
            "signature"
          ],
          "properties": {
            "data": {
              "type": "object",
              "description": "The data object from the response being checked, exactly as it arrived."
            },
            "timestamp": {
              "type": "string",
              "description": "The timestamp from the meta.proof object of that same response, in ISO 8601 form."
            },
            "signature": {
              "type": "string",
              "description": "The hexadecimal signature from the meta.proof object of that same response."
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean",
              "description": "True when the tool ran. False when the request was rejected."
            },
            "data": {
              "type": "object",
              "description": "The result of the run. Its fields differ from one tool to the next, and each one is shown in the worked example that a GET request to the same endpoint returns."
            },
            "error": {
              "type": "object",
              "description": "Present only when success is false. It carries a message, a code, and details naming the field to correct."
            },
            "meta": {
              "type": "object",
              "description": "Carries an ISO 8601 timestamp, a processing_time_ms when the run was measured, and a proof object holding an HMAC-SHA256 signature over the data when the deployment holds a signing secret. The verify tool rechecks that signature."
            }
          }
        },
        "errors": [
          {
            "code": 400,
            "description": "The request could not be used as sent. The response names the field to change, states what was expected in its place, and carries a request that works."
          },
          {
            "code": 405,
            "description": "The method is not supported here. Send GET to read the instructions, or POST with a JSON body to run the tool."
          },
          {
            "code": 429,
            "description": "Too many runs from this address. Wait for the number of seconds in the Retry-After header and send the request again."
          },
          {
            "code": 500,
            "description": "The tool could not complete this request. Nothing about the request is retained, so it can be sent again or sent with a smaller input."
          }
        ]
      }
    ],
    "groups": [
      {
        "id": "discovery",
        "name": "Discovery",
        "description": "List every tool on this API and read how to call any one of them.",
        "tools": [
          "catalog"
        ]
      },
      {
        "id": "encoding",
        "name": "Encoding and Decoding",
        "description": "Convert text between base64, hexadecimal, binary, and percent encoded form.",
        "tools": [
          "base64-encode",
          "hex-encode",
          "binary-encode",
          "url-encode"
        ]
      },
      {
        "id": "text",
        "name": "Text and Documents",
        "description": "Format, compare, search, and generate text and JSON documents.",
        "tools": [
          "json-format",
          "regex-test",
          "diff",
          "lorem"
        ]
      },
      {
        "id": "identity",
        "name": "Tokens and Identifiers",
        "description": "Inspect JSON Web Tokens and produce digests and unique identifiers.",
        "tools": [
          "jwt-decode",
          "hash",
          "uuid"
        ]
      },
      {
        "id": "time",
        "name": "Dates and Schedules",
        "description": "Convert timestamps between representations and read cron schedules.",
        "tools": [
          "timestamp-convert",
          "cron-parse"
        ]
      },
      {
        "id": "web",
        "name": "Web Reference",
        "description": "Look up reference data the web runs on, such as color values and status codes.",
        "tools": [
          "css-color-convert",
          "http-status-lookup"
        ]
      },
      {
        "id": "infrastructure",
        "name": "Network and Storage",
        "description": "Work out IPv4 subnet addressing and RAID array capacity.",
        "tools": [
          "subnet-calculate",
          "raid-calculate"
        ]
      },
      {
        "id": "provenance",
        "name": "Response Provenance",
        "description": "Check that a response really came from this API by verifying the signature it carries.",
        "tools": [
          "verify"
        ]
      }
    ]
  }
}
