code: def validate(schema):
      
      try:
          tableschema.validate(schema)
          click.echo("Schema is valid")
          sys.exit(0)
      except tableschema.exceptions.ValidationError as exception:
          click.echo("Schema is not valid")
          click.echo(exception.errors)
          sys.exit(1)
docs: Validate that a supposed schema is in fact a Table Schema.