{"id":15676324,"url":"https://github.com/hectorm/k3s-json-schemas","last_synced_at":"2025-05-07T00:26:36.707Z","repository":{"id":221863847,"uuid":"755565531","full_name":"hectorm/k3s-json-schemas","owner":"hectorm","description":"JSON schemas for every object of K3s.","archived":false,"fork":false,"pushed_at":"2025-05-03T07:42:08.000Z","size":12072,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-03T08:43:25.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/hectorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"hectorm","custom":"https://hector.molinero.dev/donate"}},"created_at":"2024-02-10T15:49:58.000Z","updated_at":"2025-05-03T07:42:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"9072f899-1e11-4783-9a86-ee3bb737e448","html_url":"https://github.com/hectorm/k3s-json-schemas","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":"0.16666666666666663","last_synced_commit":"c38cfc42ade302793a70dd2d3ed408a53af9303f"},"previous_names":["hectorm/k3s-json-schemas"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorm%2Fk3s-json-schemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorm%2Fk3s-json-schemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorm%2Fk3s-json-schemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorm%2Fk3s-json-schemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hectorm","download_url":"https://codeload.github.com/hectorm/k3s-json-schemas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252789931,"owners_count":21804514,"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-10-03T16:01:29.247Z","updated_at":"2025-05-07T00:26:36.676Z","avatar_url":"https://github.com/hectorm.png","language":"Shell","funding_links":["https://github.com/sponsors/hectorm","https://hector.molinero.dev/donate"],"categories":[],"sub_categories":[],"readme":"# K3s JSON schemas\n\nJSON schemas for every object of K3s.\n\n## Usage\n\nThis repository contains a `schemas/*` branch for each version of K3s, each of which has multiple flavors:\n\n * `local`: schemas with relative references.\n * `local-strict`: schemas with relative references that prohibit additional properties.\n * `standalone`: de-referenced schemas.\n * `standalone-strict`: de-referenced schemas that prohibit additional properties.\n\nJust use your favorite JSON schema validation tool for your Kubernetes definitions, such as Red Hat's [YAML Language Support extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) for VSCode.\n\n```yaml\n---\n# yaml-language-server: $schema=https://github.com/hectorm/k3s-json-schemas/raw/schemas/\u003cversion\u003e/\u003cflavor\u003e/deployment-apps-v1.json\napiVersion: \"apps/v1\"\nkind: \"Deployment\"\n# [...]\n---\n# yaml-language-server: $schema=https://github.com/hectorm/k3s-json-schemas/raw/schemas/\u003cversion\u003e/\u003cflavor\u003e/service-v1.json\napiVersion: \"v1\"\nkind: \"Service\"\n# [...]\n```\n\n## Prior-art\n\nThis project is inspired by [instrumenta/kubernetes-json-schema](https://github.com/instrumenta/kubernetes-json-schema) and uses its own fork of [openapi2jsonschema](https://github.com/hectorm/openapi2jsonschema) with some improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorm%2Fk3s-json-schemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhectorm%2Fk3s-json-schemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorm%2Fk3s-json-schemas/lists"}