def METHOD_NAME(self) -> dict[str, t.Any]:
    """Return the raw JSON Schema as a (possibly nested) dict.
    Returns:
        The raw JSON Schema as a (possibly nested) dict.
    """
    result = {}
    if self.properties is not None:
        result["properties"] = {k: v.METHOD_NAME() for k, v in self.properties.items()}
    if self.items is not None:
        result["items"] = self.items.METHOD_NAME()
    for key in STANDARD_KEYS:
        if self.__dict__.get(key) is not None:
            result[key] = self.__dict__[key]
    return result