check_contractor
Looks up a contractor's public credential in indexed state and local licensing records. Licenses, registrations and bond records mean different things. Each record carries a credential object (kind, label, note): kind is license, registration, business license or bond when the source makes that clear; otherwise it is the generic "credential", and the note says what to verify with the issuing agency. The set of covered jurisdictions changes as sources are added, so this description does not list it. Inputs: a record number (license) or business name, with optional jurisdiction and exact listed
Показать схему аргументов
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "Optional exact record-city filter, case-insensitive. Filters before pagination; does not represent service area or silently drop terms."
},
"name": {
"type": "string",
"description": "Business name, e.g. \"Bayside Plumbing\""
},
"offset": {
"type": "integer",
"description": "Pagination offset into the candidates list, a whole number, default 0. Each page holds up to 20 candidates; total_candidates in a candidates result is the full count. An offset past the end returns an empty candidates list with a message saying so; a negative or fractional offset returns an error."
},
"license": {
"type": "string",
"description": "License number as printed on the license, truck, ad or contract, e.g. \"1000002\", \"CCC 1332267\", \"MHIC 123872\", \"TECL40892\""
},
"entity_id": {
"type": "string",
"description": "The exact entity.id from a previous response. It selects that one record, keeping records that share a number distinct, and overrides name and license. An id no record carries, or a jurisdiction or city that is not the record's own, returns an error that names the problem."
},
"jurisdiction": {
"type": "string",
"description": "State or local jurisdiction: a state code (\"CA\" or \"US-CA\", any case), a full state name (\"California\", \"District of Columbia\"), or a local code such as \"NYC\". A state also covers the local jurisdictions inside it that the index holds (IL includes CHI, MD includes MD-HOWARD); each record states its own jurisdiction. Coverage spans dozens of US jurisdictions; a recognized place outside coverage returns jurisdiction_not_covered, and text that names no US state or local code returns an error listing the accepted forms."
}
},
"additionalProperties": false
}