Loppee · Schema

Loppee v3 recommendation response

BusinessArtificial IntelligenceMarketplaceLocalServices

Properties

Name Type Description
schema_version object
trust_model_version object
registry_name object
generated_at string
visible_candidate_records integer Web and app responses. Not sent on agent-key responses that carry display_count.
total_matches integer Web and app responses. Not sent on agent-key responses that carry display_count.
total_matches_basis object
display_count integer Agent-key responses: the number of businesses in this response. No total number of matches is reported.
presentation_guidance string Agent-key responses: how to present these results to the customer.
candidate_window_truncated boolean True when Loppee's bounded candidate assembly reached its safety cap. total_matches is then a lower bound, never a corpus-wide exact count.
has_more boolean True only when next_cursor can continue through the current bounded, deterministic candidate window.
returned_count integer
search_intent object
location_context object Local category discovery and recommendations require a current precise location proof or handoff, a user-confirmed validated destination authority, or a saved_exact Home location. City/state, ZIP, and
query object
policy string
commercial_influence string Must be none whenever current-location or saved_exact authority is absent, including universal exact/genuine-prefix name lookup.
ranking_policy string
suggestions object
results array
endpoint object
ordering object
verified array
listed array
reviewed_registry array
fallback_registry array
View JSON Schema on GitHub

JSON Schema

