{"id":21959299,"url":"https://github.com/sbarbett/dns-yaml-schema","last_synced_at":"2025-10-09T16:19:04.860Z","repository":{"id":261076697,"uuid":"881656857","full_name":"sbarbett/dns-yaml-schema","owner":"sbarbett","description":"Writing a JSON and YAML schema for DNS zone files","archived":false,"fork":false,"pushed_at":"2024-11-06T03:07:44.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T20:11:44.545Z","etag":null,"topics":["bind9","dns","json","schema","specification","yaml"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sbarbett.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":"2024-11-01T01:28:43.000Z","updated_at":"2024-11-14T13:24:13.000Z","dependencies_parsed_at":"2024-11-04T15:58:08.613Z","dependency_job_id":null,"html_url":"https://github.com/sbarbett/dns-yaml-schema","commit_stats":null,"previous_names":["sbarbett/dns-yaml-schema"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbarbett/dns-yaml-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbarbett%2Fdns-yaml-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbarbett%2Fdns-yaml-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbarbett%2Fdns-yaml-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbarbett%2Fdns-yaml-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbarbett","download_url":"https://codeload.github.com/sbarbett/dns-yaml-schema/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbarbett%2Fdns-yaml-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001769,"owners_count":26083171,"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-10-09T02:00:07.460Z","response_time":59,"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":["bind9","dns","json","schema","specification","yaml"],"created_at":"2024-11-29T09:27:32.461Z","updated_at":"2025-10-09T16:19:04.829Z","avatar_url":"https://github.com/sbarbett.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS YAML Schema Project\n\n## Overview\nThis project proposes a JSON and YAML specification for how DNS zone files should be represented. It includes a JSON Schema for validating zone files and a utility to convert between JSON and YAML formats.\n\n## Setting Up the Environment\nFollow the steps below to set up the project in a virtual environment and validate the example DNS zone file.\n\n### 1. Create a Virtual Environment\nCreate a virtual environment to keep dependencies isolated:\n\n```sh\npython3 -m venv venv\n```\n\nActivate the virtual environment:\n\n- On Linux/macOS:\n  ```sh\n  source venv/bin/activate\n  ```\n- On Windows:\n  ```cmd\n  venv\\Scripts\\activate\n  ```\n\n### 2. Install Requirements\nInstall the required Python libraries from `requirements.txt`:\n\n```sh\npip install -r requirements.txt\n```\n\n### 3. Run the Schema Validator\nUse the schema validator to validate the example zone file:\n\n```sh\npython3 src/schema_validator.py examples/example_zone.json src/zone_schema.json\n```\n\nIf the validation is successful, you'll see:\n\n```\nValidation successful.\n```\n\nIf there are errors, they will be listed.\n\n## Additional Commands\nTo convert between JSON and YAML formats, use the `converter.py` script:\n\n```sh\npython3 src/converter.py input_file output_file\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbarbett%2Fdns-yaml-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbarbett%2Fdns-yaml-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbarbett%2Fdns-yaml-schema/lists"}