Zaptu · Schema

ServiceRequest

A structured home-service request from an AI agent or the website form.

Home ServicesMarketplaceConsumer PlatformService RequestsAI Integration

Properties

Name Type Description
service_type string Kind of service the customer needs.
zip_code string US 5-digit ZIP code where the work will happen.
city object City name, if known.
state object Two-letter US state code, if known.
address_line object Street address. Optional at intake; required by some buyers later.
bedrooms object
bathrooms object
square_feet object
home_type object
frequency string
preferred_date object Preferred service date (YYYY-MM-DD).
flexible_dates boolean
notes object
customer_name string
customer_phone string US phone number. Digits, dashes, or +1 are accepted.
customer_email object
consent_to_contact boolean True if the customer consented to be called or texted about this request (TCPA). This includes sharing details with Polyares and its service-provider partners.
source_agent object Agent or product that originated the request, e.g. muse.
consent_source_page object Optional page/path where consent was collected, e.g. /pest-control/phoenix-az/. Server falls back to source_agent.
View JSON Schema on GitHub

JSON Schema

zaptu-ai-service-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zaptu-ai/json-schema/zaptu-ai-service-request-schema.json",
  "title": "ServiceRequest",
  "description": "A structured home-service request from an AI agent or the website form.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zaptu-ai-openapi.json#/components/schemas/ServiceRequest",
  "properties": {
    "service_type": {
      "description": "Kind of service the customer needs.",
      "enum": [
        "house_cleaning",
        "deep_cleaning",
        "move_in_out_cleaning",
        "recurring_cleaning",
        "pest_control",
        "garage_door",
        "plumbing",
        "hvac",
        "handyman",
        "other"
      ],
      "title": "Service Type",
      "type": "string"
    },
    "zip_code": {
      "description": "US 5-digit ZIP code where the work will happen.",
      "title": "Zip Code",
      "type": "string"
    },
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "City name, if known.",
      "title": "City"
    },
    "state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Two-letter US state code, if known.",
      "title": "State"
    },
    "address_line": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Street address. Optional at intake; required by some buyers later.",
      "title": "Address Line"
    },
    "bedrooms": {
      "anyOf": [
        {
          "maximum": 20,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Bedrooms"
    },
    "bathrooms": {
      "anyOf": [
        {
          "maximum": 20,
          "minimum": 0,
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Bathrooms"
    },
    "square_feet": {
      "anyOf": [
        {
          "maximum": 50000,
          "minimum": 100,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Square Feet"
    },
    "home_type": {
      "anyOf": [
        {
          "enum": [
            "apartment",
            "condo",
            "townhouse",
            "single_family",
            "other"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Home Type"
    },
    "frequency": {
      "default": "one_time",
      "enum": [
        "one_time",
        "weekly",
        "biweekly",
        "monthly"
      ],
      "title": "Frequency",
      "type": "string"
    },
    "preferred_date": {
      "anyOf": [
        {
          "format": "date",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Preferred service date (YYYY-MM-DD).",
      "title": "Preferred Date"
    },
    "flexible_dates": {
      "default": true,
      "title": "Flexible Dates",
      "type": "boolean"
    },
    "notes": {
      "anyOf": [
        {
          "maxLength": 2000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Notes"
    },
    "customer_name": {
      "maxLength": 120,
      "minLength": 2,
      "title": "Customer Name",
      "type": "string"
    },
    "customer_phone": {
      "description": "US phone number. Digits, dashes, or +1 are accepted.",
      "title": "Customer Phone",
      "type": "string"
    },
    "customer_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Customer Email"
    },
    "consent_to_contact": {
      "description": "True if the customer consented to be called or texted about this request (TCPA). This includes sharing details with Polyares and its service-provider partners.",
      "title": "Consent To Contact",
      "type": "boolean"
    },
    "source_agent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Agent or product that originated the request, e.g. muse.",
      "title": "Source Agent"
    },
    "consent_source_page": {
      "anyOf": [
        {
          "maxLength": 500,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional page/path where consent was collected, e.g. /pest-control/phoenix-az/. Server falls back to source_agent.",
      "title": "Consent Source Page"
    }
  },
  "required": [
    "service_type",
    "zip_code",
    "customer_name",
    "customer_phone",
    "consent_to_contact"
  ],
  "type": "object"
}

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for schemas

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

Call it yourself

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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