{"id":18803696,"url":"https://github.com/rofrol/ajv-regexp-errormessage-example","last_synced_at":"2025-07-18T05:33:36.691Z","repository":{"id":66525939,"uuid":"328771416","full_name":"rofrol/ajv-regexp-errormessage-example","owner":"rofrol","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-11T20:46:40.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-19T07:36:54.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rofrol.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}},"created_at":"2021-01-11T19:34:32.000Z","updated_at":"2021-08-18T11:56:52.000Z","dependencies_parsed_at":"2023-05-18T15:34:27.997Z","dependency_job_id":null,"html_url":"https://github.com/rofrol/ajv-regexp-errormessage-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fajv-regexp-errormessage-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fajv-regexp-errormessage-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fajv-regexp-errormessage-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fajv-regexp-errormessage-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rofrol","download_url":"https://codeload.github.com/rofrol/ajv-regexp-errormessage-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239735684,"owners_count":19688337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T22:36:27.999Z","updated_at":"2025-02-19T21:20:36.265Z","avatar_url":"https://github.com/rofrol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ajv-regexp-errormessage-example\n\nExample to demostrate usage of [`regexp`](https://github.com/ajv-validator/ajv-keywords#regexp) from ajv-keywords and `errorMessage` from ajv-errors.\n\n## Run\n\n`node index.js`\n\n## Links\n\n- https://stackoverflow.com/questions/61016810/user-friendly-error-message-using-ajv-json-schema-validator/61097319#61097319\n- https://github.com/atlassian/better-ajv-errors\n- https://stackoverflow.com/questions/58384179/syntaxerror-cannot-use-import-statement-outside-a-module\n- https://stackoverflow.com/questions/42103343/typeerror-ajv-is-not-a-constructor\n- Relative JSON Pointer examples https://gist.github.com/geraintluff/5911303\n- https://stackoverflow.com/questions/55521116/can-i-validate-a-date-using-ajv-json-schema-without-converting-the-date-to-stri\n- https://thabo-ambrose.medium.com/use-custom-date-time-format-for-ajv-schema-validation-38e336dbd6ed\n- https://stackoverflow.com/questions/42819408/ajv-custom-keyword-validation\n- https://stackoverflow.com/questions/65303161/how-can-i-override-default-error-messages-text-in-json-forms\n- https://stackoverflow.com/questions/52566472/how-to-extend-a-schema-in-json-schema\n- More Exhaustive ISO 8601 timezone offset support https://github.com/ajv-validator/ajv/issues/1061\n- https://stackoverflow.com/questions/45888524/empty-values-validation-in-json-schema-using-ajv/62971172#62971172\n- https://stackoverflow.com/questions/48942916/difference-between-utc-and-gmt/48960297\n- https://stackoverflow.com/questions/14495019/what-is-the-difference-between-togmtstring-and-toutcstring/14495190#14495190\n\n## Validate UTC timestamp\n\n- https://stackoverflow.com/questions/52869695/check-if-a-date-string-is-in-iso-and-utc-format\n- https://www.regextester.com/97766\n- https://github.com/Bwca/iso-datestring-validator\n\n## Posted in\n\n- https://github.com/ajv-validator/ajv/issues/949#issuecomment-758182398\n- https://github.com/ajv-validator/ajv/issues/101#issuecomment-758184529\n- https://github.com/ajv-validator/ajv/issues/181#issuecomment-758189078\n- https://github.com/ajv-validator/ajv/issues/161#issuecomment-758192207\n- https://github.com/ajv-validator/ajv/issues/936#issuecomment-758196778\n- https://github.com/ajv-validator/ajv-keywords/issues/108#issuecomment-758194159\n- https://stackoverflow.com/questions/41874810/make-json-schema-pattern-case-insensitive/65673578#65673578\n- https://stackoverflow.com/questions/16491973/using-regex-in-json-schema/65673596#65673596\n- https://stackoverflow.com/questions/30739738/json-schema-validation-with-escaped-characters-in-patterns-fails/65673635#65673635\n- https://stackoverflow.com/questions/47451293/json-schema-validation-with-perfect-messages/65673695#65673695\n- https://stackoverflow.com/questions/61016810/user-friendly-error-message-using-ajv-json-schema-validator/61097319#comment116114881_61097319\n- https://stackoverflow.com/questions/60146568/ajv-how-to-add-custom-error-messages-in-javascrip/65673884#65673884\n- https://stackoverflow.com/questions/49212708/ajv-custom-error-message-for-type/65673910#65673910\n- https://stackoverflow.com/questions/21239665/json-schema-date-time-validation-including-specific-dates#comment116115311_21241289\n- https://stackoverflow.com/questions/35780530/json-schema-strictproperties-for-date-time-formatminimum-and-formatmaximum#comment116115343_35780530\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofrol%2Fajv-regexp-errormessage-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frofrol%2Fajv-regexp-errormessage-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofrol%2Fajv-regexp-errormessage-example/lists"}