dbt-labs / dbt-labs/dbt-jsonschema

dbt schema not compatible with dbt docs for "latest_version:" and "v:"

Open
#264 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
169
Forks
61
Avg merge
1m
Merged PRs (30d)
1

Description

The documentation for versions (https://docs.getdbt.com/reference/resource-properties/versions?version=2) clearly states:

```
The version identifier for a version of a model. This value can be numeric (integer or float), or any string.
```

The documentation for latest_version (https://docs.getdbt.com/reference/resource-properties/latest_version?version=2#definition):

```
This value can be a string or a numeric (integer or float) value.
```

Yet in https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/dbt_yml_files-latest.json

```yaml
"v": {
"type": "number"
}
```

and

```yaml
"latest_version": {
"type": "number"
},
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.