Callejear Germany

Read-only German street search and context across 593,062 historical records.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
80%
Integridad del esquema
78%
Calidad de los nombres
96%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (3)

  • LOWTool 'callejear_search_municipalities' description lacks action verben callejear_search_municipalities
  • LOWTool 'callejear_get_street_context' description lacks action verben callejear_get_street_context
  • LOWTool 'callejear_search_municipalities' name length outside 3-30 rangeen callejear_search_municipalities

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~4,433Tokens (definiciones de herramientas)
~9.6 KBTamaño de respuesta típico
Impacto significativo en la atención (3.46% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "callejear-de": {
      "url": "https://callejear.de/api/mcp"
    }
  }
}

Puntos de conexión remotos

https://callejear.de/api/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (5)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢callejear_get_coverage(city_id)

Zahlen und Grenzen des historischen Katalogs aller 16 Bundesländer. Keine Garantie amtlicher Vollständigkeit, aktueller Veröffentlichung oder Indexierung.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "city_id": {
      "type": "string",
      "pattern": "^\\d{12}$"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "1.0"
    },
    "data_version": {
      "type": "string"
    },
    "calculated_at": {
      "type": "string"
    },
    "responded_at": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string"
          },
          "attribution": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "license",
          "attribution"
        ],
        "additionalProperties": false
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000
      }
    },
    "not_available": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dimension": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "dimension",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "error"
      ]
    },
    "result": {
      "type": "object",
      "properties": {
        "project": {
          "type": "string",
          "const": "Callejear Deutschland"
        },
        "documentation_url": {
          "type": "string",
          "const": "https://callejear.de/mcp/"
        },
        "street_records": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "municipality_records": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "source_street_records": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "unresolved_street_records": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "states": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "city": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^\\d{12}$"
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "state_code": {
              "type": "string",
              "pattern": "^DE-[A-Z]{2}$"
            },
            "catalog_url": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uri"
                },
                {
                  "type": "null"
                }
              ]
            },
            "street_records": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "id",
            "name",
            "state_code",
            "catalog_url",
            "street_records"
          ],
          "additionalProperties": false
        },
        "dimensions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "authentication": {
          "type": "string",
          "const": "public_anonymous"
        }
      },
      "required": [
        "project",
        "documentation_url",
        "street_records",
        "municipality_records",
        "source_street_records",
        "unresolved_street_records",
        "states",
        "dimensions",
        "authentication"
      ],
      "additionalProperties": false
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "alternatives": {
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "code",
        "message",
        "alternatives"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schema_version",
    "data_version",
    "calculated_at",
    "responded_at",
    "sources",
    "limitations",
    "not_available",
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "status": {
          "const": "ok"
        }
      },
      "required": [
        "result"
      ],
      "not": {
        "required": [
          "error"
        ]
      }
    },
    {
      "properties": {
        "status": {
          "const": "error"
        }
      },
      "required": [
        "error"
      ],
      "not": {
        "required": [
          "result"
        ]
      }
    }
  ]
}
🟢callejear_search_municipalities(query, limit, cursor)

Gemeinde nach Namen oder historischem 12-stelligem Verwaltungsschlüssel suchen. Kein amtlich validierter 8-stelliger AGS. Gleichnamige Gemeinden nach Bundesland unterscheiden.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "limit": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "1.0"
    },
    "data_version": {
      "type": "string"
    },
    "calculated_at": {
      "type": "string"
    },
    "responded_at": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string"
          },
          "attribution": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "license",
          "attribution"
        ],
        "additionalProperties": false
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000
      }
    },
    "not_available": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dimension": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "dimension",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "error"
      ]
    },
    "result": {
      "type": "object",
      "properties": {
        "municipalities": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^\\d{12}$"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "state_code": {
                "type": "string",
                "pattern": "^DE-[A-Z]{2}$"
              },
              "catalog_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "street_records": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "id",
              "name",
              "state_code",
              "catalog_url",
              "street_records"
            ],
            "additionalProperties": false
          }
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "municipalities",
        "next_cursor"
      ],
      "additionalProperties": false
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "alternatives": {
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "code",
        "message",
        "alternatives"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schema_version",
    "data_version",
    "calculated_at",
    "responded_at",
    "sources",
    "limitations",
    "not_available",
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "status": {
          "const": "ok"
        }
      },
      "required": [
        "result"
      ],
      "not": {
        "required": [
          "error"
        ]
      }
    },
    {
      "properties": {
        "status": {
          "const": "error"
        }
      },
      "required": [
        "error"
      ],
      "not": {
        "required": [
          "result"
        ]
      }
    }
  ]
}
🟢callejear_search_streets(query, limit, cursor, city_id)

