{"id":22777275,"url":"https://github.com/omicsdi/xml-validator","last_synced_at":"2025-04-15T12:26:53.095Z","repository":{"id":36675150,"uuid":"40981569","full_name":"OmicsDI/xml-validator","owner":"OmicsDI","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-16T15:14:39.000Z","size":214,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-03-26T05:51:22.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OmicsDI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-18T15:58:33.000Z","updated_at":"2024-03-26T05:51:22.125Z","dependencies_parsed_at":"2022-08-08T16:30:57.442Z","dependency_job_id":null,"html_url":"https://github.com/OmicsDI/xml-validator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmicsDI%2Fxml-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmicsDI%2Fxml-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmicsDI%2Fxml-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmicsDI%2Fxml-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmicsDI","download_url":"https://codeload.github.com/OmicsDI/xml-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229277717,"owners_count":18048094,"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-12-11T19:13:38.619Z","updated_at":"2024-12-11T19:13:39.375Z","avatar_url":"https://github.com/OmicsDI.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xml-validator\n----------------------------------------\n[![Build Status](https://travis-ci.org/BD2K-DDI/xml-validator.svg)](https://travis-ci.org/BD2K-DDI/xml-validator)\n\nThe xml validator provide a way of validating the XML files. The current library and corresponding commandline tool provides different options\nfor checking the quality of the files and the metadata they provide. The library is based on the rules and specifications for the [OmicsDI](https://github.com/BD2K-DDI/specifications)\nproject. The schema validation will provide a first validation of the file using the [OmicsDI](https://github.com/BD2K-DDI/specifications/blob/master/docs/schema/OmicsDISchema.xsd)\nschema; the validation can be done for a directory or per files. Some of the validation steps, each entry in the file must contain this properties:\n - id\n - name\n - publication (dates)\n - omics_type\n - repository\n - full_dataset_link\n\nFor a full list of properties and rules, please visit the current specification [OmicsDI](https://github.com/BD2K-DDI/specifications).\n\n\n\n## How to use the tool\n\nThe main commandline tool validatorCLI can be download from the releases pages [release](https://github.com/BD2K-DDI/xml-validator/releases), after unzip the tool it can be called as:\n\n```sh\n\n\u003e  java -jar validatorCLI.jar --help\nusage: validatorCLI\n -check \u003carg\u003e              Choose validation level (default level is\n                           Warn):\n                           Warn: This category do a complete Schema and\n                           semantic validation of the file\n                           Error: This category do a validation at level\n                           of XML Schema\n -h,--help                 print help message\n -inFile \u003carg\u003e             Input file or Directory fo ve processed. If the\n                           value is a directory, the procedure will be\n                           applied to all files\n -merge \u003cproperty=value\u003e   Convert a given directory files to an out put\n                           with other options\n -reportFile \u003carg\u003e         Record error/warn messages into outfile. If not\n                           set, print message on the screen.\n```\n\nIf the user is interested to validate the file at the schema level (not semantic validation):\n\n```sh\n\n\u003e  java -jar validatorCLI.jar -inFile PRIDE-XML.xml -check Error\n\n\n```\n\nThe latest command will produce a file with the extension PRIDE-XML.xml.output.csv with all the errors **if the file have errors**. If the user is interested to do semantic validation of the\nfile, the command should be refined to:\n\n```sh\n\n\u003e  java -jar validatorCLI.jar -inFile PRIDE-XML.xml -check Warn\n\n\n```\n\n\n## Support\n\nFor any issue or support questions, please contact omicsdi-support@ebi.ac.uk\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomicsdi%2Fxml-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomicsdi%2Fxml-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomicsdi%2Fxml-validator/lists"}