From 0b28a8ee845985f7bb56aa59f6d048684267188f Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 24 Oct 2025 15:50:01 -0400 Subject: [PATCH] Better namespace ISO and IEEE standards by year Signed-off-by: Juan Cruz Viotti --- generate/iso/currency/main.py | 32 +++++++++---------- .../ieee/posix/{ => 2017}/path-absolute.json | 0 .../ieee/posix/{ => 2017}/path-relative.json | 0 schemas/ieee/posix/{ => 2017}/path.json | 0 .../iso/currency/{ => 2025}/alpha-code.json | 2 +- .../currency/{ => 2025}/alpha-currency.json | 2 +- .../iso/currency/{ => 2025}/alpha-fund.json | 2 +- .../{ => 2025}/alpha-precious-metal.json | 2 +- .../iso/currency/{ => 2025}/alpha-test.json | 2 +- .../currency/{ => 2025}/alpha-unknown.json | 2 +- .../{ => 2025}/historical/alpha-code.json | 2 +- .../{ => 2025}/historical/alpha-currency.json | 2 +- .../{ => 2025}/historical/numeric-code.json | 2 +- .../historical/numeric-currency.json | 2 +- .../{ => 2025}/numeric-code-additional.json | 2 +- .../iso/currency/{ => 2025}/numeric-code.json | 2 +- .../currency/{ => 2025}/numeric-currency.json | 2 +- .../iso/currency/{ => 2025}/numeric-fund.json | 2 +- .../{ => 2025}/numeric-precious-metal.json | 2 +- .../iso/currency/{ => 2025}/numeric-test.json | 2 +- .../currency/{ => 2025}/numeric-unknown.json | 2 +- schemas/iso/it/{ => 2015}/byte.json | 0 schemas/iso/units/{ => 2022}/percentage.json | 0 .../posix/{ => 2017}/path-absolute.test.json | 2 +- .../posix/{ => 2017}/path-relative.test.json | 2 +- test/ieee/posix/{ => 2017}/path.test.json | 2 +- .../currency/{ => 2025}/alpha-code.test.json | 2 +- .../{ => 2025}/alpha-currency.test.json | 2 +- .../currency/{ => 2025}/alpha-fund.test.json | 2 +- .../{ => 2025}/alpha-precious-metal.test.json | 2 +- .../currency/{ => 2025}/alpha-test.test.json | 2 +- .../{ => 2025}/alpha-unknown.test.json | 2 +- .../historical/alpha-code.test.json | 2 +- .../historical/alpha-currency.test.json | 2 +- .../historical/numeric-code.test.json | 2 +- .../historical/numeric-currency.test.json | 2 +- .../numeric-code-additional.test.json | 2 +- .../{ => 2025}/numeric-code.test.json | 2 +- .../{ => 2025}/numeric-currency.test.json | 2 +- .../{ => 2025}/numeric-fund.test.json | 2 +- .../numeric-precious-metal.test.json | 2 +- .../{ => 2025}/numeric-test.test.json | 2 +- .../{ => 2025}/numeric-unknown.test.json | 2 +- test/iso/it/{ => 2015}/byte.test.json | 2 +- .../iso/units/{ => 2022}/percentage.test.json | 2 +- 45 files changed, 55 insertions(+), 55 deletions(-) rename schemas/ieee/posix/{ => 2017}/path-absolute.json (100%) rename schemas/ieee/posix/{ => 2017}/path-relative.json (100%) rename schemas/ieee/posix/{ => 2017}/path.json (100%) rename schemas/iso/currency/{ => 2025}/alpha-code.json (87%) rename schemas/iso/currency/{ => 2025}/alpha-currency.json (99%) rename schemas/iso/currency/{ => 2025}/alpha-fund.json (96%) rename schemas/iso/currency/{ => 2025}/alpha-precious-metal.json (90%) rename schemas/iso/currency/{ => 2025}/alpha-test.json (85%) rename schemas/iso/currency/{ => 2025}/alpha-unknown.json (84%) rename schemas/iso/currency/{ => 2025}/historical/alpha-code.json (83%) rename schemas/iso/currency/{ => 2025}/historical/alpha-currency.json (99%) rename schemas/iso/currency/{ => 2025}/historical/numeric-code.json (83%) rename schemas/iso/currency/{ => 2025}/historical/numeric-currency.json (99%) rename schemas/iso/currency/{ => 2025}/numeric-code-additional.json (85%) rename schemas/iso/currency/{ => 2025}/numeric-code.json (87%) rename schemas/iso/currency/{ => 2025}/numeric-currency.json (99%) rename schemas/iso/currency/{ => 2025}/numeric-fund.json (96%) rename schemas/iso/currency/{ => 2025}/numeric-precious-metal.json (91%) rename schemas/iso/currency/{ => 2025}/numeric-test.json (85%) rename schemas/iso/currency/{ => 2025}/numeric-unknown.json (84%) rename schemas/iso/it/{ => 2015}/byte.json (100%) rename schemas/iso/units/{ => 2022}/percentage.json (100%) rename test/ieee/posix/{ => 2017}/path-absolute.test.json (99%) rename test/ieee/posix/{ => 2017}/path-relative.test.json (99%) rename test/ieee/posix/{ => 2017}/path.test.json (99%) rename test/iso/currency/{ => 2025}/alpha-code.test.json (96%) rename test/iso/currency/{ => 2025}/alpha-currency.test.json (97%) rename test/iso/currency/{ => 2025}/alpha-fund.test.json (93%) rename test/iso/currency/{ => 2025}/alpha-precious-metal.test.json (94%) rename test/iso/currency/{ => 2025}/alpha-test.test.json (95%) rename test/iso/currency/{ => 2025}/alpha-unknown.test.json (94%) rename test/iso/currency/{ => 2025}/historical/alpha-code.test.json (94%) rename test/iso/currency/{ => 2025}/historical/alpha-currency.test.json (95%) rename test/iso/currency/{ => 2025}/historical/numeric-code.test.json (93%) rename test/iso/currency/{ => 2025}/historical/numeric-currency.test.json (94%) rename test/iso/currency/{ => 2025}/numeric-code-additional.test.json (94%) rename test/iso/currency/{ => 2025}/numeric-code.test.json (96%) rename test/iso/currency/{ => 2025}/numeric-currency.test.json (96%) rename test/iso/currency/{ => 2025}/numeric-fund.test.json (93%) rename test/iso/currency/{ => 2025}/numeric-precious-metal.test.json (94%) rename test/iso/currency/{ => 2025}/numeric-test.test.json (94%) rename test/iso/currency/{ => 2025}/numeric-unknown.test.json (93%) rename test/iso/it/{ => 2015}/byte.test.json (97%) rename test/iso/units/{ => 2022}/percentage.test.json (98%) diff --git a/generate/iso/currency/main.py b/generate/iso/currency/main.py index f5f9e210..eba239d8 100644 --- a/generate/iso/currency/main.py +++ b/generate/iso/currency/main.py @@ -112,7 +112,7 @@ def build_base_schema(): alpha_code_schema = build_base_schema() alpha_code_schema.update({ - "title": f"ISO 4217 Alphabetic Currency, Fund, and Precious Metal Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Alphabetic Currency, Fund, and Precious Metal Code{' (Historical)' if is_historical else ''}", "description": f"A three-letter alphabetic code including {'withdrawn ' if is_historical else ''}currencies, funds, and precious metals ({published_date})", "examples": alpha_code_examples, "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -122,7 +122,7 @@ def build_base_schema(): alpha_currency_schema = build_base_schema() alpha_currency_schema.update({ - "title": f"ISO 4217 Alphabetic Currency Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Alphabetic Currency Code{' (Historical)' if is_historical else ''}", "description": f"A three-letter alphabetic {'withdrawn ' if is_historical else ''}currency code, excluding funds and precious metals ({published_date})", "examples": sorted(currency_alpha_codes.keys())[:4], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -141,7 +141,7 @@ def build_base_schema(): alpha_fund_schema = build_base_schema() alpha_fund_schema.update({ - "title": f"ISO 4217 Alphabetic Fund Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Alphabetic Fund Code{' (Historical)' if is_historical else ''}", "description": f"A three-letter alphabetic {'withdrawn ' if is_historical else ''}fund code ({published_date})", "examples": sorted(fund_alpha_codes.keys())[:4], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -160,7 +160,7 @@ def build_base_schema(): alpha_precious_metal_schema = build_base_schema() alpha_precious_metal_schema.update({ - "title": f"ISO 4217 Alphabetic Precious Metal Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Alphabetic Precious Metal Code{' (Historical)' if is_historical else ''}", "description": f"A three-letter alphabetic code for {'withdrawn ' if is_historical else ''}precious metals ({published_date})", "examples": ["XAU", "XAG", "XPT", "XPD"], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -192,7 +192,7 @@ def build_base_schema(): numeric_code_schema = build_base_schema() numeric_code_schema.update({ - "title": f"ISO 4217 Numeric Currency, Fund, and Precious Metal Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Numeric Currency, Fund, and Precious Metal Code{' (Historical)' if is_historical else ''}", "description": f"A three-digit numeric code including {'withdrawn ' if is_historical else ''}currencies, funds, and precious metals ({published_date})", "examples": numeric_code_examples, "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -202,7 +202,7 @@ def build_base_schema(): numeric_currency_schema = build_base_schema() numeric_currency_schema.update({ - "title": f"ISO 4217 Numeric Currency Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Numeric Currency Code{' (Historical)' if is_historical else ''}", "description": f"A three-digit numeric {'withdrawn ' if is_historical else ''}currency code, excluding funds and precious metals ({published_date})", "examples": sorted(currency_numeric_codes.keys())[:4], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -221,7 +221,7 @@ def build_base_schema(): numeric_fund_schema = build_base_schema() numeric_fund_schema.update({ - "title": f"ISO 4217 Numeric Fund Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Numeric Fund Code{' (Historical)' if is_historical else ''}", "description": f"A three-digit numeric {'withdrawn ' if is_historical else ''}fund code ({published_date})", "examples": sorted(fund_numeric_codes.keys())[:4], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -240,7 +240,7 @@ def build_base_schema(): numeric_precious_metal_schema = build_base_schema() numeric_precious_metal_schema.update({ - "title": f"ISO 4217 Numeric Precious Metal Code{' (Historical)' if is_historical else ''}", + "title": f"ISO 4217:2015 Numeric Precious Metal Code{' (Historical)' if is_historical else ''}", "description": f"A three-digit numeric code for {'withdrawn ' if is_historical else ''}precious metals ({published_date})", "examples": [959, 961, 962, 964], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -272,7 +272,7 @@ def build_base_schema(): if not is_historical: numeric_code_additional_schema = { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Additional Currency Code", + "title": "ISO 4217:2015 Numeric Additional Currency Code", "description": "User-assigned numeric codes in the range 900-998", "examples": [900, 950, 998], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -284,7 +284,7 @@ def build_base_schema(): alpha_unknown_schema = { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Unknown Currency Code", + "title": "ISO 4217:2015 Alphabetic Unknown Currency Code", "description": "The alphabetic code for transactions where no currency is involved", "examples": ["XXX"], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -294,7 +294,7 @@ def build_base_schema(): numeric_unknown_schema = { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Unknown Currency Code", + "title": "ISO 4217:2015 Numeric Unknown Currency Code", "description": "The numeric code for transactions where no currency is involved", "examples": [999], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -304,7 +304,7 @@ def build_base_schema(): alpha_test_schema = { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Test Currency Code", + "title": "ISO 4217:2015 Alphabetic Test Currency Code", "description": "The alphabetic code specifically reserved for testing purposes", "examples": ["XTS"], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -314,7 +314,7 @@ def build_base_schema(): numeric_test_schema = { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Test Currency Code", + "title": "ISO 4217:2015 Numeric Test Currency Code", "description": "The numeric code specifically reserved for testing purposes", "examples": [963], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", @@ -344,9 +344,9 @@ def build_base_schema(): def main(): script_dir = os.path.dirname(os.path.abspath(__file__)) project_root = os.path.dirname(os.path.dirname(os.path.dirname(script_dir))) - current_data_file = os.path.join(project_root, "build", "iso", "currency", "list-one.json") - historical_data_file = os.path.join(project_root, "build", "iso", "currency", "list-three.json") - output_dir = os.path.join(project_root, "schemas", "iso", "currency") + current_data_file = os.path.join(project_root, "external", "iso", "currency", "list-one.json") + historical_data_file = os.path.join(project_root, "external", "iso", "currency", "list-three.json") + output_dir = os.path.join(project_root, "schemas", "iso", "currency", "2025") # Generate current schemas if not os.path.exists(current_data_file): diff --git a/schemas/ieee/posix/path-absolute.json b/schemas/ieee/posix/2017/path-absolute.json similarity index 100% rename from schemas/ieee/posix/path-absolute.json rename to schemas/ieee/posix/2017/path-absolute.json diff --git a/schemas/ieee/posix/path-relative.json b/schemas/ieee/posix/2017/path-relative.json similarity index 100% rename from schemas/ieee/posix/path-relative.json rename to schemas/ieee/posix/2017/path-relative.json diff --git a/schemas/ieee/posix/path.json b/schemas/ieee/posix/2017/path.json similarity index 100% rename from schemas/ieee/posix/path.json rename to schemas/ieee/posix/2017/path.json diff --git a/schemas/iso/currency/alpha-code.json b/schemas/iso/currency/2025/alpha-code.json similarity index 87% rename from schemas/iso/currency/alpha-code.json rename to schemas/iso/currency/2025/alpha-code.json index 3c6510f4..dd47cd89 100644 --- a/schemas/iso/currency/alpha-code.json +++ b/schemas/iso/currency/2025/alpha-code.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Currency, Fund, and Precious Metal Code", + "title": "ISO 4217:2015 Alphabetic Currency, Fund, and Precious Metal Code", "description": "A three-letter alphabetic code including currencies, funds, and precious metals (2025-05-12)", "examples": [ "AED", "AFN", "ALL", "AMD", "BOV", "CHE", "XAG" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/alpha-currency.json b/schemas/iso/currency/2025/alpha-currency.json similarity index 99% rename from schemas/iso/currency/alpha-currency.json rename to schemas/iso/currency/2025/alpha-currency.json index d0a4f113..5bcdbe34 100644 --- a/schemas/iso/currency/alpha-currency.json +++ b/schemas/iso/currency/2025/alpha-currency.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Currency Code", + "title": "ISO 4217:2015 Alphabetic Currency Code", "description": "A three-letter alphabetic currency code, excluding funds and precious metals (2025-05-12)", "examples": [ "AED", "AFN", "ALL", "AMD" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/alpha-fund.json b/schemas/iso/currency/2025/alpha-fund.json similarity index 96% rename from schemas/iso/currency/alpha-fund.json rename to schemas/iso/currency/2025/alpha-fund.json index 4a2dfbf2..52d7c47b 100644 --- a/schemas/iso/currency/alpha-fund.json +++ b/schemas/iso/currency/2025/alpha-fund.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Fund Code", + "title": "ISO 4217:2015 Alphabetic Fund Code", "description": "A three-letter alphabetic fund code (2025-05-12)", "examples": [ "BOV", "CHE", "CHW", "CLF" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/alpha-precious-metal.json b/schemas/iso/currency/2025/alpha-precious-metal.json similarity index 90% rename from schemas/iso/currency/alpha-precious-metal.json rename to schemas/iso/currency/2025/alpha-precious-metal.json index 9c3e73df..87e6e87f 100644 --- a/schemas/iso/currency/alpha-precious-metal.json +++ b/schemas/iso/currency/2025/alpha-precious-metal.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Precious Metal Code", + "title": "ISO 4217:2015 Alphabetic Precious Metal Code", "description": "A three-letter alphabetic code for precious metals (2025-05-12)", "examples": [ "XAU", "XAG", "XPT", "XPD" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/alpha-test.json b/schemas/iso/currency/2025/alpha-test.json similarity index 85% rename from schemas/iso/currency/alpha-test.json rename to schemas/iso/currency/2025/alpha-test.json index fe0d49c3..bb5f99da 100644 --- a/schemas/iso/currency/alpha-test.json +++ b/schemas/iso/currency/2025/alpha-test.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Test Currency Code", + "title": "ISO 4217:2015 Alphabetic Test Currency Code", "description": "The alphabetic code specifically reserved for testing purposes", "examples": [ "XTS" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/alpha-unknown.json b/schemas/iso/currency/2025/alpha-unknown.json similarity index 84% rename from schemas/iso/currency/alpha-unknown.json rename to schemas/iso/currency/2025/alpha-unknown.json index b13d728d..8d668b03 100644 --- a/schemas/iso/currency/alpha-unknown.json +++ b/schemas/iso/currency/2025/alpha-unknown.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Unknown Currency Code", + "title": "ISO 4217:2015 Alphabetic Unknown Currency Code", "description": "The alphabetic code for transactions where no currency is involved", "examples": [ "XXX" ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/historical/alpha-code.json b/schemas/iso/currency/2025/historical/alpha-code.json similarity index 83% rename from schemas/iso/currency/historical/alpha-code.json rename to schemas/iso/currency/2025/historical/alpha-code.json index 4488aa04..9ca3adc5 100644 --- a/schemas/iso/currency/historical/alpha-code.json +++ b/schemas/iso/currency/2025/historical/alpha-code.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Currency, Fund, and Precious Metal Code (Historical)", + "title": "ISO 4217:2015 Alphabetic Currency, Fund, and Precious Metal Code (Historical)", "description": "A three-letter alphabetic code including withdrawn currencies, funds, and precious metals (2025-03-31)", "examples": [ "ADP", "AFA", "ALK", "ANG" ], "deprecated": true, diff --git a/schemas/iso/currency/historical/alpha-currency.json b/schemas/iso/currency/2025/historical/alpha-currency.json similarity index 99% rename from schemas/iso/currency/historical/alpha-currency.json rename to schemas/iso/currency/2025/historical/alpha-currency.json index a25033c2..93788565 100644 --- a/schemas/iso/currency/historical/alpha-currency.json +++ b/schemas/iso/currency/2025/historical/alpha-currency.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Alphabetic Currency Code (Historical)", + "title": "ISO 4217:2015 Alphabetic Currency Code (Historical)", "description": "A three-letter alphabetic withdrawn currency code, excluding funds and precious metals (2025-03-31)", "examples": [ "ADP", "AFA", "ALK", "ANG" ], "deprecated": true, diff --git a/schemas/iso/currency/historical/numeric-code.json b/schemas/iso/currency/2025/historical/numeric-code.json similarity index 83% rename from schemas/iso/currency/historical/numeric-code.json rename to schemas/iso/currency/2025/historical/numeric-code.json index ac1fab14..e0b2200b 100644 --- a/schemas/iso/currency/historical/numeric-code.json +++ b/schemas/iso/currency/2025/historical/numeric-code.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Currency, Fund, and Precious Metal Code (Historical)", + "title": "ISO 4217:2015 Numeric Currency, Fund, and Precious Metal Code (Historical)", "description": "A three-digit numeric code including withdrawn currencies, funds, and precious metals (2025-03-31)", "examples": [ 4, 8, 20, 24 ], "deprecated": true, diff --git a/schemas/iso/currency/historical/numeric-currency.json b/schemas/iso/currency/2025/historical/numeric-currency.json similarity index 99% rename from schemas/iso/currency/historical/numeric-currency.json rename to schemas/iso/currency/2025/historical/numeric-currency.json index 3d53399a..5a00128e 100644 --- a/schemas/iso/currency/historical/numeric-currency.json +++ b/schemas/iso/currency/2025/historical/numeric-currency.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Currency Code (Historical)", + "title": "ISO 4217:2015 Numeric Currency Code (Historical)", "description": "A three-digit numeric withdrawn currency code, excluding funds and precious metals (2025-03-31)", "examples": [ 4, 8, 20, 24 ], "deprecated": true, diff --git a/schemas/iso/currency/numeric-code-additional.json b/schemas/iso/currency/2025/numeric-code-additional.json similarity index 85% rename from schemas/iso/currency/numeric-code-additional.json rename to schemas/iso/currency/2025/numeric-code-additional.json index 34b7881c..84eaa8b9 100644 --- a/schemas/iso/currency/numeric-code-additional.json +++ b/schemas/iso/currency/2025/numeric-code-additional.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Additional Currency Code", + "title": "ISO 4217:2015 Numeric Additional Currency Code", "description": "User-assigned numeric codes in the range 900-998", "examples": [ 900, 950, 998 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/numeric-code.json b/schemas/iso/currency/2025/numeric-code.json similarity index 87% rename from schemas/iso/currency/numeric-code.json rename to schemas/iso/currency/2025/numeric-code.json index 6a583462..900f3919 100644 --- a/schemas/iso/currency/numeric-code.json +++ b/schemas/iso/currency/2025/numeric-code.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Currency, Fund, and Precious Metal Code", + "title": "ISO 4217:2015 Numeric Currency, Fund, and Precious Metal Code", "description": "A three-digit numeric code including currencies, funds, and precious metals (2025-05-12)", "examples": [ 8, 12, 32, 36, 940, 959 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/numeric-currency.json b/schemas/iso/currency/2025/numeric-currency.json similarity index 99% rename from schemas/iso/currency/numeric-currency.json rename to schemas/iso/currency/2025/numeric-currency.json index f7b260df..46109971 100644 --- a/schemas/iso/currency/numeric-currency.json +++ b/schemas/iso/currency/2025/numeric-currency.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Currency Code", + "title": "ISO 4217:2015 Numeric Currency Code", "description": "A three-digit numeric currency code, excluding funds and precious metals (2025-05-12)", "examples": [ 8, 12, 32, 36 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/numeric-fund.json b/schemas/iso/currency/2025/numeric-fund.json similarity index 96% rename from schemas/iso/currency/numeric-fund.json rename to schemas/iso/currency/2025/numeric-fund.json index 7c8ff189..3c854911 100644 --- a/schemas/iso/currency/numeric-fund.json +++ b/schemas/iso/currency/2025/numeric-fund.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Fund Code", + "title": "ISO 4217:2015 Numeric Fund Code", "description": "A three-digit numeric fund code (2025-05-12)", "examples": [ 940, 947, 948, 970 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/numeric-precious-metal.json b/schemas/iso/currency/2025/numeric-precious-metal.json similarity index 91% rename from schemas/iso/currency/numeric-precious-metal.json rename to schemas/iso/currency/2025/numeric-precious-metal.json index a73b63d5..a41e1665 100644 --- a/schemas/iso/currency/numeric-precious-metal.json +++ b/schemas/iso/currency/2025/numeric-precious-metal.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Precious Metal Code", + "title": "ISO 4217:2015 Numeric Precious Metal Code", "description": "A three-digit numeric code for precious metals (2025-05-12)", "examples": [ 959, 961, 962, 964 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/numeric-test.json b/schemas/iso/currency/2025/numeric-test.json similarity index 85% rename from schemas/iso/currency/numeric-test.json rename to schemas/iso/currency/2025/numeric-test.json index 0e4ea965..5050cd50 100644 --- a/schemas/iso/currency/numeric-test.json +++ b/schemas/iso/currency/2025/numeric-test.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Test Currency Code", + "title": "ISO 4217:2015 Numeric Test Currency Code", "description": "The numeric code specifically reserved for testing purposes", "examples": [ 963 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/currency/numeric-unknown.json b/schemas/iso/currency/2025/numeric-unknown.json similarity index 84% rename from schemas/iso/currency/numeric-unknown.json rename to schemas/iso/currency/2025/numeric-unknown.json index e4e19f99..9bcb7d93 100644 --- a/schemas/iso/currency/numeric-unknown.json +++ b/schemas/iso/currency/2025/numeric-unknown.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "ISO 4217 Numeric Unknown Currency Code", + "title": "ISO 4217:2015 Numeric Unknown Currency Code", "description": "The numeric code for transactions where no currency is involved", "examples": [ 999 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", diff --git a/schemas/iso/it/byte.json b/schemas/iso/it/2015/byte.json similarity index 100% rename from schemas/iso/it/byte.json rename to schemas/iso/it/2015/byte.json diff --git a/schemas/iso/units/percentage.json b/schemas/iso/units/2022/percentage.json similarity index 100% rename from schemas/iso/units/percentage.json rename to schemas/iso/units/2022/percentage.json diff --git a/test/ieee/posix/path-absolute.test.json b/test/ieee/posix/2017/path-absolute.test.json similarity index 99% rename from test/ieee/posix/path-absolute.test.json rename to test/ieee/posix/2017/path-absolute.test.json index 5a3c00e8..2f06c0df 100644 --- a/test/ieee/posix/path-absolute.test.json +++ b/test/ieee/posix/2017/path-absolute.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/ieee/posix/path-absolute.json", + "target": "../../../../schemas/ieee/posix/2017/path-absolute.json", "tests": [ { "description": "Invalid type - number", diff --git a/test/ieee/posix/path-relative.test.json b/test/ieee/posix/2017/path-relative.test.json similarity index 99% rename from test/ieee/posix/path-relative.test.json rename to test/ieee/posix/2017/path-relative.test.json index 68892731..1ccd109d 100644 --- a/test/ieee/posix/path-relative.test.json +++ b/test/ieee/posix/2017/path-relative.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/ieee/posix/path-relative.json", + "target": "../../../../schemas/ieee/posix/2017/path-relative.json", "tests": [ { "description": "Invalid type - number", diff --git a/test/ieee/posix/path.test.json b/test/ieee/posix/2017/path.test.json similarity index 99% rename from test/ieee/posix/path.test.json rename to test/ieee/posix/2017/path.test.json index a5148829..fa21c4b3 100644 --- a/test/ieee/posix/path.test.json +++ b/test/ieee/posix/2017/path.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/ieee/posix/path.json", + "target": "../../../../schemas/ieee/posix/2017/path.json", "tests": [ { "description": "Invalid type - number", diff --git a/test/iso/currency/alpha-code.test.json b/test/iso/currency/2025/alpha-code.test.json similarity index 96% rename from test/iso/currency/alpha-code.test.json rename to test/iso/currency/2025/alpha-code.test.json index b8f8adbe..55d6e050 100644 --- a/test/iso/currency/alpha-code.test.json +++ b/test/iso/currency/2025/alpha-code.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/alpha-code.json", + "target": "../../../../schemas/iso/currency/2025/alpha-code.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/alpha-currency.test.json b/test/iso/currency/2025/alpha-currency.test.json similarity index 97% rename from test/iso/currency/alpha-currency.test.json rename to test/iso/currency/2025/alpha-currency.test.json index 595bef6c..bc9922ae 100644 --- a/test/iso/currency/alpha-currency.test.json +++ b/test/iso/currency/2025/alpha-currency.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/alpha-currency.json", + "target": "../../../../schemas/iso/currency/2025/alpha-currency.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/alpha-fund.test.json b/test/iso/currency/2025/alpha-fund.test.json similarity index 93% rename from test/iso/currency/alpha-fund.test.json rename to test/iso/currency/2025/alpha-fund.test.json index e5a37d35..1084bc74 100644 --- a/test/iso/currency/alpha-fund.test.json +++ b/test/iso/currency/2025/alpha-fund.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/alpha-fund.json", + "target": "../../../../schemas/iso/currency/2025/alpha-fund.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/alpha-precious-metal.test.json b/test/iso/currency/2025/alpha-precious-metal.test.json similarity index 94% rename from test/iso/currency/alpha-precious-metal.test.json rename to test/iso/currency/2025/alpha-precious-metal.test.json index 6abf451e..6e520408 100644 --- a/test/iso/currency/alpha-precious-metal.test.json +++ b/test/iso/currency/2025/alpha-precious-metal.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/alpha-precious-metal.json", + "target": "../../../../schemas/iso/currency/2025/alpha-precious-metal.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/alpha-test.test.json b/test/iso/currency/2025/alpha-test.test.json similarity index 95% rename from test/iso/currency/alpha-test.test.json rename to test/iso/currency/2025/alpha-test.test.json index 696e1240..dfd92315 100644 --- a/test/iso/currency/alpha-test.test.json +++ b/test/iso/currency/2025/alpha-test.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/alpha-test.json", + "target": "../../../../schemas/iso/currency/2025/alpha-test.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/alpha-unknown.test.json b/test/iso/currency/2025/alpha-unknown.test.json similarity index 94% rename from test/iso/currency/alpha-unknown.test.json rename to test/iso/currency/2025/alpha-unknown.test.json index 5095f57c..db1a0096 100644 --- a/test/iso/currency/alpha-unknown.test.json +++ b/test/iso/currency/2025/alpha-unknown.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/alpha-unknown.json", + "target": "../../../../schemas/iso/currency/2025/alpha-unknown.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/historical/alpha-code.test.json b/test/iso/currency/2025/historical/alpha-code.test.json similarity index 94% rename from test/iso/currency/historical/alpha-code.test.json rename to test/iso/currency/2025/historical/alpha-code.test.json index d344eb4d..606b41a9 100644 --- a/test/iso/currency/historical/alpha-code.test.json +++ b/test/iso/currency/2025/historical/alpha-code.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/iso/currency/historical/alpha-code.json", + "target": "../../../../../schemas/iso/currency/2025/historical/alpha-code.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/historical/alpha-currency.test.json b/test/iso/currency/2025/historical/alpha-currency.test.json similarity index 95% rename from test/iso/currency/historical/alpha-currency.test.json rename to test/iso/currency/2025/historical/alpha-currency.test.json index 6eac8f47..f0fc488c 100644 --- a/test/iso/currency/historical/alpha-currency.test.json +++ b/test/iso/currency/2025/historical/alpha-currency.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/iso/currency/historical/alpha-currency.json", + "target": "../../../../../schemas/iso/currency/2025/historical/alpha-currency.json", "tests": [ { "description": "Invalid type - integer", diff --git a/test/iso/currency/historical/numeric-code.test.json b/test/iso/currency/2025/historical/numeric-code.test.json similarity index 93% rename from test/iso/currency/historical/numeric-code.test.json rename to test/iso/currency/2025/historical/numeric-code.test.json index b32f1a6c..6dfcc6ba 100644 --- a/test/iso/currency/historical/numeric-code.test.json +++ b/test/iso/currency/2025/historical/numeric-code.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/iso/currency/historical/numeric-code.json", + "target": "../../../../../schemas/iso/currency/2025/historical/numeric-code.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/historical/numeric-currency.test.json b/test/iso/currency/2025/historical/numeric-currency.test.json similarity index 94% rename from test/iso/currency/historical/numeric-currency.test.json rename to test/iso/currency/2025/historical/numeric-currency.test.json index 07732e92..6406c9c8 100644 --- a/test/iso/currency/historical/numeric-currency.test.json +++ b/test/iso/currency/2025/historical/numeric-currency.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../../schemas/iso/currency/historical/numeric-currency.json", + "target": "../../../../../schemas/iso/currency/2025/historical/numeric-currency.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-code-additional.test.json b/test/iso/currency/2025/numeric-code-additional.test.json similarity index 94% rename from test/iso/currency/numeric-code-additional.test.json rename to test/iso/currency/2025/numeric-code-additional.test.json index 7c872e1c..0e923e57 100644 --- a/test/iso/currency/numeric-code-additional.test.json +++ b/test/iso/currency/2025/numeric-code-additional.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-code-additional.json", + "target": "../../../../schemas/iso/currency/2025/numeric-code-additional.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-code.test.json b/test/iso/currency/2025/numeric-code.test.json similarity index 96% rename from test/iso/currency/numeric-code.test.json rename to test/iso/currency/2025/numeric-code.test.json index deb0acf0..77c667b5 100644 --- a/test/iso/currency/numeric-code.test.json +++ b/test/iso/currency/2025/numeric-code.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-code.json", + "target": "../../../../schemas/iso/currency/2025/numeric-code.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-currency.test.json b/test/iso/currency/2025/numeric-currency.test.json similarity index 96% rename from test/iso/currency/numeric-currency.test.json rename to test/iso/currency/2025/numeric-currency.test.json index eceb8ea3..8fc7baaa 100644 --- a/test/iso/currency/numeric-currency.test.json +++ b/test/iso/currency/2025/numeric-currency.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-currency.json", + "target": "../../../../schemas/iso/currency/2025/numeric-currency.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-fund.test.json b/test/iso/currency/2025/numeric-fund.test.json similarity index 93% rename from test/iso/currency/numeric-fund.test.json rename to test/iso/currency/2025/numeric-fund.test.json index 49af4448..d8ac034d 100644 --- a/test/iso/currency/numeric-fund.test.json +++ b/test/iso/currency/2025/numeric-fund.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-fund.json", + "target": "../../../../schemas/iso/currency/2025/numeric-fund.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-precious-metal.test.json b/test/iso/currency/2025/numeric-precious-metal.test.json similarity index 94% rename from test/iso/currency/numeric-precious-metal.test.json rename to test/iso/currency/2025/numeric-precious-metal.test.json index da882d06..90fb5553 100644 --- a/test/iso/currency/numeric-precious-metal.test.json +++ b/test/iso/currency/2025/numeric-precious-metal.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-precious-metal.json", + "target": "../../../../schemas/iso/currency/2025/numeric-precious-metal.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-test.test.json b/test/iso/currency/2025/numeric-test.test.json similarity index 94% rename from test/iso/currency/numeric-test.test.json rename to test/iso/currency/2025/numeric-test.test.json index bd758398..2dafd167 100644 --- a/test/iso/currency/numeric-test.test.json +++ b/test/iso/currency/2025/numeric-test.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-test.json", + "target": "../../../../schemas/iso/currency/2025/numeric-test.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/currency/numeric-unknown.test.json b/test/iso/currency/2025/numeric-unknown.test.json similarity index 93% rename from test/iso/currency/numeric-unknown.test.json rename to test/iso/currency/2025/numeric-unknown.test.json index 9276c9e7..024763ba 100644 --- a/test/iso/currency/numeric-unknown.test.json +++ b/test/iso/currency/2025/numeric-unknown.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/currency/numeric-unknown.json", + "target": "../../../../schemas/iso/currency/2025/numeric-unknown.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/it/byte.test.json b/test/iso/it/2015/byte.test.json similarity index 97% rename from test/iso/it/byte.test.json rename to test/iso/it/2015/byte.test.json index ad1b6318..c9577181 100644 --- a/test/iso/it/byte.test.json +++ b/test/iso/it/2015/byte.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/it/byte.json", + "target": "../../../../schemas/iso/it/2015/byte.json", "tests": [ { "description": "Invalid type - string", diff --git a/test/iso/units/percentage.test.json b/test/iso/units/2022/percentage.test.json similarity index 98% rename from test/iso/units/percentage.test.json rename to test/iso/units/2022/percentage.test.json index 5a64c985..86c3d7ca 100644 --- a/test/iso/units/percentage.test.json +++ b/test/iso/units/2022/percentage.test.json @@ -1,6 +1,6 @@ { "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", - "target": "../../../schemas/iso/units/percentage.json", + "target": "../../../../schemas/iso/units/2022/percentage.json", "tests": [ { "description": "Invalid type - string",