{"id":34648596,"url":"https://github.com/kaizen-gaming/vex_validators","last_synced_at":"2026-05-26T22:03:26.932Z","repository":{"id":121009165,"uuid":"113307488","full_name":"Kaizen-Gaming/vex_validators","owner":"Kaizen-Gaming","description":"Vex Extra Validators","archived":false,"fork":false,"pushed_at":"2018-11-23T07:09:06.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-12-31T01:22:18.390Z","etag":null,"topics":["elixir","validation","validator","validators","vex"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/Kaizen-Gaming.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}},"created_at":"2017-12-06T11:25:41.000Z","updated_at":"2019-05-12T06:51:25.000Z","dependencies_parsed_at":"2023-12-30T01:22:14.964Z","dependency_job_id":"cdd4ab7f-e326-4f59-a8b6-3c50a7e4cd87","html_url":"https://github.com/Kaizen-Gaming/vex_validators","commit_stats":null,"previous_names":["kaizen-gaming/vex_validators"],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/Kaizen-Gaming/vex_validators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaizen-Gaming%2Fvex_validators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaizen-Gaming%2Fvex_validators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaizen-Gaming%2Fvex_validators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaizen-Gaming%2Fvex_validators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kaizen-Gaming","download_url":"https://codeload.github.com/Kaizen-Gaming/vex_validators/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaizen-Gaming%2Fvex_validators/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33540617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"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":["elixir","validation","validator","validators","vex"],"created_at":"2025-12-24T17:52:54.815Z","updated_at":"2026-05-26T22:03:26.921Z","avatar_url":"https://github.com/Kaizen-Gaming.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vex **Extra** Validators\n\n**Note:** If you are using the Number and/or the UUID validators, we suggest to use instead the ones from the [Vex](https://github.com/CargoSense/vex) package as we made a [PR](https://github.com/CargoSense/vex/pull/55) and it was accepted!\n\n[Vex](https://github.com/CargoSense/vex) is an extensible data validation library for Elixir.\n\nThis library provides new validator [modules that can be used as sources](https://github.com/CargoSense/vex#using-modules-as-sources) in Vex.\n\n## Installation\n\nAdd `vex_validators` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:vex_validators, github: \"StoiximanServices/vex_validators\"}\n  ]\nend\n```\n\nThen add in your `config.exs` the following configuration to add as an additional source for Vex:\n\n```elixir\nconfig :vex,\n  sources: [VexValidators, Vex.Validators]\n```\n\n## The extra validators\n\nAdditionally to the built-in Vex validators, `vex_validators` also provides the following validators.\n\nFor more information on how to use the validators, please see the [Vex documentation](https://github.com/CargoSense/vex#supported-validations).\n\n### Number\n\nEnsure a value is a number equal to another:\n\n```elixir\nVex.valid? post, [number: [==: 1]]\n```\n\nEnsure a value is a number greater than another:\n\n```elixir\nVex.valid? post, [number: [\u003c: 1]]\n```\n\nEnsure a value is a number less than another:\n\n```elixir\nVex.valid? post, [number: [\u003c: 1]]\n```\n\nThis validation can be skipped for `nil` or blank values by including `allow_nil: true` and/or `allow_blank: true`.\n\nSee the documentation on `VexValidators.Number` for details on available options.\n\n### Type\n\nEnsure a value is of a specific Elixir type:\n\n```elixir\nVex.valid? post, [type: :string]\n```\n\nThis validation can be skipped for `nil` or blank values by including `allow_nil: true` and/or `allow_blank: true`.\n\nSee the documentation on `VexValidators.Type` for details on available options.\n\n### UUID\n\nEnsure a value is a valid UUID string:\n\n```elixir\nVex.valid? post, [id: [uuid: true]]\n```\n\nTo check if the value is a valid UUID of a specific format:\n\n```elixir\nVex.valid? post, [id: [uuid: :hex]]\n```\n\nSee documentation on `VexValidators.Uuid` for details on available options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaizen-gaming%2Fvex_validators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaizen-gaming%2Fvex_validators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaizen-gaming%2Fvex_validators/lists"}