Textsuche innerhalb einer Gemeinde. Historische Datensatz-ID, keine Garantie einer eindeutigen realen Straße. Kataloglinks sind nicht live geprüft.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "limit": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "cursor": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "city_id": {
      "type": "string",
      "pattern": "^\\d{12}$"
    }
  },
  "required": [
    "query",
    "city_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "1.0"
    },
    "data_version": {
      "type": "string"
    },
    "calculated_at": {
      "type": "string"
    },
    "responded_at": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string"
          },
          "attribution": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "license",
          "attribution"
        ],
        "additionalProperties": false
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000
      }
    },
    "not_available": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dimension": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "dimension",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "error"
      ]
    },
    "result": {
      "type": "object",
      "properties": {
        "streets": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^de:legacy:[a-f0-9]{12}$"
              },
              "city_id": {
                "type": "string",
                "pattern": "^\\d{12}$"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "catalog_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "point": {
                "anyOf": [
                  {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number",
                        "minimum": -90,
                        "maximum": 90
                      },
                      {
                        "type": "number",
                        "minimum": -180,
                        "maximum": 180
                      }
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reference_geometry": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "historical_catalog_centroid"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "identity_status": {
                "type": "string",
                "const": "legacy_not_independently_verified"
              },
              "source_updated_at": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "city_id",
              "name",
              "catalog_url",
              "point",
              "reference_geometry",
              "identity_status",
              "source_updated_at"
            ],
            "additionalProperties": false
          }
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "order": {
          "type": "string",
          "const": "name_then_id"
        }
      },
      "required": [
        "streets",
        "next_cursor",
        "order"
      ],
      "additionalProperties": false
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "alternatives": {
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "code",
        "message",
        "alternatives"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schema_version",
    "data_version",
    "calculated_at",
    "responded_at",
    "sources",
    "limitations",
    "not_available",
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "status": {
          "const": "ok"
        }
      },
      "required": [
        "result"
      ],
      "not": {
        "required": [
          "error"
        ]
      }
    },
    {
      "properties": {
        "status": {
          "const": "error"
        }
      },
      "required": [
        "error"
      ],
      "not": {
        "required": [
          "result"
        ]
      }
    }
  ]
}
🟢callejear_get_street_context(street_id, dimensions)

