{"id":29266633,"url":"https://github.com/spack/schemas","last_synced_at":"2026-04-08T14:32:21.772Z","repository":{"id":285016876,"uuid":"956570964","full_name":"spack/schemas","owner":"spack","description":"Repository with JSON schemas of Spack config files for editor support","archived":false,"fork":false,"pushed_at":"2025-12-17T16:04:13.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-31T06:35:52.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/spack.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-28T13:32:47.000Z","updated_at":"2025-12-17T16:04:18.000Z","dependencies_parsed_at":"2025-03-28T23:46:10.102Z","dependency_job_id":"89f4cf0c-29df-486c-b7ca-294909970f19","html_url":"https://github.com/spack/schemas","commit_stats":null,"previous_names":["haampie/spack-schemas","spack/schemas"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spack/schemas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fschemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fschemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fschemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fschemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spack","download_url":"https://codeload.github.com/spack/schemas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spack%2Fschemas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31559794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-07-04T16:11:52.873Z","updated_at":"2026-04-08T14:32:21.750Z","avatar_url":"https://github.com/spack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Editor support for Spack config files\n\n\u003e [!TIP]\n\u003e The schemas from this repository are part of https://www.schemastore.org/.\n\u003e If your editor (or an extension) supports JSON Schema Store, validation and autocompletion of Spack configuration files should be **automatic** based on the filename or path (e.g. `spack.yaml` or `~/.spack/config.yaml`).\n\nTo get validation and autocompletion of Spack configuration files, enable an extension for the\nYAML Language Server Protocol (LSP) in your editor of choice.\n\n* **Visual Studio Code**: Install the [YAML Language Support extension by Red Hat][vsc].\n* **Neovim**: Install [yaml-language-server][yamlls].\n    \u003cdetails\u003e\n    \u003csummary\u003e0.11.x and newer\u003c/summary\u003e\n\n    ```lua\n    --- $XDG_CONFIG_HOME/nvim/lsp/yamlls.lua\n    return {\n      cmd = { \"yaml-language-server\", \"--stdio\" },\n      filetypes = { \"yaml\", \"yaml.docker-compose\", \"yaml.gitlab\" },\n      single_file_support = true,\n      settings = {\n        -- https://github.com/redhat-developer/vscode-redhat-telemetry#how-to-disable-telemetry-reporting\n        redhat = { telemetry = { enabled = false } },\n      },\n    }\n\n    --- $XDG_CONFIG_HOME/nvim/init.lua\n    vim.lsp.enable(\"yamlls\")\n    \n    -- Bootstrap lazy.nvim\n    local lazypath = vim.fn.stdpath(\"data\") .. \"/lazy/lazy.nvim\"\n    if not (vim.uv or vim.loop).fs_stat(lazypath) then\n        local lazyrepo = \"https://github.com/folke/lazy.nvim.git\"\n        local out = vim.fn.system({ \"git\", \"clone\", \"--filter=blob:none\", \"--branch=stable\", lazyrepo, lazypath })\n        if vim.v.shell_error ~= 0 then\n            vim.api.nvim_echo({\n                { \"Failed to clone lazy.nvim:\\n\", \"ErrorMsg\" },\n                { out, \"WarningMsg\" },\n                { \"\\nPress any key to exit...\" },\n            }, true, {})\n            vim.fn.getchar()\n            os.exit(1)\n        end\n    end\n    vim.opt.rtp:prepend(lazypath)\n\n    vim.g.mapleader = \" \"\n    vim.g.maplocalleader = \"\\\\\"\n\n    -- Setup lazy.nvim\n    require(\"lazy\").setup({\n        spec = {\n            -- For completions.\n            -- See https://cmp.saghen.dev/ for more config options\n            { \"saghen/blink.cmp\", opts = {} },\n        },\n        checker = { enabled = true },\n    })\n    ```\n    \u003c/details\u003e\n    \u003cdetails\u003e\n    \u003csummary\u003e0.10.x and older\u003c/summary\u003e\n\n    ```lua\n    -- Bootstrap lazy.nvim\n    local lazypath = vim.fn.stdpath(\"data\") .. \"/lazy/lazy.nvim\"\n    if not (vim.uv or vim.loop).fs_stat(lazypath) then\n        local lazyrepo = \"https://github.com/folke/lazy.nvim.git\"\n        local out = vim.fn.system({ \"git\", \"clone\", \"--filter=blob:none\", \"--branch=stable\", lazyrepo, lazypath })\n        if vim.v.shell_error ~= 0 then\n            vim.api.nvim_echo({\n                { \"Failed to clone lazy.nvim:\\n\", \"ErrorMsg\" },\n                { out, \"WarningMsg\" },\n                { \"\\nPress any key to exit...\" },\n            }, true, {})\n            vim.fn.getchar()\n            os.exit(1)\n        end\n    end\n    vim.opt.rtp:prepend(lazypath)\n\n    vim.g.mapleader = \" \"\n    vim.g.maplocalleader = \"\\\\\"\n\n    -- Setup lazy.nvim\n    require(\"lazy\").setup({\n        spec = {\n            {\n              \"neovim/nvim-lspconfig\",\n              config = function()\n                local lspconfig = require(\"lspconfig\")\n\n                lspconfig.yamlls.setup({})\n              end,\n            }\n            -- For completions.\n            -- See https://cmp.saghen.dev/ for more config options\n            { \"saghen/blink.cmp\", opts = {} },\n        },\n        checker = { enabled = true },\n    })\n    ```\n    \u003c/details\u003e\n\n[vsc]: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml\n[yamlls]: https://github.com/redhat-developer/yaml-language-server\n\nOptionally, add the following line at the top of your YAML file:\n\n## Environments (spack.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/spack.json\n```\n\n## Packages (packages.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/packages.json\n```\n\n## Config (config.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/config.json\n```\n\n## Modules (modules.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/modules.json\n```\n\n## Mirrors (mirrors.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/mirrors.json\n```\n\n## Concretizer (concretizer.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/concretizer.json\n```\n\n## CI (ci.yaml)\n\n```yaml\n# yaml-language-server: $schema=https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/ci.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspack%2Fschemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspack%2Fschemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspack%2Fschemas/lists"}