IFClite TypeScript API
    Preparing search index...

    Function validateInput

    • Never throws for a bad schema: the defect comes back as an issue at $, so a caller sees INVALID_INPUT naming the schema problem rather than a JSON-RPC internal error.

      Parameters

      • schema: JsonSchema
      • input: unknown
      • Optionaloptions: ValidateOptions

      Returns ValidationResult