From d57466efc21ce8cb87576cea6dbd2137c6e5ea63 Mon Sep 17 00:00:00 2001 From: Dave Connors Date: Thu, 3 Oct 2024 16:30:13 -0500 Subject: [PATCH] align revision definitions --- schemas/latest/packages-latest.json | 40 ++++++++++++----------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/schemas/latest/packages-latest.json b/schemas/latest/packages-latest.json index 4eda671..ca31c5a 100644 --- a/schemas/latest/packages-latest.json +++ b/schemas/latest/packages-latest.json @@ -49,29 +49,23 @@ "private" ], "properties": { - "revision": { - "title": "Package version", - "description": "A semantic version string or range, such as [\">=1.0.0\", \"<2.0.0\"]", - "type": [ - "string", - "number", - "array" - ] - }, - "subdirectory": { - "title": "Repo subdirectory", - "description": "Subdirectory of the repo where the dbt package is located", - "type": "string" - }, - "private": { - "title": "Package identifier", - "description": "Must be in format `org_name/package_name`. Refer to docs.getdbt.com for installation instructions", - "type": "string", - "examples": [ - "dbt-labs/private_dbt_utils" - ], - "pattern": "^[\\w\\-\\.]+/[\\w\\-\\.]+$" - } + "revision": { + "title": "Revision", + "description": "Pin your package to a specific release by specifying a release name", + "type": "string" + }, + "subdirectory": { + "title": "Repo subdirectory", + "description": "Subdirectory of the repo where the dbt package is located", + "type": "string" + }, + "private": { + "title": "Package identifier", + "description": "Must be in format `org_name/package_name`. Refer to docs.getdbt.com for installation instructions", + "type": "string", + "examples": ["dbt-labs/private_dbt_utils"], + "pattern": "^[\\w\\-\\.]+/[\\w\\-\\.]+$" + } }, "additionalProperties": false },