From f95647c12a88088db216d25a59150cef3d2addda Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Tue, 5 May 2026 12:13:46 -0400 Subject: [PATCH 1/2] update $id --- resources/schema/rule/CORE-base.json | 2 +- scripts/merge_schema_markdown.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/schema/rule/CORE-base.json b/resources/schema/rule/CORE-base.json index 6fccb4afd..4b9f5537c 100644 --- a/resources/schema/rule/CORE-base.json +++ b/resources/schema/rule/CORE-base.json @@ -191,7 +191,7 @@ "description": "Can reference either a dataset variable name or an operation result" } }, - "$id": "https://cdisc.org/CORE-base.json", + "$id": "https://raw.githubusercontent.com/cdisc-org/cdisc-rules-engine/refs/heads/main/resources/schema/rule/CORE-base.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "markdownDescription": "Validation schema CDISC Rules 1.0", diff --git a/scripts/merge_schema_markdown.py b/scripts/merge_schema_markdown.py index 657d69ca6..2d3b8255a 100755 --- a/scripts/merge_schema_markdown.py +++ b/scripts/merge_schema_markdown.py @@ -117,7 +117,7 @@ def main(): merged_schema = merge_schema_with_markdown( schema_path, schema_path.with_suffix(".md") ) - + merged_schema["$id"] = merged_schema["$id"].replace("/rule/", "/rule-merged/") with open(OUTPUT_DIR / schema_path.name, "w", encoding="utf-8") as f: json.dump(merged_schema, f, indent=2) f.write("\n") From 64b74185eb3e875ec1c5326c8b142207c7d24f20 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 5 May 2026 16:16:59 +0000 Subject: [PATCH 2/2] Update merged schema files with markdown descriptions --- resources/schema/rule-merged/CORE-base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/schema/rule-merged/CORE-base.json b/resources/schema/rule-merged/CORE-base.json index 6fccb4afd..9b77c67c6 100644 --- a/resources/schema/rule-merged/CORE-base.json +++ b/resources/schema/rule-merged/CORE-base.json @@ -191,7 +191,7 @@ "description": "Can reference either a dataset variable name or an operation result" } }, - "$id": "https://cdisc.org/CORE-base.json", + "$id": "https://raw.githubusercontent.com/cdisc-org/cdisc-rules-engine/refs/heads/main/resources/schema/rule-merged/CORE-base.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "markdownDescription": "Validation schema CDISC Rules 1.0",