{"id":16207529,"url":"https://github.com/maxartz15/validator","last_synced_at":"2025-08-11T13:09:24.631Z","repository":{"id":219326207,"uuid":"441786634","full_name":"maxartz15/Validator","owner":"maxartz15","description":"Unity project validator framework.","archived":false,"fork":false,"pushed_at":"2022-07-21T00:05:21.000Z","size":67,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-04T13:55:54.593Z","etag":null,"topics":["editor","project","unity","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/maxartz15.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-12-26T01:15:36.000Z","updated_at":"2024-10-08T04:50:10.000Z","dependencies_parsed_at":"2024-01-26T19:24:02.481Z","dependency_job_id":"b1f99c2c-d536-47c8-af5e-0b2c3dc2df73","html_url":"https://github.com/maxartz15/Validator","commit_stats":null,"previous_names":["maxartz15/validator"],"tags_count":2,"template":false,"template_full_name":"maxartz15/template-unity-package","purl":"pkg:github/maxartz15/Validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxartz15%2FValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxartz15%2FValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxartz15%2FValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxartz15%2FValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxartz15","download_url":"https://codeload.github.com/maxartz15/Validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxartz15%2FValidator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269892150,"owners_count":24491870,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["editor","project","unity","validator"],"created_at":"2024-10-10T10:13:48.432Z","updated_at":"2025-08-11T13:09:24.603Z","avatar_url":"https://github.com/maxartz15.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Validator\n\n![ValidatorWindow](Documentation~/Images/ValidatorWindow_01.png)\n\nUnity project validator framework.\n\n## Getting Started\nAdd a custom validate check using the `IValidatable` interface:\n```C#\nusing Validator;\n\npublic class MyBehaviour : MonoBehaviour, IValidatable\n{\n    [SerializeField] private float startHealth = 10; // If someone was to put it to low \u003c= 0, it would be invalid.\n\n#if UNITY_EDITOR\n    public void Validate(Report report)\n\t{\n        \t// Check if health is valid.\n\t\tif(startHealth \u003c= 0)\n\t\t{\n            \t\t// If not, log it.\n\t\t\treport.Log(this, WarningType.Warning, ReportCategories.Design, $\"{nameof(startHealth)} is to low\", $\"Make value \u003e 0\");\n\t\t}\n\t}\n#endif\n}\n```\n\nAdd a validate check using `[Required]` attribute:\n```C#\n[SerializeField, Required] private GameObject playerPrefab = null; // If someone forgets to assign it, it would be invalid.\n```\n\nOpen Validator Window:\n\u003e Window -\u003e General -\u003e Validator\n\nRun the validator:\n\u003e Click the 'run/play' button and wait for the report to be generated.\n\n## Install\n\n[Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html)\n\n## LICENSE\n\nOverall package is licensed under [MIT](/LICENSE.md), unless otherwise noted in the [3rd party licenses](/THIRD%20PARTY%20NOTICES.md) file and/or source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxartz15%2Fvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxartz15%2Fvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxartz15%2Fvalidator/lists"}