{"id":22793442,"url":"https://github.com/fivetran/dbt_yaml_schemas","last_synced_at":"2025-04-30T15:27:31.907Z","repository":{"id":38963488,"uuid":"373070905","full_name":"fivetran/dbt_yaml_schemas","owner":"fivetran","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-08T15:40:23.000Z","size":393,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":45,"default_branch":"main","last_synced_at":"2025-03-30T17:23:27.573Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fivetran.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}},"created_at":"2021-06-02T06:59:25.000Z","updated_at":"2023-04-13T21:20:17.000Z","dependencies_parsed_at":"2022-09-19T18:41:50.691Z","dependency_job_id":null,"html_url":"https://github.com/fivetran/dbt_yaml_schemas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2Fdbt_yaml_schemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2Fdbt_yaml_schemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2Fdbt_yaml_schemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fivetran%2Fdbt_yaml_schemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fivetran","download_url":"https://codeload.github.com/fivetran/dbt_yaml_schemas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251731119,"owners_count":21634508,"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-12T03:19:55.686Z","updated_at":"2025-04-30T15:27:31.882Z","avatar_url":"https://github.com/fivetran.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Validation schemas for dbt configuration files\n\nThis repository contains JSON schemas that provide validation, autocomplete and documentation in VSCode for dbt configuration files:\n\n- `dbt_project.yml`\n- `packages.yml`\n- `profiles.yml`\n- resource configuration files located in various subfolders of dbt project\n- Fivetran `deployment.yml` file\n\n---\n\n![Autocomplete](images/autocomplete.png)\n\n---\n\n![Invalid value](images/invalid_value.png)\n\n---\n\n![Missing property](images/missing_property.png)\n\n---\n\n# Installation and configuration\n\nFirst you need to install [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) for VSCode.\n\nTo enable the schemas for a single dbt project, create a file `.vscode/settings.json` in the project and add the following configuration there:\n\n```json\n{\n  \"yaml.schemas\": {\n    \"https://cdn.jsdelivr.net/gh/fivetran/dbt_yaml_schemas@main/schemas/profiles.json\": \"profiles.yml\",\n    \"https://cdn.jsdelivr.net/gh/fivetran/dbt_yaml_schemas@main/schemas/dbt_project.json\": \"dbt_project.yml\",\n    \"https://cdn.jsdelivr.net/gh/fivetran/dbt_yaml_schemas@main/schemas/deployment.json\": \"deployment.yml\",\n    \"https://cdn.jsdelivr.net/gh/fivetran/dbt_yaml_schemas@main/schemas/packages.json\": \"packages.yml\",\n    \"https://cdn.jsdelivr.net/gh/fivetran/dbt_yaml_schemas@main/schemas/resources.json\": [\n      \"models/**/*.yml\",\n      \"analysis/**/*.yml\",\n      \"data/**/*.yml\",\n      \"snapshots/**/*.yml\",\n      \"macros/**/*.yml\"\n    ]\n  }\n}\n```\n\nYou may need to adjust file patterns if your project has different sctructure.\n\nIn order to enable the schemas globally, go to VSCode `Preferences` -\u003e `Settings` -\u003e `Extensions` -\u003e `YAML` -\u003e `Schemas`, click `Edit in settings.json`, paste the code above into `settings.json` and save it.\n\nYou can also specify schemas for individual files by adding the following comment to the file\n\n```yaml\n# yaml-language-server: $schema=https://cdn.jsdelivr.net/gh/fivetran/dbt_yaml_schemas@main/schemas/resources.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffivetran%2Fdbt_yaml_schemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffivetran%2Fdbt_yaml_schemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffivetran%2Fdbt_yaml_schemas/lists"}