From 74e34c35d6987e9e19b56ab1d88959932951b4b4 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 21 Oct 2025 10:44:19 -0400 Subject: [PATCH] Move top-level meta-schemas to `meta/` Signed-off-by: Juan Cruz Viotti --- Makefile | 12 ++++++------ conventions.json => meta/schemas.json | 2 +- tests.json => meta/test.json | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename conventions.json => meta/schemas.json (93%) rename tests.json => meta/test.json (100%) diff --git a/Makefile b/Makefile index 6eec0cb3..3ecbd8d6 100644 --- a/Makefile +++ b/Makefile @@ -7,18 +7,18 @@ SCHEMAS = $(shell find schemas/ -type f -name '*.json') TESTS = $(shell find test/ -type f -name '*.json') all: common test - $(JSONSCHEMA) fmt schemas test conventions.json tests.json --verbose + $(JSONSCHEMA) fmt schemas test meta --verbose common: .always - $(JSONSCHEMA) metaschema schemas conventions.json tests.json --verbose - $(JSONSCHEMA) lint schemas conventions.json tests.json --verbose - $(JSONSCHEMA) validate conventions.json --verbose $(SCHEMAS) - $(JSONSCHEMA) validate tests.json --verbose $(TESTS) + $(JSONSCHEMA) metaschema schemas meta --verbose + $(JSONSCHEMA) lint schemas meta --verbose + $(JSONSCHEMA) validate meta/schemas.json --verbose $(SCHEMAS) + $(JSONSCHEMA) validate meta/test.json --verbose $(TESTS) $(SHELLCHECK) scripts/*.sh ./scripts/schemas-tests-mirror.sh lint: common - $(JSONSCHEMA) fmt schemas test conventions.json tests.json --verbose --check + $(JSONSCHEMA) fmt schemas test meta --verbose --check test: .always $(JSONSCHEMA) test ./test diff --git a/conventions.json b/meta/schemas.json similarity index 93% rename from conventions.json rename to meta/schemas.json index ac1db61a..54662dc4 100644 --- a/conventions.json +++ b/meta/schemas.json @@ -35,7 +35,7 @@ }, "$id": false, "$comment": { - "$ref": "./schemas/ietf/http/https-url.json" + "$ref": "../schemas/ietf/http/https-url.json" }, "x-license": { "const": "https://github.com/sourcemeta/std/blob/main/LICENSE" diff --git a/tests.json b/meta/test.json similarity index 100% rename from tests.json rename to meta/test.json