From a8cce31803ac77f7283c1d4130ac16de3e35fb44 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 5 Dec 2025 09:37:13 -0400 Subject: [PATCH] Upgrade the JSON Schema CLI to v12.10.1 Signed-off-by: Juan Cruz Viotti --- Makefile | 19 ++++++++++--------- package-lock.json | 10 +++++----- package.json | 2 +- .../bipm/si/2019/base/prefixed/exagram.json | 2 +- .../si/2019/base/prefixed/petaampere.json | 2 +- .../si/2019/base/prefixed/petacandela.json | 2 +- .../si/2019/base/prefixed/petakelvin.json | 2 +- .../bipm/si/2019/base/prefixed/petametre.json | 2 +- .../bipm/si/2019/base/prefixed/petamole.json | 2 +- .../si/2019/base/prefixed/petasecond.json | 2 +- .../2019/derived/prefixed/petabecquerel.json | 2 +- .../si/2019/derived/prefixed/petacoulomb.json | 2 +- .../derived/prefixed/petadegree-celsius.json | 2 +- .../si/2019/derived/prefixed/petafarad.json | 2 +- .../si/2019/derived/prefixed/petagray.json | 2 +- .../si/2019/derived/prefixed/petahenry.json | 2 +- .../si/2019/derived/prefixed/petahertz.json | 2 +- .../si/2019/derived/prefixed/petajoule.json | 2 +- .../si/2019/derived/prefixed/petakatal.json | 2 +- .../si/2019/derived/prefixed/petalumen.json | 2 +- .../si/2019/derived/prefixed/petalux.json | 2 +- .../si/2019/derived/prefixed/petanewton.json | 2 +- .../si/2019/derived/prefixed/petaohm.json | 2 +- .../si/2019/derived/prefixed/petapascal.json | 2 +- .../si/2019/derived/prefixed/petaradian.json | 2 +- .../si/2019/derived/prefixed/petasiemens.json | 2 +- .../si/2019/derived/prefixed/petasievert.json | 2 +- .../2019/derived/prefixed/petasteradian.json | 2 +- .../si/2019/derived/prefixed/petatesla.json | 2 +- .../si/2019/derived/prefixed/petavolt.json | 2 +- .../si/2019/derived/prefixed/petawatt.json | 2 +- .../si/2019/derived/prefixed/petaweber.json | 2 +- .../floating-point/2019/binary32-special.json | 4 ++-- .../ieee/floating-point/2019/binary32.json | 8 ++++---- .../floating-point/2019/binary64-special.json | 4 ++-- .../ieee/floating-point/2019/binary64.json | 8 ++++---- schemas/2020-12/iso/c/2024/double.json | 4 ++-- schemas/2020-12/iso/c/2024/float.json | 4 ++-- .../2019/binary32-special.test.json | 8 ++++---- .../floating-point/2019/binary32.test.json | 8 ++++---- .../2019/binary64-special.test.json | 4 ++-- .../floating-point/2019/binary64.test.json | 8 ++++---- test/iso/c/2024/double.test.json | 8 ++++---- test/iso/c/2024/float.test.json | 12 ++++++------ test/w3c/xmlschema/2001/decimal.test.json | 4 ++-- test/w3c/xmlschema/2001/double.test.json | 2 +- .../instance/2003/decimal-item-type.test.json | 2 +- .../2003/fraction-item-type.test.json | 4 ++-- .../2003/monetary-item-type.test.json | 2 +- .../instance/2003/pure-item-type.test.json | 2 +- .../instance/2003/shares-item-type.test.json | 2 +- 51 files changed, 94 insertions(+), 93 deletions(-) diff --git a/Makefile b/Makefile index fa1454c1..e2c2717b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .DEFAULT_GOAL := all -JSONSCHEMA ?= ./node_modules/@sourcemeta/jsonschema/cli.js +JSONSCHEMA ?= ./node_modules/@sourcemeta/jsonschema/npm/cli.js JQ ?= jq SHELLCHECK ?= shellcheck TAR ?= tar @@ -11,6 +11,7 @@ MKDIRP ?= mkdir -p RMRF ?= rm -rf NODE ?= node NPM ?= npm +TIME ?= time include generated.mk @@ -21,11 +22,11 @@ all: common test node_modules .PHONY: common common: $(GENERATED) node_modules - $(NODE) $(JSONSCHEMA) metaschema schemas meta - $(NODE) $(JSONSCHEMA) lint schemas meta - $(NODE) $(JSONSCHEMA) validate meta/schemas-root.json schemas - $(NODE) $(JSONSCHEMA) validate meta/schemas.json schemas - $(NODE) $(JSONSCHEMA) validate meta/test.json test + $(TIME) $(NODE) $(JSONSCHEMA) metaschema schemas meta + $(TIME) $(NODE) $(JSONSCHEMA) lint schemas meta + $(TIME) $(NODE) $(JSONSCHEMA) validate meta/schemas-root.json schemas + $(TIME) $(NODE) $(JSONSCHEMA) validate meta/schemas.json schemas + $(TIME) $(NODE) $(JSONSCHEMA) validate meta/test.json test $(SHELLCHECK) scripts/*.sh ./scripts/quality-schemas-tests-mirror.sh ./scripts/quality-templates-xbrl-utr-mirror.sh @@ -33,12 +34,12 @@ common: $(GENERATED) node_modules # TODO: Make `jsonschema fmt` automatically detect test files .PHONY: lint lint: common node_modules - $(NODE) $(JSONSCHEMA) fmt schemas meta --check - $(NODE) $(JSONSCHEMA) fmt test --check --default-dialect "https://json-schema.org/draft/2020-12/schema" + $(TIME) $(NODE) $(JSONSCHEMA) fmt schemas meta --check + $(TIME) $(NODE) $(JSONSCHEMA) fmt test --check --default-dialect "https://json-schema.org/draft/2020-12/schema" .PHONY: test test: node_modules - $(NODE) $(JSONSCHEMA) test ./test + $(TIME) $(NODE) $(JSONSCHEMA) test ./test $(NODE) npm/cjs.test.js $(NODE) npm/esm.test.mjs diff --git a/package-lock.json b/package-lock.json index c6282a0f..941be1ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,16 +9,16 @@ "version": "0.3.1", "license": "UNLICENSED", "devDependencies": { - "@sourcemeta/jsonschema": "^12.7.1" + "@sourcemeta/jsonschema": "^12.10.1" }, "funding": { "url": "https://github.com/sponsors/sourcemeta" } }, "node_modules/@sourcemeta/jsonschema": { - "version": "12.7.1", - "resolved": "https://registry.npmjs.org/@sourcemeta/jsonschema/-/jsonschema-12.7.1.tgz", - "integrity": "sha512-sFdDTeLMPX1L1ZHQF9lltBzTYWRi2KI4l+KEA+vlThjObc7Y41JWbzacQzWbiOyG6rBufvXJ3dUjGVoeO1Ux6w==", + "version": "12.10.1", + "resolved": "https://registry.npmjs.org/@sourcemeta/jsonschema/-/jsonschema-12.10.1.tgz", + "integrity": "sha512-hhLxVnmI+V6qq6A2J4HXEP7yhBZn1G8yhTc8CbtBqYg2rNbYyeKjSEyl6wN39sZrA2ubCi9VtNx9AopWXYJ5eA==", "cpu": [ "x64", "arm64" @@ -31,7 +31,7 @@ "win32" ], "bin": { - "jsonschema": "cli.js" + "jsonschema": "npm/cli.js" }, "engines": { "node": ">=16" diff --git a/package.json b/package.json index 60990355..e94f2cdf 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,6 @@ "access": "public" }, "devDependencies": { - "@sourcemeta/jsonschema": "^12.7.1" + "@sourcemeta/jsonschema": "^12.10.1" } } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/exagram.json b/schemas/2020-12/bipm/si/2019/base/prefixed/exagram.json index 09b9d8c7..80c1e8a7 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/exagram.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/exagram.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Eg", "$ref": "../unit/kilogram.json" } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/petaampere.json b/schemas/2020-12/bipm/si/2019/base/prefixed/petaampere.json index 45ad91c6..5398fa9d 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/petaampere.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/petaampere.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PA", "$ref": "../unit/ampere.json" } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/petacandela.json b/schemas/2020-12/bipm/si/2019/base/prefixed/petacandela.json index f563dde4..3b5c90a8 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/petacandela.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/petacandela.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Pcd", "$ref": "../unit/candela.json" } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/petakelvin.json b/schemas/2020-12/bipm/si/2019/base/prefixed/petakelvin.json index 8cbe908e..65a9d10d 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/petakelvin.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/petakelvin.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PK", "$ref": "../unit/kelvin.json" } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/petametre.json b/schemas/2020-12/bipm/si/2019/base/prefixed/petametre.json index 538c8a42..8847e7a9 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/petametre.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/petametre.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Pm", "$ref": "../unit/metre.json" } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/petamole.json b/schemas/2020-12/bipm/si/2019/base/prefixed/petamole.json index 6bfe4986..0a10d0d8 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/petamole.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/petamole.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Pmol", "$ref": "../unit/mole.json" } diff --git a/schemas/2020-12/bipm/si/2019/base/prefixed/petasecond.json b/schemas/2020-12/bipm/si/2019/base/prefixed/petasecond.json index fd8af999..99b51238 100644 --- a/schemas/2020-12/bipm/si/2019/base/prefixed/petasecond.json +++ b/schemas/2020-12/bipm/si/2019/base/prefixed/petasecond.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Ps", "$ref": "../unit/second.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petabecquerel.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petabecquerel.json index 489429ba..be8b33b3 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petabecquerel.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petabecquerel.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PBq", "$ref": "../unit/becquerel.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petacoulomb.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petacoulomb.json index e9763f5f..8421ed3a 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petacoulomb.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petacoulomb.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PC", "$ref": "../unit/coulomb.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petadegree-celsius.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petadegree-celsius.json index 85279770..d49fd032 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petadegree-celsius.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petadegree-celsius.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "P°C", "$ref": "../unit/degree-celsius.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petafarad.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petafarad.json index a2caeecd..70caf725 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petafarad.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petafarad.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PF", "$ref": "../unit/farad.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petagray.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petagray.json index 6cbcd062..129c294c 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petagray.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petagray.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PGy", "$ref": "../unit/gray.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petahenry.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petahenry.json index b17eaad3..1cd1ed52 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petahenry.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petahenry.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PH", "$ref": "../unit/henry.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petahertz.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petahertz.json index 0811b5e6..54833fbd 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petahertz.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petahertz.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PHz", "$ref": "../unit/hertz.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petajoule.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petajoule.json index ce0a0c13..07276266 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petajoule.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petajoule.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PJ", "$ref": "../unit/joule.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petakatal.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petakatal.json index ca13acd7..387543c5 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petakatal.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petakatal.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Pkat", "$ref": "../unit/katal.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petalumen.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petalumen.json index d26b56b2..eefc391e 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petalumen.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petalumen.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Plm", "$ref": "../unit/lumen.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petalux.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petalux.json index aca821c3..3afe61ef 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petalux.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petalux.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Plx", "$ref": "../unit/lux.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petanewton.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petanewton.json index 9cf3fac4..c5da5f2c 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petanewton.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petanewton.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PN", "$ref": "../unit/newton.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petaohm.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petaohm.json index 432dcea8..9af33955 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petaohm.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petaohm.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PΩ", "$ref": "../unit/ohm.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petapascal.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petapascal.json index 157a2db9..117b6bbb 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petapascal.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petapascal.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PPa", "$ref": "../unit/pascal.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petaradian.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petaradian.json index 85e7d9aa..1da1505e 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petaradian.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petaradian.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Prad", "$ref": "../unit/radian.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petasiemens.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petasiemens.json index 590be8bd..47eef611 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petasiemens.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petasiemens.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PS", "$ref": "../unit/siemens.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petasievert.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petasievert.json index ac3e7def..b1d14e27 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petasievert.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petasievert.json @@ -5,7 +5,7 @@ "examples": [ 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PSv", "$ref": "../unit/sievert.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petasteradian.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petasteradian.json index 2e023bc8..fd315db2 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petasteradian.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petasteradian.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "Psr", "$ref": "../unit/steradian.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petatesla.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petatesla.json index 44930699..94f52afc 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petatesla.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petatesla.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PT", "$ref": "../unit/tesla.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petavolt.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petavolt.json index 031af638..20ef3e15 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petavolt.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petavolt.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PV", "$ref": "../unit/volt.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petawatt.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petawatt.json index 199119d0..cc1effa9 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petawatt.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petawatt.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PW", "$ref": "../unit/watt.json" } diff --git a/schemas/2020-12/bipm/si/2019/derived/prefixed/petaweber.json b/schemas/2020-12/bipm/si/2019/derived/prefixed/petaweber.json index 7f8c754d..712829a2 100644 --- a/schemas/2020-12/bipm/si/2019/derived/prefixed/petaweber.json +++ b/schemas/2020-12/bipm/si/2019/derived/prefixed/petaweber.json @@ -5,7 +5,7 @@ "examples": [ 0, 1, 100, 1000 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], - "x-prefix-factor": 1000000000000000.0, + "x-prefix-factor": 1.0000000000000000e+15, "x-symbol": "PWb", "$ref": "../unit/weber.json" } diff --git a/schemas/2020-12/ieee/floating-point/2019/binary32-special.json b/schemas/2020-12/ieee/floating-point/2019/binary32-special.json index cd06026a..6889c0f2 100644 --- a/schemas/2020-12/ieee/floating-point/2019/binary32-special.json +++ b/schemas/2020-12/ieee/floating-point/2019/binary32-special.json @@ -6,8 +6,8 @@ 0.0, 1.5, -3.14, - 340282346638528859811704183484516925440.0, - -340282346638528859811704183484516925440.0, + 3.402823466385288598117041834845169254400e+38, + -3.402823466385288598117041834845169254400e+38, "NaN", "+Inf", "-Inf", diff --git a/schemas/2020-12/ieee/floating-point/2019/binary32.json b/schemas/2020-12/ieee/floating-point/2019/binary32.json index f58c20f1..0b886b4a 100644 --- a/schemas/2020-12/ieee/floating-point/2019/binary32.json +++ b/schemas/2020-12/ieee/floating-point/2019/binary32.json @@ -6,13 +6,13 @@ 0.0, 1.5, -3.14, - 340282346638528859811704183484516925440.0, - -340282346638528859811704183484516925440.0, + 3.402823466385288598117041834845169254400e+38, + -3.402823466385288598117041834845169254400e+38, 1.4013e-45 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://ieeexplore.ieee.org/document/8766229" ], "type": "number", - "maximum": 340282346638528859811704183484516925440.0, - "minimum": -340282346638528859811704183484516925440.0 + "maximum": 3.402823466385288598117041834845169254400e+38, + "minimum": -3.402823466385288598117041834845169254400e+38 } diff --git a/schemas/2020-12/ieee/floating-point/2019/binary64-special.json b/schemas/2020-12/ieee/floating-point/2019/binary64-special.json index f4072fc2..237bffe4 100644 --- a/schemas/2020-12/ieee/floating-point/2019/binary64-special.json +++ b/schemas/2020-12/ieee/floating-point/2019/binary64-special.json @@ -7,8 +7,8 @@ 1.5, -3.14159, 299800000.0, - 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, - -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, + -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "NaN", "+Inf", "-Inf", diff --git a/schemas/2020-12/ieee/floating-point/2019/binary64.json b/schemas/2020-12/ieee/floating-point/2019/binary64.json index 4de8dddf..191e2d1b 100644 --- a/schemas/2020-12/ieee/floating-point/2019/binary64.json +++ b/schemas/2020-12/ieee/floating-point/2019/binary64.json @@ -7,12 +7,12 @@ 1.5, -3.14159, 299800000.0, - 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, - -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0 + 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, + -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://ieeexplore.ieee.org/document/8766229" ], "type": "number", - "maximum": 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, - "minimum": -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0 + "maximum": 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, + "minimum": -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308 } diff --git a/schemas/2020-12/iso/c/2024/double.json b/schemas/2020-12/iso/c/2024/double.json index d14d9395..824987f0 100644 --- a/schemas/2020-12/iso/c/2024/double.json +++ b/schemas/2020-12/iso/c/2024/double.json @@ -7,8 +7,8 @@ 1.5, -3.14159, 299800000.0, - 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, - -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, + -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "NAN", "INFINITY", "-INFINITY" diff --git a/schemas/2020-12/iso/c/2024/float.json b/schemas/2020-12/iso/c/2024/float.json index d3e3ebb2..36eed0cc 100644 --- a/schemas/2020-12/iso/c/2024/float.json +++ b/schemas/2020-12/iso/c/2024/float.json @@ -6,8 +6,8 @@ 0.0, 1.5, -3.14, - 340282346638528859811704183484516925440.0, - -340282346638528859811704183484516925440.0, + 3.402823466385288598117041834845169254400e+38, + -3.402823466385288598117041834845169254400e+38, "NAN", "INFINITY", "-INFINITY" diff --git a/test/ieee/floating-point/2019/binary32-special.test.json b/test/ieee/floating-point/2019/binary32-special.test.json index 3203db77..d12dcad3 100644 --- a/test/ieee/floating-point/2019/binary32-special.test.json +++ b/test/ieee/floating-point/2019/binary32-special.test.json @@ -19,12 +19,12 @@ }, { "description": "Valid - maximum value", - "data": 340282346638528859811704183484516925440.0, + "data": 3.402823466385288598117041834845169254400e+38, "valid": true }, { "description": "Valid - minimum value", - "data": -340282346638528859811704183484516925440.0, + "data": -3.402823466385288598117041834845169254400e+38, "valid": true }, { @@ -54,12 +54,12 @@ }, { "description": "Invalid - above maximum", - "data": 350000000000000001565567347835409530880.0, + "data": 3.500000000000000015655673478354095308800e+38, "valid": false }, { "description": "Invalid - below minimum", - "data": -350000000000000001565567347835409530880.0, + "data": -3.500000000000000015655673478354095308800e+38, "valid": false }, { diff --git a/test/ieee/floating-point/2019/binary32.test.json b/test/ieee/floating-point/2019/binary32.test.json index 5befe777..9ec8b78e 100644 --- a/test/ieee/floating-point/2019/binary32.test.json +++ b/test/ieee/floating-point/2019/binary32.test.json @@ -19,12 +19,12 @@ }, { "description": "Valid - maximum value", - "data": 340282346638528859811704183484516925440.0, + "data": 3.402823466385288598117041834845169254400e+38, "valid": true }, { "description": "Valid - minimum value", - "data": -340282346638528859811704183484516925440.0, + "data": -3.402823466385288598117041834845169254400e+38, "valid": true }, { @@ -39,12 +39,12 @@ }, { "description": "Invalid - above maximum", - "data": 350000000000000001565567347835409530880.0, + "data": 3.500000000000000015655673478354095308800e+38, "valid": false }, { "description": "Invalid - below minimum", - "data": -350000000000000001565567347835409530880.0, + "data": -3.500000000000000015655673478354095308800e+38, "valid": false }, { diff --git a/test/ieee/floating-point/2019/binary64-special.test.json b/test/ieee/floating-point/2019/binary64-special.test.json index 167868ab..cb754f43 100644 --- a/test/ieee/floating-point/2019/binary64-special.test.json +++ b/test/ieee/floating-point/2019/binary64-special.test.json @@ -19,12 +19,12 @@ }, { "description": "Valid - maximum value", - "data": 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { "description": "Valid - minimum value", - "data": -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { diff --git a/test/ieee/floating-point/2019/binary64.test.json b/test/ieee/floating-point/2019/binary64.test.json index b8e9a91f..bc0dd71d 100644 --- a/test/ieee/floating-point/2019/binary64.test.json +++ b/test/ieee/floating-point/2019/binary64.test.json @@ -24,12 +24,12 @@ }, { "description": "Valid - maximum value", - "data": 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { "description": "Valid - minimum value", - "data": -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { @@ -44,12 +44,12 @@ }, { "description": "Valid - large value within range", - "data": 10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.0, + "data": 1.00000000000000001590289110975991804683608085639452813897813275577478387721703810608134699858568151040e+100, "valid": true }, { "description": "Valid - small negative value within range", - "data": -10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.0, + "data": -1.00000000000000001590289110975991804683608085639452813897813275577478387721703810608134699858568151040e+100, "valid": true }, { diff --git a/test/iso/c/2024/double.test.json b/test/iso/c/2024/double.test.json index a5801b45..32b4d298 100644 --- a/test/iso/c/2024/double.test.json +++ b/test/iso/c/2024/double.test.json @@ -24,12 +24,12 @@ }, { "description": "Valid - maximum value", - "data": 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { "description": "Valid - minimum value", - "data": -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": -1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { @@ -104,12 +104,12 @@ }, { "description": "Valid - large value within range", - "data": 10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.0, + "data": 1.00000000000000001590289110975991804683608085639452813897813275577478387721703810608134699858568151040e+100, "valid": true }, { "description": "Valid - small negative value within range", - "data": -10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.0, + "data": -1.00000000000000001590289110975991804683608085639452813897813275577478387721703810608134699858568151040e+100, "valid": true } ] diff --git a/test/iso/c/2024/float.test.json b/test/iso/c/2024/float.test.json index 3cba32e6..d1f7282e 100644 --- a/test/iso/c/2024/float.test.json +++ b/test/iso/c/2024/float.test.json @@ -19,12 +19,12 @@ }, { "description": "Valid - maximum value", - "data": 340282346638528859811704183484516925440.0, + "data": 3.402823466385288598117041834845169254400e+38, "valid": true }, { "description": "Valid - minimum value", - "data": -340282346638528859811704183484516925440.0, + "data": -3.402823466385288598117041834845169254400e+38, "valid": true }, { @@ -44,22 +44,22 @@ }, { "description": "Invalid - above maximum", - "data": 350000000000000001565567347835409530880.0, + "data": 3.500000000000000015655673478354095308800e+38, "valid": false }, { "description": "Invalid - below minimum", - "data": -350000000000000001565567347835409530880.0, + "data": -3.500000000000000015655673478354095308800e+38, "valid": false }, { "description": "Invalid - far above maximum", - "data": 10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.0, + "data": 1.00000000000000001590289110975991804683608085639452813897813275577478387721703810608134699858568151040e+100, "valid": false }, { "description": "Invalid - far below minimum", - "data": -10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.0, + "data": -1.00000000000000001590289110975991804683608085639452813897813275577478387721703810608134699858568151040e+100, "valid": false }, { diff --git a/test/w3c/xmlschema/2001/decimal.test.json b/test/w3c/xmlschema/2001/decimal.test.json index 17442cb5..c4a2388d 100644 --- a/test/w3c/xmlschema/2001/decimal.test.json +++ b/test/w3c/xmlschema/2001/decimal.test.json @@ -104,12 +104,12 @@ }, { "description": "Valid - arbitrary precision with decimals", - "data": 123456789012345680.0, + "data": 1.234567890123456800e+17, "valid": true }, { "description": "Valid - arbitrary precision negative with decimals", - "data": -123456789012345680.0, + "data": -1.234567890123456800e+17, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/double.test.json b/test/w3c/xmlschema/2001/double.test.json index 18fec870..8da2b95e 100644 --- a/test/w3c/xmlschema/2001/double.test.json +++ b/test/w3c/xmlschema/2001/double.test.json @@ -29,7 +29,7 @@ }, { "description": "Valid - very large number", - "data": 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0, + "data": 1.797693134862315708145274237317043567980705675258449965989174768031572607800285387605895586327668781715404589535143824642343213268894641827684675467035375169860499105765512820762454900903893289440758685084551339423045832369032229481658085593321233482747978262041447231687381771809192998812504040261841248583680e+308, "valid": true }, { diff --git a/test/xbrl/instance/2003/decimal-item-type.test.json b/test/xbrl/instance/2003/decimal-item-type.test.json index 35a3b147..63907cd1 100644 --- a/test/xbrl/instance/2003/decimal-item-type.test.json +++ b/test/xbrl/instance/2003/decimal-item-type.test.json @@ -34,7 +34,7 @@ }, { "description": "Valid - arbitrary precision with decimals", - "data": 123456789012345680.0, + "data": 1.234567890123456800e+17, "valid": true }, { diff --git a/test/xbrl/instance/2003/fraction-item-type.test.json b/test/xbrl/instance/2003/fraction-item-type.test.json index d77fa6b5..99e9d054 100644 --- a/test/xbrl/instance/2003/fraction-item-type.test.json +++ b/test/xbrl/instance/2003/fraction-item-type.test.json @@ -79,12 +79,12 @@ }, { "description": "Valid - arbitrary precision numerator with decimals", - "data": [ 123456789012345680.0, 1 ], + "data": [ 1.234567890123456800e+17, 1 ], "valid": true }, { "description": "Valid - arbitrary precision denominator with decimals", - "data": [ 1, 123456789012345680.0 ], + "data": [ 1, 1.234567890123456800e+17 ], "valid": true }, { diff --git a/test/xbrl/instance/2003/monetary-item-type.test.json b/test/xbrl/instance/2003/monetary-item-type.test.json index ad8a0791..e666ccd4 100644 --- a/test/xbrl/instance/2003/monetary-item-type.test.json +++ b/test/xbrl/instance/2003/monetary-item-type.test.json @@ -69,7 +69,7 @@ { "description": "Valid - arbitrary precision with decimals in GBP", "data": { - "value": 123456789012345680.0, + "value": 1.234567890123456800e+17, "currency": "GBP" }, "valid": true diff --git a/test/xbrl/instance/2003/pure-item-type.test.json b/test/xbrl/instance/2003/pure-item-type.test.json index 8e788316..6830b374 100644 --- a/test/xbrl/instance/2003/pure-item-type.test.json +++ b/test/xbrl/instance/2003/pure-item-type.test.json @@ -29,7 +29,7 @@ }, { "description": "Valid - arbitrary precision with decimals", - "data": 123456789012345680.0, + "data": 1.234567890123456800e+17, "valid": true }, { diff --git a/test/xbrl/instance/2003/shares-item-type.test.json b/test/xbrl/instance/2003/shares-item-type.test.json index 1ca0804e..d8e50329 100644 --- a/test/xbrl/instance/2003/shares-item-type.test.json +++ b/test/xbrl/instance/2003/shares-item-type.test.json @@ -29,7 +29,7 @@ }, { "description": "Valid - arbitrary precision with decimals", - "data": 123456789012345680.0, + "data": 1.234567890123456800e+17, "valid": true }, {