{"id":37050227,"url":"https://github.com/renanaragao/fluentvalidation-extensions","last_synced_at":"2026-01-14T05:49:38.325Z","repository":{"id":41995699,"uuid":"344840195","full_name":"renanaragao/fluentvalidation-extensions","owner":"renanaragao","description":"Pacote de validations Built-In para Fluentvalidation","archived":false,"fork":false,"pushed_at":"2023-03-10T14:03:44.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T22:56:28.954Z","etag":null,"topics":["cellphone-validator","cep-validator","cnpj-validator","cpf-validador","emails-validator","fluentvalidation","integer-validator","ip-validator","phone-validator","unique-list","uri-validator"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renanaragao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-05T14:44:23.000Z","updated_at":"2024-11-11T11:25:46.000Z","dependencies_parsed_at":"2022-07-07T16:27:26.872Z","dependency_job_id":null,"html_url":"https://github.com/renanaragao/fluentvalidation-extensions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renanaragao/fluentvalidation-extensions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanaragao%2Ffluentvalidation-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanaragao%2Ffluentvalidation-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanaragao%2Ffluentvalidation-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanaragao%2Ffluentvalidation-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renanaragao","download_url":"https://codeload.github.com/renanaragao/fluentvalidation-extensions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanaragao%2Ffluentvalidation-extensions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28411549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cellphone-validator","cep-validator","cnpj-validator","cpf-validador","emails-validator","fluentvalidation","integer-validator","ip-validator","phone-validator","unique-list","uri-validator"],"created_at":"2026-01-14T05:49:37.694Z","updated_at":"2026-01-14T05:49:38.318Z","avatar_url":"https://github.com/renanaragao.png","language":"C#","readme":"# FluentvalidationBR.Extensions#\n\nBuilt-In validation package for Fluentvalidation\n\n### How to install with Nuget ?\n```\ndotnet add package FluentvalidationBR.Extensions\n```\n\n### What is this repository for? ###\n\nThis package aims to extend some built-in validations that we already have in fluent validations.\n\nFor now we have:\n\n - CnpjValidator\n - CpfValidator\n - IntegerValidator\n - UriValidator\n - CellPhoneValidator\n - PhoneValidator\n - CepValidator\n - IpValidator\n - IsUnique\n - EmailsValidator - Validate one or more separate emails with ';'\n\n### How do I use it? ###\n\n```.cs\nclass SampleValidator : AbstractValidator\u003cSample\u003e\n{\n      public SampleValidator()\n      {\n          RuleFor(x =\u003e x.CellPhone).CellPhone();\n          RuleFor(x =\u003e x.Number).Integer();\n          RuleFor(x =\u003e x.Site).Uri();\n          RuleFor(x =\u003e x.Cpf).Cpf();\n          RuleFor(x =\u003e x.Cnpj).Cnpj();\n          RuleFor(x =\u003e x.Cep).Cep();\n          RuleFor(x =\u003e x.Phone).Phone();\n          RuleFor(x =\u003e x.Ip).Ip();\n          RuleFor(x =\u003e x.Items).IsUnique(x =\u003e x.Id);\n          RuleFor(x =\u003e x.Items).IsUnique(x =\u003e x.ItemsB, x =\u003e x.Id);\n          RuleFor(x =\u003e x.Codes).IsUnique();\n          RuleFor(x =\u003e x.Emails).Emails(); //Validate one or more separate emails with ';'\n      }\n}\n\nclass Sample\n{\n     public string Site { get; set; }\n     public string Number { get; set; }\n     public string Cpf { get; set; }\n     public string Cnpj { get; set; }\n     public string CellPhone { get; set; }\n     public string Phone { get; set; }\n     public string Cep { get; set; }\n     public string Ip { get; set; }\n     public string Emails { get; set; }\n     public IEnumerable\u003cstring\u003e Codes { get; set; }\n     public IEnumerable\u003cItem\u003e Items { get; set; }\n     public IEnumerable\u003cItem\u003e ItemsA { get; set; }\n\n}\n\nclass Item \n{\n    public int Id { get; set; }\n}\n\n ```\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanaragao%2Ffluentvalidation-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenanaragao%2Ffluentvalidation-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanaragao%2Ffluentvalidation-extensions/lists"}