github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/depends/kit/validator/strfmt/strfmt_generated.go (about)

     1  // This is a generated source file. DO NOT EDIT
     2  // Source: strfmt/strfmt_generated.go
     3  
     4  package strfmt
     5  
     6  import "github.com/machinefi/w3bstream/pkg/depends/kit/validator"
     7  
     8  func init() {
     9  	validator.DefaultFactory.Register(ASCIIValidator)
    10  }
    11  
    12  var ASCIIValidator = validator.NewRegexpStrfmtValidator(regexpStringASCII, "ascii")
    13  
    14  func init() {
    15  	validator.DefaultFactory.Register(AlphaValidator)
    16  }
    17  
    18  var AlphaValidator = validator.NewRegexpStrfmtValidator(regexpStringAlpha, "alpha")
    19  
    20  func init() {
    21  	validator.DefaultFactory.Register(AlphaNumericValidator)
    22  }
    23  
    24  var AlphaNumericValidator = validator.NewRegexpStrfmtValidator(regexpStringAlphaNumeric, "alpha-numeric", "alphaNumeric")
    25  
    26  func init() {
    27  	validator.DefaultFactory.Register(AlphaUnicodeValidator)
    28  }
    29  
    30  var AlphaUnicodeValidator = validator.NewRegexpStrfmtValidator(regexpStringAlphaUnicode, "alpha-unicode", "alphaUnicode")
    31  
    32  func init() {
    33  	validator.DefaultFactory.Register(AlphaUnicodeNumericValidator)
    34  }
    35  
    36  var AlphaUnicodeNumericValidator = validator.NewRegexpStrfmtValidator(regexpStringAlphaUnicodeNumeric, "alpha-unicode-numeric", "alphaUnicodeNumeric")
    37  
    38  func init() {
    39  	validator.DefaultFactory.Register(Base64Validator)
    40  }
    41  
    42  var Base64Validator = validator.NewRegexpStrfmtValidator(regexpStringBase64, "base-64", "base64")
    43  
    44  func init() {
    45  	validator.DefaultFactory.Register(Base64URLValidator)
    46  }
    47  
    48  var Base64URLValidator = validator.NewRegexpStrfmtValidator(regexpStringBase64URL, "base-64-url", "base64Url")
    49  
    50  func init() {
    51  	validator.DefaultFactory.Register(BtcAddressValidator)
    52  }
    53  
    54  var BtcAddressValidator = validator.NewRegexpStrfmtValidator(regexpStringBtcAddress, "btc-address", "btcAddress")
    55  
    56  func init() {
    57  	validator.DefaultFactory.Register(BtcAddressLowerBech32Validator)
    58  }
    59  
    60  var BtcAddressLowerBech32Validator = validator.NewRegexpStrfmtValidator(regexpStringBtcAddressLowerBech32, "btc-address-lower-bech-32", "btcAddressLowerBech32")
    61  
    62  func init() {
    63  	validator.DefaultFactory.Register(BtcAddressUpperBech32Validator)
    64  }
    65  
    66  var BtcAddressUpperBech32Validator = validator.NewRegexpStrfmtValidator(regexpStringBtcAddressUpperBech32, "btc-address-upper-bech-32", "btcAddressUpperBech32")
    67  
    68  func init() {
    69  	validator.DefaultFactory.Register(DataURIValidator)
    70  }
    71  
    72  var DataURIValidator = validator.NewRegexpStrfmtValidator(regexpStringDataURI, "data-uri", "dataUri")
    73  
    74  func init() {
    75  	validator.DefaultFactory.Register(E164Validator)
    76  }
    77  
    78  var E164Validator = validator.NewRegexpStrfmtValidator(regexpStringE164, "e-164", "e164")
    79  
    80  func init() {
    81  	validator.DefaultFactory.Register(EmailValidator)
    82  }
    83  
    84  var EmailValidator = validator.NewRegexpStrfmtValidator(regexpStringEmail, "email")
    85  
    86  func init() {
    87  	validator.DefaultFactory.Register(EthAddressValidator)
    88  }
    89  
    90  var EthAddressValidator = validator.NewRegexpStrfmtValidator(regexpStringEthAddress, "eth-address", "ethAddress")
    91  
    92  func init() {
    93  	validator.DefaultFactory.Register(EthAddressLowerValidator)
    94  }
    95  
    96  var EthAddressLowerValidator = validator.NewRegexpStrfmtValidator(regexpStringEthAddressLower, "eth-address-lower", "ethAddressLower")
    97  
    98  func init() {
    99  	validator.DefaultFactory.Register(EthAddressUpperValidator)
   100  }
   101  
   102  var EthAddressUpperValidator = validator.NewRegexpStrfmtValidator(regexpStringEthAddressUpper, "eth-address-upper", "ethAddressUpper")
   103  
   104  func init() {
   105  	validator.DefaultFactory.Register(HslValidator)
   106  }
   107  
   108  var HslValidator = validator.NewRegexpStrfmtValidator(regexpStringHSL, "hsl")
   109  
   110  func init() {
   111  	validator.DefaultFactory.Register(HslaValidator)
   112  }
   113  
   114  var HslaValidator = validator.NewRegexpStrfmtValidator(regexpStringHSLA, "hsla")
   115  
   116  func init() {
   117  	validator.DefaultFactory.Register(HTMLValidator)
   118  }
   119  
   120  var HTMLValidator = validator.NewRegexpStrfmtValidator(regexpStringHTML, "html")
   121  
   122  func init() {
   123  	validator.DefaultFactory.Register(HTMLEncodedValidator)
   124  }
   125  
   126  var HTMLEncodedValidator = validator.NewRegexpStrfmtValidator(regexpStringHTMLEncoded, "html-encoded", "htmlEncoded")
   127  
   128  func init() {
   129  	validator.DefaultFactory.Register(HexColorValidator)
   130  }
   131  
   132  var HexColorValidator = validator.NewRegexpStrfmtValidator(regexpStringHexColor, "hex-color", "hexColor")
   133  
   134  func init() {
   135  	validator.DefaultFactory.Register(HexadecimalValidator)
   136  }
   137  
   138  var HexadecimalValidator = validator.NewRegexpStrfmtValidator(regexpStringHexadecimal, "hexadecimal")
   139  
   140  func init() {
   141  	validator.DefaultFactory.Register(HostnameRfc1123Validator)
   142  }
   143  
   144  var HostnameRfc1123Validator = validator.NewRegexpStrfmtValidator(regexpStringHostnameRFC1123, "hostname-rfc-1123", "hostnameRfc1123")
   145  
   146  func init() {
   147  	validator.DefaultFactory.Register(HostnameRfc952Validator)
   148  }
   149  
   150  var HostnameRfc952Validator = validator.NewRegexpStrfmtValidator(regexpStringHostnameRFC952, "hostname-rfc-952", "hostnameRfc952")
   151  
   152  func init() {
   153  	validator.DefaultFactory.Register(Isbn10Validator)
   154  }
   155  
   156  var Isbn10Validator = validator.NewRegexpStrfmtValidator(regexpStringISBN10, "isbn-10", "isbn10")
   157  
   158  func init() {
   159  	validator.DefaultFactory.Register(Isbn13Validator)
   160  }
   161  
   162  var Isbn13Validator = validator.NewRegexpStrfmtValidator(regexpStringISBN13, "isbn-13", "isbn13")
   163  
   164  func init() {
   165  	validator.DefaultFactory.Register(LatitudeValidator)
   166  }
   167  
   168  var LatitudeValidator = validator.NewRegexpStrfmtValidator(regexpStringLatitude, "latitude")
   169  
   170  func init() {
   171  	validator.DefaultFactory.Register(LongitudeValidator)
   172  }
   173  
   174  var LongitudeValidator = validator.NewRegexpStrfmtValidator(regexpStringLongitude, "longitude")
   175  
   176  func init() {
   177  	validator.DefaultFactory.Register(MultibyteValidator)
   178  }
   179  
   180  var MultibyteValidator = validator.NewRegexpStrfmtValidator(regexpStringMultibyte, "multibyte")
   181  
   182  func init() {
   183  	validator.DefaultFactory.Register(NumberValidator)
   184  }
   185  
   186  var NumberValidator = validator.NewRegexpStrfmtValidator(regexpStringNumber, "number")
   187  
   188  func init() {
   189  	validator.DefaultFactory.Register(NumericValidator)
   190  }
   191  
   192  var NumericValidator = validator.NewRegexpStrfmtValidator(regexpStringNumeric, "numeric")
   193  
   194  func init() {
   195  	validator.DefaultFactory.Register(PrintableASCIIValidator)
   196  }
   197  
   198  var PrintableASCIIValidator = validator.NewRegexpStrfmtValidator(regexpStringPrintableASCII, "printable-ascii", "printableAscii")
   199  
   200  func init() {
   201  	validator.DefaultFactory.Register(RgbValidator)
   202  }
   203  
   204  var RgbValidator = validator.NewRegexpStrfmtValidator(regexpStringRGB, "rgb")
   205  
   206  func init() {
   207  	validator.DefaultFactory.Register(RgbaValidator)
   208  }
   209  
   210  var RgbaValidator = validator.NewRegexpStrfmtValidator(regexpStringRGBA, "rgba")
   211  
   212  func init() {
   213  	validator.DefaultFactory.Register(SsnValidator)
   214  }
   215  
   216  var SsnValidator = validator.NewRegexpStrfmtValidator(regexpStringSSN, "ssn")
   217  
   218  func init() {
   219  	validator.DefaultFactory.Register(URLValidator)
   220  }
   221  
   222  var URLValidator = validator.NewRegexpStrfmtValidator(regexpStringURL, "url")
   223  
   224  func init() {
   225  	validator.DefaultFactory.Register(URLEncodedValidator)
   226  }
   227  
   228  var URLEncodedValidator = validator.NewRegexpStrfmtValidator(regexpStringURLEncoded, "url-encoded", "urlEncoded")
   229  
   230  func init() {
   231  	validator.DefaultFactory.Register(UUIDValidator)
   232  }
   233  
   234  var UUIDValidator = validator.NewRegexpStrfmtValidator(regexpStringUUID, "uuid")
   235  
   236  func init() {
   237  	validator.DefaultFactory.Register(UUID3Validator)
   238  }
   239  
   240  var UUID3Validator = validator.NewRegexpStrfmtValidator(regexpStringUUID3, "uuid-3", "uuid3")
   241  
   242  func init() {
   243  	validator.DefaultFactory.Register(UUID3Rfc4122Validator)
   244  }
   245  
   246  var UUID3Rfc4122Validator = validator.NewRegexpStrfmtValidator(regexpStringUUID3RFC4122, "uuid-3-rfc-4122", "uuid3Rfc4122")
   247  
   248  func init() {
   249  	validator.DefaultFactory.Register(UUID4Validator)
   250  }
   251  
   252  var UUID4Validator = validator.NewRegexpStrfmtValidator(regexpStringUUID4, "uuid-4", "uuid4")
   253  
   254  func init() {
   255  	validator.DefaultFactory.Register(UUID4Rfc4122Validator)
   256  }
   257  
   258  var UUID4Rfc4122Validator = validator.NewRegexpStrfmtValidator(regexpStringUUID4RFC4122, "uuid-4-rfc-4122", "uuid4Rfc4122")
   259  
   260  func init() {
   261  	validator.DefaultFactory.Register(UUID5Validator)
   262  }
   263  
   264  var UUID5Validator = validator.NewRegexpStrfmtValidator(regexpStringUUID5, "uuid-5", "uuid5")
   265  
   266  func init() {
   267  	validator.DefaultFactory.Register(UUID5Rfc4122Validator)
   268  }
   269  
   270  var UUID5Rfc4122Validator = validator.NewRegexpStrfmtValidator(regexpStringUUID5RFC4122, "uuid-5-rfc-4122", "uuid5Rfc4122")
   271  
   272  func init() {
   273  	validator.DefaultFactory.Register(Uuidrfc4122Validator)
   274  }
   275  
   276  var Uuidrfc4122Validator = validator.NewRegexpStrfmtValidator(regexpStringUUIDRFC4122, "uuidrfc-4122", "uuidrfc4122")