func (b *BoolSchema) SetPriority(priority int) *BoolSchema {
	b.priority = priority
	return b
}
SetPriority same as AnySchema.SetPriority
package jio
import (
	"fmt"
)
func Bool() *BoolSchema {
	return &BoolSchema{
		rules: make([]func(*Context), 0, 3),
	}
}
var _ Schema = new(BoolSchema)
type BoolSchema struct {
	baseSchema
	required *bool
	rules    []func(*Context)
}