{"id":19256732,"url":"https://github.com/oxheadalpha/tezos-snapshot-metadata-schema","last_synced_at":"2026-02-20T22:03:57.010Z","repository":{"id":114583197,"uuid":"594194664","full_name":"oxheadalpha/tezos-snapshot-metadata-schema","owner":"oxheadalpha","description":"A public place to field feedback and releases of metadata schema for Tezos storage artifacts.","archived":false,"fork":false,"pushed_at":"2023-03-28T20:38:21.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-23T21:36:23.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/oxheadalpha.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T20:28:27.000Z","updated_at":"2023-02-01T18:49:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"28d66116-5266-484f-b0dc-8302e2fa7d6c","html_url":"https://github.com/oxheadalpha/tezos-snapshot-metadata-schema","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oxheadalpha/tezos-snapshot-metadata-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxheadalpha%2Ftezos-snapshot-metadata-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxheadalpha%2Ftezos-snapshot-metadata-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxheadalpha%2Ftezos-snapshot-metadata-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxheadalpha%2Ftezos-snapshot-metadata-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxheadalpha","download_url":"https://codeload.github.com/oxheadalpha/tezos-snapshot-metadata-schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxheadalpha%2Ftezos-snapshot-metadata-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29666465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-09T19:06:48.552Z","updated_at":"2026-02-20T22:03:56.985Z","avatar_url":"https://github.com/oxheadalpha.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# tezos-schema\nA public place to field feedback and releases of metadata schema for Tezos storage artifacts.\n\nWe're using **GitHub discussions** to field questions/improvements/suggestions for this repo.  Feel free to [open a discussion](https://github.com/oxheadalpha/tezos-schema/discussions) and we'll turn it into an issue, and eventually- a release.\n\n- [tezos-schema](#tezos-schema)\n  - [Validate your own metadata](#validate-your-own-metadata)\n    - [bash](#bash)\n    - [python](#python)\n    - [go](#go)\n    - [npm/\\*script](#npmscript)\n\n## Validate your own metadata\n\n### bash\n\nhttps://github.com/python-jsonschema/check-jsonschema\n\n```bash\npip install check-jsonschema\ncheck-jsonschema --schemafile schema.json input.json\nok -- validation done\n```\n\n### python\n\nhttps://pypi.org/project/jsonschema/\n\n```python\nfrom jsonschema import validate\nimport json\n\nf = open('schema.json')\nschema = json.load(f)\n\nf = open('input.json')\ninput = json.load(f)\n\nvalidate(input,schema=schema)\n# returns nothing if valid\n```\n\n### go\n\nhttps://github.com/xeipuuv/gojsonschema\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/xeipuuv/gojsonschema\"\n)\n\nfunc main() {\n\n    schemaLoader := gojsonschema.NewReferenceLoader(\"file:///home/me/schema.json\")\n    documentLoader := gojsonschema.NewReferenceLoader(\"file:///home/me/document.json\")\n\n    result, err := gojsonschema.Validate(schemaLoader, documentLoader)\n    if err != nil {\n        panic(err.Error())\n    }\n\n    if result.Valid() {\n        fmt.Printf(\"The document is valid\\n\")\n    } else {\n        fmt.Printf(\"The document is not valid. see errors :\\n\")\n        for _, desc := range result.Errors() {\n            fmt.Printf(\"- %s\\n\", desc)\n        }\n    }\n}\n// Returns \"The document is valid\" if successful\n```\n\n### npm/*script\n\nhttps://www.npmjs.com/package/jsonschema\n\n```bash\nnpm install jsonschema\n```\n\n```javascript\nvar validate = require('jsonschema').validate;\nvar schema = JSON.parse(fs.readFileSync('schema.json'))\nvar input = JSON.parse(fs.readFileSync('input.json'))\nvalidate(input,schema)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxheadalpha%2Ftezos-snapshot-metadata-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxheadalpha%2Ftezos-snapshot-metadata-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxheadalpha%2Ftezos-snapshot-metadata-schema/lists"}