Partielle historische OSM-Beobachtungen im 500-m-Luftlinienradius des gespeicherten Mittelpunkts. Keine aktuelle Versorgungsgarantie. Null ist unbekannt, kein Nullbestand.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "street_id": {
      "type": "string",
      "pattern": "^de:legacy:[a-f0-9]{12}$"
    },
    "dimensions": {
      "minItems": 1,
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "services.supermarkets",
          "services.pharmacies",
          "services.bakeries",
          "services.cafes"
        ]
      }
    }
  },
  "required": [
    "street_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "1.0"
    },
    "data_version": {
      "type": "string"
    },
    "calculated_at": {
      "type": "string"
    },
    "responded_at": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string"
          },
          "attribution": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "license",
          "attribution"
        ],
        "additionalProperties": false
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000
      }
    },
    "not_available": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dimension": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "dimension",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "error"
      ]
    },
    "result": {
      "type": "object",
      "properties": {
        "street": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^de:legacy:[a-f0-9]{12}$"
            },
            "city_id": {
              "type": "string",
              "pattern": "^\\d{12}$"
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "catalog_url": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uri"
                },
                {
                  "type": "null"
                }
              ]
            },
            "point": {
              "anyOf": [
                {
                  "type": "array",
                  "prefixItems": [
                    {
                      "type": "number",
                      "minimum": -90,
                      "maximum": 90
                    },
                    {
                      "type": "number",
                      "minimum": -180,
                      "maximum": 180
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "reference_geometry": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "historical_catalog_centroid"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "identity_status": {
              "type": "string",
              "const": "legacy_not_independently_verified"
            },
            "source_updated_at": {
              "type": "null"
            }
          },
          "required": [
            "id",
            "city_id",
            "name",
            "catalog_url",
            "point",
            "reference_geometry",
            "identity_status",
            "source_updated_at"
          ],
          "additionalProperties": false
        },
        "metrics": {
          "maxItems": 4,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "enum": [
                  "services.supermarkets",
                  "services.pharmacies",
                  "services.bakeries",
                  "services.cafes"
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "unit": {
                "type": "string",
                "const": "observed_osm_records"
              },
              "status": {
                "type": "string",
                "enum": [
                  "partial",
                  "unavailable"
                ]
              },
              "reason": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "radius_m": {
                "type": "number",
                "const": 500
              },
              "distance_method": {
                "type": "string",
                "const": "historical_haversine"
              },
              "reference_geometry": {
                "type": "string",
                "const": "historical_catalog_centroid"
              },
              "source_refs": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "source_updated_at": {
                "type": "null"
              },
              "computed_at": {
                "type": "null"
              }
            },
            "required": [
              "key",
              "value",
              "unit",
              "status",
              "reason",
              "radius_m",
              "distance_method",
              "reference_geometry",
              "source_refs",
              "source_updated_at",
              "computed_at"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "street",
        "metrics"
      ],
      "additionalProperties": false
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "alternatives": {
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "code",
        "message",
        "alternatives"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schema_version",
    "data_version",
    "calculated_at",
    "responded_at",
    "sources",
    "limitations",
    "not_available",
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "status": {
          "const": "ok"
        }
      },
      "required": [
        "result"
      ],
      "not": {
        "required": [
          "error"
        ]
      }
    },
    {
      "properties": {
        "status": {
          "const": "error"
        }
      },
      "required": [
        "error"
      ],
      "not": {
        "required": [
          "result"
        ]
      }
    }
  ]
}
🟢callejear_compare_streets(street_ids, dimensions)

Zwei bis fünf historische Straßenkontexte nebeneinander. Wegen ungeprüfter Identität und Quelldaten keine Rangfolge oder belastbare Differenzbewertung.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "street_ids": {
      "minItems": 2,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^de:legacy:[a-f0-9]{12}$"
      }
    },
    "dimensions": {
      "minItems": 1,
      "maxItems": 4,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "services.supermarkets",
          "services.pharmacies",
          "services.bakeries",
          "services.cafes"
        ]
      }
    }
  },
  "required": [
    "street_ids"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "1.0"
    },
    "data_version": {
      "type": "string"
    },
    "calculated_at": {
      "type": "string"
    },
    "responded_at": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string"
          },
          "attribution": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "license",
          "attribution"
        ],
        "additionalProperties": false
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2000
      }
    },
    "not_available": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dimension": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "dimension",
          "reason"
        ],
        "additionalProperties": false
      }
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "error"
      ]
    },
    "result": {
      "type": "object",
      "properties": {
        "rows": {
          "minItems": 2,
          "maxItems": 5,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "street": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^de:legacy:[a-f0-9]{12}$"
                  },
                  "city_id": {
                    "type": "string",
                    "pattern": "^\\d{12}$"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "catalog_url": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "point": {
                    "anyOf": [
                      {
                        "type": "array",
                        "prefixItems": [
                          {
                            "type": "number",
                            "minimum": -90,
                            "maximum": 90
                          },
                          {
                            "type": "number",
                            "minimum": -180,
                            "maximum": 180
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "reference_geometry": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "historical_catalog_centroid"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "identity_status": {
                    "type": "string",
                    "const": "legacy_not_independently_verified"
                  },
                  "source_updated_at": {
                    "type": "null"
                  }
                },
                "required": [
                  "id",
                  "city_id",
                  "name",
                  "catalog_url",
                  "point",
                  "reference_geometry",
                  "identity_status",
                  "source_updated_at"
                ],
                "additionalProperties": false
              },
              "metrics": {
                "maxItems": 4,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "enum": [
                        "services.supermarkets",
                        "services.pharmacies",
                        "services.bakeries",
                        "services.cafes"
                      ]
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "unit": {
                      "type": "string",
                      "const": "observed_osm_records"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "partial",
                        "unavailable"
                      ]
                    },
                    "reason": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "radius_m": {
                      "type": "number",
                      "const": 500
                    },
                    "distance_method": {
                      "type": "string",
                      "const": "historical_haversine"
                    },
                    "reference_geometry": {
                      "type": "string",
                      "const": "historical_catalog_centroid"
                    },
                    "source_refs": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "source_updated_at": {
                      "type": "null"
                    },
                    "computed_at": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "key",
                    "value",
                    "unit",
                    "status",
                    "reason",
                    "radius_m",
                    "distance_method",
                    "reference_geometry",
                    "source_refs",
                    "source_updated_at",
                    "computed_at"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "street",
              "metrics"
            ],
            "additionalProperties": false
          }
        },
        "summary": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        }
      },
      "required": [
        "rows",
        "summary"
      ],
      "additionalProperties": false
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "alternatives": {
          "maxItems": 10,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "code",
        "message",
        "alternatives"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "schema_version",
    "data_version",
    "calculated_at",
    "responded_at",
    "sources",
    "limitations",
    "not_available",
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "status": {
          "const": "ok"
        }
      },
      "required": [
        "result"
      ],
      "not": {
        "required": [
          "error"
        ]
      }
    },
    {
      "properties": {
        "status": {
          "const": "error"
        }
      },
      "required": [
        "error"
      ],
      "not": {
        "required": [
          "result"
        ]
      }
    }
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada5 herramientas