code: def validate(request: Union[Dict, List], schema: dict) -> Union[Dict, List]:
      
      jsonschema_validate(request, schema)
      return request
docs: Wraps jsonschema.validate, returning the same object passed in.
  
      Args:
          request: The deserialized-from-json request.
          schema: The jsonschema schema to validate against.
  
      Raises:
          jsonschema.ValidationError