• Validates if a JSON schema validates only strings. May return false negatives in some edge cases (like recursive or unresolvable refs).

    Parameters

    • schema: unknown

      The schema to validate.

    Returns boolean

    true if the schema validates only strings, false otherwise.