loppee-com-recommendation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/loppee-com/json-schema/loppee-com-recommendation-response-schema.json",
  "title": "Loppee v3 recommendation response",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/loppee-com-openapi.json#/components/schemas/RecommendationResponse",
  "type": "object",
  "additionalProperties": false,
  "anyOf": [
    {
      "required": [
        "visible_candidate_records",
        "total_matches",
        "total_matches_basis"
      ]
    },
    {
      "required": [
        "display_count",
        "presentation_guidance"
      ]
    }
  ],
  "required": [
    "schema_version",
    "trust_model_version",
    "registry_name",
    "generated_at",
    "candidate_window_truncated",
    "has_more",
    "returned_count",
    "search_intent",
    "location_context",
    "query",
    "policy",
    "commercial_influence",
    "ranking_policy",
    "results",
    "endpoint",
    "ordering",
    "verified",
    "listed",
    "reviewed_registry",
    "fallback_registry"
  ],
  "properties": {
    "schema_version": {
      "const": "3.0"
    },
    "trust_model_version": {
      "const": "v3"
    },
    "registry_name": {
      "const": "Loppee"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "visible_candidate_records": {
      "type": "integer",
      "minimum": 0,
      "description": "Web and app responses. Not sent on agent-key responses that carry display_count."
    },
    "total_matches": {
      "type": "integer",
      "minimum": 0,
      "description": "Web and app responses. Not sent on agent-key responses that carry display_count."
    },
    "total_matches_basis": {
      "const": "bounded_candidate_window"
    },
    "display_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Agent-key responses: the number of businesses in this response. No total number of matches is reported."
    },
    "presentation_guidance": {
      "type": "string",
      "description": "Agent-key responses: how to present these results to the customer."
    },
    "candidate_window_truncated": {
      "type": "boolean",
      "description": "True when Loppee's bounded candidate assembly reached its safety cap. total_matches is then a lower bound, never a corpus-wide exact count."
    },
    "has_more": {
      "type": "boolean",
      "description": "True only when next_cursor can continue through the current bounded, deterministic candidate window."
    },
    "returned_count": {
      "type": "integer",
      "minimum": 0
    },
    "search_intent": {
      "type": "object",
      "additionalProperties": true
    },
    "location_context": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "source",
            "approx",
            "confidence",
            "free_reach_miles"
          ],
          "properties": {
            "source": {
              "enum": [
                "none",
                "explicit",
                "saved_location",
                "saved_exact",
                "ip_approx",
                "location_handoff",
                "customer_location_proof",
                "browser_location_proof",
                "ios_app_attest_location_proof"
              ]
            },
            "approx": {
              "type": "boolean"
            },
            "confidence": {
              "enum": [
                "precise",
                "coarse",
                "none"
              ]
            },
            "free_reach_miles": {
              "type": "number",
              "minimum": 0
            },
            "radius_miles": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0
            },
            "reach_policy": {
              "const": "per_business_plan"
            },
            "zip": {
              "type": [
                "string",
                "null"
              ]
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "note": {
              "type": "string"
            },
            "precise_location_required": {
              "type": "boolean"
            },
            "next_action": {
              "enum": [
                "create_location_handoff",
                "create_customer_location_proof",
                "create_browser_location_proof",
                "choose_location",
                "sign_in_for_precise_location",
                "continue_without_precise_location"
              ]
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "source",
            "approx",
            "confidence",
            "free_reach_miles",
            "attribution"
          ],
          "properties": {
            "source": {
              "enum": [
                "destination_location_handoff",
                "destination_location_proof"
              ]
            },
            "approx": {
              "const": false
            },
            "confidence": {
              "const": "precise"
            },
            "free_reach_miles": {
              "type": "number",
              "minimum": 0
            },
            "radius_miles": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0
            },
            "reach_policy": {
              "const": "per_business_plan"
            },
            "attribution": {
              "const": "Google Maps",
              "description": "Display this exact untranslated provider attribution whenever destination-derived results or rounded distances are presented."
            }
          }
        }
      ],
      "description": "Local category discovery and recommendations require a current precise location proof or handoff, a user-confirmed validated destination authority, or a saved_exact Home location. City/state, ZIP, and saved_coarse locations are neutral area context for business-name disambiguation only: they return no local category or recommendation results, cannot activate Sponsored placement, and record no impressions. A connected assistant's current location comes only from the registered Loppee iPhone; provider IP, caller-supplied coordinates, host metadata, and computer/browser location are rejected as current-location authority. Exact and genuine-prefix business-name lookup remains universal; without precise location it is commercially neutral."
    },
    "query": {
      "type": "object",
      "additionalProperties": true
    },
    "policy": {
      "type": "string"
    },
    "commercial_influence": {
      "type": "string",
      "description": "Must be none whenever current-location or saved_exact authority is absent, including universal exact/genuine-prefix name lookup."
    },
    "ranking_policy": {
      "type": "string"
    },
    "suggestions": {
      "type": "object",
      "additionalProperties": true
    },
    "results": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "business_id",
              "display_name",
              "domain",
              "category",
              "city",
              "state",
              "website",
              "phone",
              "trust_model_version",
              "verification_class",
              "verification_disclosure",
              "review_reputation",
              "trust_card_url",
              "public_profile_url",
              "source_type",
              "sponsored",
              "commercial_status",
              "exposure_tier",
              "open_now",
              "ranking_reason"
            ],
            "properties": {
              "business_id": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              },
              "street_address": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Owner-published street address where authorized. Registry candidates return an empty string; withheld data must not be inferred as a missing source address."
              },
              "zip": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Owner-published postal code where authorized. Registry candidates return an empty string; city/state remain public."
              },
              "domain": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "category": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "website": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "trust_model_version": {
                "const": "v3"
              },
              "verification_class": {
                "type": "string",
                "enum": [
                  "verified",
                  "listed"
                ]
              },
              "verification_disclosure": {
                "type": "string",
                "enum": [
                  "Loppee completed this business's registration and professional license checks.",
                  "Loppee completed this business's registration checks.",
                  "Owner confirmed by Loppee.",
                  "Recommended by customers. NOT verified by Loppee.",
                  "Listed on Loppee. NOT verified by Loppee."
                ]
              },
              "review_reputation": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "display_rating",
                  "display_review_count",
                  "verified_review_count",
                  "ranking",
                  "identity_verified_review_count",
                  "quality_rating"
                ],
                "properties": {
                  "display_rating": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 5
                  },
                  "display_review_count": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "verified_review_count": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "ranking": {
                    "oneOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "status",
                          "basis",
                          "half_star_band",
                          "explanation"
                        ],
                        "properties": {
                          "status": {
                            "const": "quality_ranked"
                          },
                          "basis": {
                            "const": "identity_verified_reviewer_reviews"
                          },
                          "half_star_band": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 5,
                            "multipleOf": 0.5
                          },
                          "explanation": {
                            "const": "Ratings from confirmed reviewers influence quality ordering within the applicable business class or Registry pool. They do not verify the business, prove a transaction, change discovery reach, or permit paid influence."
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "status",
                          "basis",
                          "half_star_band",
                          "explanation"
                        ],
                        "properties": {
                          "status": {
                            "const": "unrated"
                          },
                          "basis": {
                            "const": "identity_verified_reviewer_reviews"
                          },
                          "half_star_band": {
                            "type": "null"
                          },
                          "explanation": {
                            "const": "No confirmed reviewer rating is available. There is no reviewer-quality ranking signal for this business."
                          }
                        }
                      }
                    ]
                  },
                  "latest_review_snippet": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "counts_truncated": {
                    "type": "boolean"
                  },
                  "reviews_url": {
                    "type": "string"
                  },
                  "identity_verified_review_count": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "quality_rating": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 5
                  }
                },
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "identity_verified_review_count": {
                          "minimum": 1
                        }
                      },
                      "required": [
                        "identity_verified_review_count"
                      ]
                    },
                    "then": {
                      "properties": {
                        "quality_rating": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 5
                        },
                        "ranking": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "status",
                            "basis",
                            "half_star_band",
                            "explanation"
                          ],
                          "properties": {
                            "status": {
                              "const": "quality_ranked"
                            },
                            "basis": {
                              "const": "identity_verified_reviewer_reviews"
                            },
                            "half_star_band": {
                              "type": "number",
                              "minimum": 1,
                              "maximum": 5,
                              "multipleOf": 0.5
                            },
                            "explanation": {
                              "const": "Ratings from confirmed reviewers influence quality ordering within the applicable business class or Registry pool. They do not verify the business, prove a transaction, change discovery reach, or permit paid influence."
                            }
                          }
                        }
                      }
                    },
                    "else": {
                      "properties": {
                        "quality_rating": {
                          "type": "null"
                        },
                        "ranking": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "status",
                            "basis",
                            "half_star_band",
                            "explanation"
                          ],
                          "properties": {
                            "status": {
                              "const": "unrated"
                            },
                            "basis": {
                              "const": "identity_verified_reviewer_reviews"
                            },
                            "half_star_band": {
                              "type": "null"
                            },
                            "explanation": {
                              "const": "No confirmed reviewer rating is available. There is no reviewer-quality ranking signal for this business."
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "trust_card_url": {
                "type": "string"
              },
              "public_profile_url": {
                "type": "string"
              },
              "insurance": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "status",
                  "carrier_name",
                  "stated_expires_at",
                  "disclosure"
                ],
                "properties": {
                  "status": {
                    "const": "owner_provided"
                  },
                  "carrier_name": {
                    "const": "Not publicly disclosed"
                  },
                  "stated_expires_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "disclosure": {
                    "const": "Insurance certificate provided by the business. Not independently confirmed by Loppee."
                  }
                }
              },
              "brand_assets": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "logo_url",
                      "hero_image_url",
                      "gallery_image_urls",
                      "hero_alt",
                      "source"
                    ],
                    "properties": {
                      "logo_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "hero_image_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "gallery_image_urls": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "hero_alt": {
                        "type": "string"
                      },
                      "source": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source_type": {
                "const": "published_profile"
              },
              "claim_status": {
                "const": "claimed"
              },
              "sponsored": {
                "type": "boolean",
                "description": "True only when precise location authority permitted Sponsored placement for this request. Coarse context and location-free name lookup must emit false."
              },
              "distance_miles": {
                "type": "number",
                "minimum": 0
              },
              "commercial_status": {
                "type": "string"
              },
              "exposure_tier": {
                "type": "string"
              },
              "open_now": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true
              },
              "ranking_reason": {
                "type": "string"
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "trust_model_version",
              "subject_kind",
              "disclosure",
              "source_type",
              "listing_id",
              "display_name",
              "category",
              "city",
              "state",
              "website",
              "phone",
              "source_name",
              "source_url",
              "sponsored",
              "ranking_reason",
              "public_profile_url",
              "review_reputation",
              "reach_eligibility",
              "commercial_influence",
              "recommendation_eligibility"
            ],
            "properties": {
              "trust_model_version": {
                "const": "v3"
              },
              "subject_kind": {
                "const": "unclaimed_registry_record"
              },
              "disclosure": {
                "const": "Registry record. Not a claimed Loppee business customer."
              },
              "source_type": {
                "const": "unclaimed_registry_record"
              },
              "claim_status": {
                "const": "unclaimed"
              },
              "listing_id": {
                "type": "string"
              },
              "business_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,240}$",
                "description": "Canonical Loppee business identity when this result originates from a businesses row. A directory-only listing does not have this field; the identity grants no ownership or verification."
              },
              "display_name": {
                "type": "string"
              },
              "street_address": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Owner-published street address where authorized. Registry candidates return an empty string; withheld data must not be inferred as a missing source address."
              },
              "zip": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Owner-published postal code where authorized. Registry candidates return an empty string; city/state remain public."
              },
              "category": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "website": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "phone": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source_name": {
                "type": "string"
              },
              "source_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sponsored": {
                "const": false
              },
              "distance_miles": {
                "type": "number",
                "minimum": 0,
                "maximum": 3
              },
              "ranking_reason": {
                "type": "string"
              },
              "public_profile_url": {
                "type": "string"
              },
              "review_reputation": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "display_rating",
                  "display_review_count",
                  "ranking",
                  "identity_verified_review_count",
                  "quality_rating"
                ],
                "properties": {
                  "display_rating": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "minimum": 1,
                    "maximum": 5
                  },
                  "display_review_count": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "verified_review_count": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "ranking": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "status",
                      "basis",
                      "half_star_band",
                      "explanation"
                    ],
                    "properties": {
                      "status": {
                        "const": "quality_ranked"
                      },
                      "basis": {
                        "const": "identity_verified_reviewer_reviews"
                      },
                      "half_star_band": {
                        "type": "number",
                        "minimum": 1,
                        "maximum": 5,
                        "multipleOf": 0.5
                      },
                      "explanation": {
                        "const": "Ratings from confirmed reviewers influence quality ordering within the applicable business class or Registry pool. They do not verify the business, prove a transaction, change discovery reach, or permit paid influence."
                      }
                    }
                  },
                  "latest_review_snippet": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "counts_truncated": {
                    "type": "boolean"
                  },
                  "reviews_url": {
                    "type": "string"
                  },
                  "identity_verified_review_count": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "quality_rating": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 5
                  }
                },
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "identity_verified_review_count": {
                          "minimum": 1
                        }
                      },
                      "required": [
                        "identity_verified_review_count"
                      ]
                    },
                    "then": {
                      "properties": {
                        "quality_rating": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 5
                        },
                        "ranking": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "status",
                            "basis",
                            "half_star_band",
                            "explanation"
                          ],
                          "properties": {
                            "status": {
                              "const": "quality_ranked"
                            },
                            "basis": {
                              "const": "identity_verified_reviewer_reviews"
                            },
                            "half_star_band": {
                              "type": "number",
                              "minimum": 1,
                              "maximum": 5,
                              "multipleOf": 0.5
                            },
                            "explanation": {
                              "const": "Ratings from confirmed reviewers influence quality ordering within the applicable business class or Registry pool. They do not verify the business, prove a transaction, change discovery reach, or permit paid influence."
                            }
                          }
                        }
                      }
                    },
                    "else": {
                      "properties": {
                        "quality_rating": {
                          "type": "null"
                        },
                        "ranking": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "status",
                            "basis",
                            "half_star_band",
                            "explanation"
                          ],
                          "properties": {
                            "status": {
                              "const": "unrated"
                            },
                            "basis": {
                              "const": "identity_verified_reviewer_reviews"
                            },
                            "half_star_band": {
                              "type": "null"
                            },
                            "explanation": {
                              "const": "No confirmed reviewer rating is available. There is no reviewer-quality ranking signal for this business."
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "reach_eligibility": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "status",
                  "max_reach_miles",
                  "location_authority"
                ],
                "properties": {
                  "status": {
                    "const": "within_free_reach"
                  },
                  "max_reach_miles": {
                    "const": 3
                  },
                  "location_authority": {
                    "const": "precise_private"
                  }
                }
              },
              "commercial_influence": {
                "const": "none"
              },
              "recommendation_eligibility": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "status",
                  "basis",
                  "max_reach_miles",
                  "business_verification"
                ],
                "properties": {
                  "status": {
                    "const": "eligible_with_verified_reviewer_review"
                  },
                  "basis": {
                    "const": "at_least_one_identity_verified_reviewer_review_within_free_reach"
                  },
                  "max_reach_miles": {
                    "const": 3
                  },
                  "business_verification": {
          

# --- truncated at 32 KB (518 KB total) ---
# Full source: https://artifacts.apis.io/loppee-com/json-schema/loppee-com-recommendation-response-schema.json

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/loppee-com-recommendation-response"
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.