{"id":26276556,"url":"https://github.com/richismyhoo/somevalidation","last_synced_at":"2026-02-17T18:32:20.160Z","repository":{"id":278107329,"uuid":"934539338","full_name":"richismyhoo/SomeValidation","owner":"richismyhoo","description":".NET Library with some validation methods","archived":false,"fork":false,"pushed_at":"2025-02-22T16:47:42.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-14T05:28:28.334Z","etag":null,"topics":["csharp","csharp-library","dotnet","library","validation","validation-library"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/SomeValidation/","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/richismyhoo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-18T02:13:29.000Z","updated_at":"2025-02-27T14:43:56.000Z","dependencies_parsed_at":"2025-05-06T20:33:44.143Z","dependency_job_id":null,"html_url":"https://github.com/richismyhoo/SomeValidation","commit_stats":null,"previous_names":["richismyhoo/somevalidation"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/richismyhoo/SomeValidation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richismyhoo%2FSomeValidation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richismyhoo%2FSomeValidation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richismyhoo%2FSomeValidation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richismyhoo%2FSomeValidation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richismyhoo","download_url":"https://codeload.github.com/richismyhoo/SomeValidation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richismyhoo%2FSomeValidation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29552795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"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":["csharp","csharp-library","dotnet","library","validation","validation-library"],"created_at":"2025-03-14T11:18:28.861Z","updated_at":"2026-02-17T18:32:15.145Z","avatar_url":"https://github.com/richismyhoo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# SomeValidation library for .NET C#\n**Contributions and functionality additions to the project are welcome**\n\n## Documentation in main directory in file doc.md\n\n*place star if this lib was helpful!*\n\n**this library contains some methods what resolves popular problems of validation, easy names for methods, easy to start**\n\n### Some examples with data types\n\n`IsValidEmail(string)`\n\n`IsValidPhone(string)`\n\n`IsValidPassword(string, int minLength)`*also checking for some bad symbols*\n\n`IsValidGuid(string)`\n\n`IsValidIPv6(string) \u0026 IsValidIPv4(string)`\n\n`IsFileSizeValid(string filePath, string sizeWithUnit)` *accepting second string \"b\" bytes, \"kb\" - kilobytes, \"mb\" - megabytes, \"gb\" - gigabytes*\n\n`IsSafeXSS(string)`\n\n`IsValidVIN(string)`\n\n`IsValidCardNumber(string)`\n\n`IsValidMD5(string)`\n\n*and lot more*\n---\n# Some examples to usage\n\n```C#\nstring uuid = \"550e8400-e29b-41d4-a716-446655440000\"; \nConsole.WriteLine(UUIDValidator.IsValidUUID(uuid));\n```\n```C#\nstring cardNumber = \"4539 1488 0343 6467\";\nConsole.WriteLine(CardValidator.IsValidCardNumber(cardNumber));\n```\n```C#\n// Zone: Europe as example\ndouble minLatitude = 35.0;\ndouble maxLatitude = 71.0;\ndouble minLongitude = -25.0;\ndouble maxLongitude = 40.0;\n\nConsole.WriteLine(IsInZone(50.0, 10.0, minLatitude, maxLatitude, minLongitude, maxLongitude));  // True\nConsole.WriteLine(IsInZone(10.0, 10.0, minLatitude, maxLatitude, minLongitude, maxLongitude));  // False\nConsole.WriteLine(IsInZone(50.0, -30.0, minLatitude, maxLatitude, minLongitude, maxLongitude)); // False \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichismyhoo%2Fsomevalidation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichismyhoo%2Fsomevalidation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichismyhoo%2Fsomevalidation/lists"}