diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 59323b3c..8f679529 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -17,7 +17,7 @@ jobs: package: runs-on: ubuntu-latest steps: - - run: sudo snap install jsonschema + - uses: sourcemeta/jsonschema@v12.5.1 - uses: actions/checkout@v4 - run: make lint - run: make test diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41115ac6..6dace2a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: sourcemeta/jsonschema@v12.4.0 + - uses: sourcemeta/jsonschema@v12.5.1 - uses: actions/checkout@v4 - run: make lint - run: make test diff --git a/meta/schemas-root.json b/meta/schemas-root.json index f43ba35f..b48d9de4 100644 --- a/meta/schemas-root.json +++ b/meta/schemas-root.json @@ -41,6 +41,9 @@ "x-license": { "const": "https://github.com/sourcemeta/std/blob/main/LICENSE" }, + "x-symbol": { + "type": "string" + }, "x-links": { "type": "array", "minItems": 1, diff --git a/schemas/bipm/si/2019/base/prefixed/attoampere.json b/schemas/bipm/si/2019/base/prefixed/attoampere.json new file mode 100644 index 00000000..6cc1e1ad --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attoampere", + "description": "A multiple of ampere equal to 1e-18 ampere", + "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": 1e-18, + "x-symbol": "aA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/attocandela.json b/schemas/bipm/si/2019/base/prefixed/attocandela.json new file mode 100644 index 00000000..c1797898 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attocandela", + "description": "A multiple of candela equal to 1e-18 candela", + "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": 1e-18, + "x-symbol": "acd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/attogram.json b/schemas/bipm/si/2019/base/prefixed/attogram.json new file mode 100644 index 00000000..294f35fa --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attogram", + "description": "A multiple of mass equal to 1e-18 gram, which is 1e-21 kilogram", + "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": 1e-21, + "x-symbol": "ag", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/attokelvin.json b/schemas/bipm/si/2019/base/prefixed/attokelvin.json new file mode 100644 index 00000000..c613d533 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attokelvin", + "description": "A multiple of kelvin equal to 1e-18 kelvin", + "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": 1e-18, + "x-symbol": "aK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/attometre.json b/schemas/bipm/si/2019/base/prefixed/attometre.json new file mode 100644 index 00000000..ed888e17 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attometre", + "description": "A multiple of metre equal to 1e-18 metre", + "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": 1e-18, + "x-symbol": "am", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/attomole.json b/schemas/bipm/si/2019/base/prefixed/attomole.json new file mode 100644 index 00000000..3a52aecc --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attomole", + "description": "A multiple of mole equal to 1e-18 mole", + "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": 1e-18, + "x-symbol": "amol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/attosecond.json b/schemas/bipm/si/2019/base/prefixed/attosecond.json new file mode 100644 index 00000000..f80be7ae --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/attosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attosecond", + "description": "A multiple of second equal to 1e-18 second", + "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": 1e-18, + "x-symbol": "as", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centiampere.json b/schemas/bipm/si/2019/base/prefixed/centiampere.json new file mode 100644 index 00000000..b686b848 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centiampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centiampere", + "description": "A multiple of ampere equal to 1e-2 ampere", + "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": 0.01, + "x-symbol": "cA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centicandela.json b/schemas/bipm/si/2019/base/prefixed/centicandela.json new file mode 100644 index 00000000..850e2d1b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centicandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centicandela", + "description": "A multiple of candela equal to 1e-2 candela", + "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": 0.01, + "x-symbol": "ccd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centigram.json b/schemas/bipm/si/2019/base/prefixed/centigram.json new file mode 100644 index 00000000..3536cde5 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centigram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centigram", + "description": "A multiple of mass equal to 1e-2 gram, which is 1e-5 kilogram", + "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": 1e-5, + "x-symbol": "cg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centikelvin.json b/schemas/bipm/si/2019/base/prefixed/centikelvin.json new file mode 100644 index 00000000..009a2b71 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centikelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centikelvin", + "description": "A multiple of kelvin equal to 1e-2 kelvin", + "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": 0.01, + "x-symbol": "cK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centimetre.json b/schemas/bipm/si/2019/base/prefixed/centimetre.json new file mode 100644 index 00000000..b1324b4e --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centimetre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centimetre", + "description": "A multiple of metre equal to 1e-2 metre", + "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": 0.01, + "x-symbol": "cm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centimole.json b/schemas/bipm/si/2019/base/prefixed/centimole.json new file mode 100644 index 00000000..dbdcd214 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centimole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centimole", + "description": "A multiple of mole equal to 1e-2 mole", + "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": 0.01, + "x-symbol": "cmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/centisecond.json b/schemas/bipm/si/2019/base/prefixed/centisecond.json new file mode 100644 index 00000000..53949ce2 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/centisecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centisecond", + "description": "A multiple of second equal to 1e-2 second", + "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": 0.01, + "x-symbol": "cs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decaampere.json b/schemas/bipm/si/2019/base/prefixed/decaampere.json new file mode 100644 index 00000000..5e2a0e0a --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decaampere", + "description": "A multiple of ampere equal to 1e1 ampere", + "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": 10.0, + "x-symbol": "daA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decacandela.json b/schemas/bipm/si/2019/base/prefixed/decacandela.json new file mode 100644 index 00000000..790af8ec --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decacandela", + "description": "A multiple of candela equal to 1e1 candela", + "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": 10.0, + "x-symbol": "dacd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decagram.json b/schemas/bipm/si/2019/base/prefixed/decagram.json new file mode 100644 index 00000000..2915bd3d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decagram", + "description": "A multiple of mass equal to 1e1 gram, which is 1e-2 kilogram", + "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": 0.01, + "x-symbol": "dag", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decakelvin.json b/schemas/bipm/si/2019/base/prefixed/decakelvin.json new file mode 100644 index 00000000..5bcecc40 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decakelvin", + "description": "A multiple of kelvin equal to 1e1 kelvin", + "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": 10.0, + "x-symbol": "daK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decametre.json b/schemas/bipm/si/2019/base/prefixed/decametre.json new file mode 100644 index 00000000..0c57235b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decametre", + "description": "A multiple of metre equal to 1e1 metre", + "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": 10.0, + "x-symbol": "dam", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decamole.json b/schemas/bipm/si/2019/base/prefixed/decamole.json new file mode 100644 index 00000000..7d4a84c1 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decamole", + "description": "A multiple of mole equal to 1e1 mole", + "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": 10.0, + "x-symbol": "damol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decasecond.json b/schemas/bipm/si/2019/base/prefixed/decasecond.json new file mode 100644 index 00000000..21ee9ce3 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decasecond", + "description": "A multiple of second equal to 1e1 second", + "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": 10.0, + "x-symbol": "das", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/deciampere.json b/schemas/bipm/si/2019/base/prefixed/deciampere.json new file mode 100644 index 00000000..f83ed6a4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/deciampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Deciampere", + "description": "A multiple of ampere equal to 1e-1 ampere", + "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": 0.1, + "x-symbol": "dA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decicandela.json b/schemas/bipm/si/2019/base/prefixed/decicandela.json new file mode 100644 index 00000000..5a9684d7 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decicandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decicandela", + "description": "A multiple of candela equal to 1e-1 candela", + "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": 0.1, + "x-symbol": "dcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decigram.json b/schemas/bipm/si/2019/base/prefixed/decigram.json new file mode 100644 index 00000000..beddaee6 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decigram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decigram", + "description": "A multiple of mass equal to 1e-1 gram, which is 1e-4 kilogram", + "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": 0.0001, + "x-symbol": "dg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decikelvin.json b/schemas/bipm/si/2019/base/prefixed/decikelvin.json new file mode 100644 index 00000000..ad71566e --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decikelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decikelvin", + "description": "A multiple of kelvin equal to 1e-1 kelvin", + "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": 0.1, + "x-symbol": "dK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decimetre.json b/schemas/bipm/si/2019/base/prefixed/decimetre.json new file mode 100644 index 00000000..cd90502b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decimetre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decimetre", + "description": "A multiple of metre equal to 1e-1 metre", + "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": 0.1, + "x-symbol": "dm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decimole.json b/schemas/bipm/si/2019/base/prefixed/decimole.json new file mode 100644 index 00000000..83f3f5a6 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decimole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decimole", + "description": "A multiple of mole equal to 1e-1 mole", + "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": 0.1, + "x-symbol": "dmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/decisecond.json b/schemas/bipm/si/2019/base/prefixed/decisecond.json new file mode 100644 index 00000000..da2f0e7c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/decisecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decisecond", + "description": "A multiple of second equal to 1e-1 second", + "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": 0.1, + "x-symbol": "ds", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/exaampere.json b/schemas/bipm/si/2019/base/prefixed/exaampere.json new file mode 100644 index 00000000..13e14d27 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/exaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exaampere", + "description": "A multiple of ampere equal to 1e18 ampere", + "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": 1e+18, + "x-symbol": "EA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/exacandela.json b/schemas/bipm/si/2019/base/prefixed/exacandela.json new file mode 100644 index 00000000..84407139 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/exacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exacandela", + "description": "A multiple of candela equal to 1e18 candela", + "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": 1e+18, + "x-symbol": "Ecd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/exagram.json b/schemas/bipm/si/2019/base/prefixed/exagram.json new file mode 100644 index 00000000..09b9d8c7 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/exagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exagram", + "description": "A multiple of mass equal to 1e18 gram, which is 1e15 kilogram", + "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-symbol": "Eg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/exakelvin.json b/schemas/bipm/si/2019/base/prefixed/exakelvin.json new file mode 100644 index 00000000..70799195 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/exakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exakelvin", + "description": "A multiple of kelvin equal to 1e18 kelvin", + "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": 1e+18, + "x-symbol": "EK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/exametre.json b/schemas/bipm/si/2019/base/prefixed/exametre.json new file mode 100644 index 00000000..9610c87c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/exametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exametre", + "description": "A multiple of metre equal to 1e18 metre", + "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": 1e+18, + "x-symbol": "Em", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/examole.json b/schemas/bipm/si/2019/base/prefixed/examole.json new file mode 100644 index 00000000..132ff620 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/examole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Examole", + "description": "A multiple of mole equal to 1e18 mole", + "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": 1e+18, + "x-symbol": "Emol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/exasecond.json b/schemas/bipm/si/2019/base/prefixed/exasecond.json new file mode 100644 index 00000000..4a653e0b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/exasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exasecond", + "description": "A multiple of second equal to 1e18 second", + "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": 1e+18, + "x-symbol": "Es", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtoampere.json b/schemas/bipm/si/2019/base/prefixed/femtoampere.json new file mode 100644 index 00000000..ae050932 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtoampere", + "description": "A multiple of ampere equal to 1e-15 ampere", + "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": 1e-15, + "x-symbol": "fA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtocandela.json b/schemas/bipm/si/2019/base/prefixed/femtocandela.json new file mode 100644 index 00000000..9969268e --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtocandela", + "description": "A multiple of candela equal to 1e-15 candela", + "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": 1e-15, + "x-symbol": "fcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtogram.json b/schemas/bipm/si/2019/base/prefixed/femtogram.json new file mode 100644 index 00000000..2c1b988d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtogram", + "description": "A multiple of mass equal to 1e-15 gram, which is 1e-18 kilogram", + "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": 1e-18, + "x-symbol": "fg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtokelvin.json b/schemas/bipm/si/2019/base/prefixed/femtokelvin.json new file mode 100644 index 00000000..6c2cabe1 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtokelvin", + "description": "A multiple of kelvin equal to 1e-15 kelvin", + "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": 1e-15, + "x-symbol": "fK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtometre.json b/schemas/bipm/si/2019/base/prefixed/femtometre.json new file mode 100644 index 00000000..274e529f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtometre", + "description": "A multiple of metre equal to 1e-15 metre", + "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": 1e-15, + "x-symbol": "fm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtomole.json b/schemas/bipm/si/2019/base/prefixed/femtomole.json new file mode 100644 index 00000000..9ed68bad --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtomole", + "description": "A multiple of mole equal to 1e-15 mole", + "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": 1e-15, + "x-symbol": "fmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/femtosecond.json b/schemas/bipm/si/2019/base/prefixed/femtosecond.json new file mode 100644 index 00000000..fbb1a7a3 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/femtosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtosecond", + "description": "A multiple of second equal to 1e-15 second", + "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": 1e-15, + "x-symbol": "fs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigaampere.json b/schemas/bipm/si/2019/base/prefixed/gigaampere.json new file mode 100644 index 00000000..eb6ec20a --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigaampere", + "description": "A multiple of ampere equal to 1e9 ampere", + "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": 1000000000.0, + "x-symbol": "GA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigacandela.json b/schemas/bipm/si/2019/base/prefixed/gigacandela.json new file mode 100644 index 00000000..c4ad9d9c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigacandela", + "description": "A multiple of candela equal to 1e9 candela", + "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": 1000000000.0, + "x-symbol": "Gcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigagram.json b/schemas/bipm/si/2019/base/prefixed/gigagram.json new file mode 100644 index 00000000..d9de2a4d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigagram", + "description": "A multiple of mass equal to 1e9 gram, which is 1e6 kilogram", + "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": 1000000.0, + "x-symbol": "Gg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigakelvin.json b/schemas/bipm/si/2019/base/prefixed/gigakelvin.json new file mode 100644 index 00000000..80d15a00 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigakelvin", + "description": "A multiple of kelvin equal to 1e9 kelvin", + "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": 1000000000.0, + "x-symbol": "GK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigametre.json b/schemas/bipm/si/2019/base/prefixed/gigametre.json new file mode 100644 index 00000000..9a5e83de --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigametre", + "description": "A multiple of metre equal to 1e9 metre", + "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": 1000000000.0, + "x-symbol": "Gm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigamole.json b/schemas/bipm/si/2019/base/prefixed/gigamole.json new file mode 100644 index 00000000..99c6982f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigamole", + "description": "A multiple of mole equal to 1e9 mole", + "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": 1000000000.0, + "x-symbol": "Gmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gigasecond.json b/schemas/bipm/si/2019/base/prefixed/gigasecond.json new file mode 100644 index 00000000..bb58ea56 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gigasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigasecond", + "description": "A multiple of second equal to 1e9 second", + "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": 1000000000.0, + "x-symbol": "Gs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/gram.json b/schemas/bipm/si/2019/base/prefixed/gram.json new file mode 100644 index 00000000..d0a66b99 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/gram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gram", + "description": "A multiple of mass equal to 10^-3 kilogram", + "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": 0.001, + "x-symbol": "g", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectoampere.json b/schemas/bipm/si/2019/base/prefixed/hectoampere.json new file mode 100644 index 00000000..93f44d2d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectoampere", + "description": "A multiple of ampere equal to 1e2 ampere", + "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": 100.0, + "x-symbol": "hA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectocandela.json b/schemas/bipm/si/2019/base/prefixed/hectocandela.json new file mode 100644 index 00000000..3175ebd5 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectocandela", + "description": "A multiple of candela equal to 1e2 candela", + "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": 100.0, + "x-symbol": "hcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectogram.json b/schemas/bipm/si/2019/base/prefixed/hectogram.json new file mode 100644 index 00000000..69c753dd --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectogram", + "description": "A multiple of mass equal to 1e2 gram, which is 1e-1 kilogram", + "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": 0.1, + "x-symbol": "hg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectokelvin.json b/schemas/bipm/si/2019/base/prefixed/hectokelvin.json new file mode 100644 index 00000000..91949daf --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectokelvin", + "description": "A multiple of kelvin equal to 1e2 kelvin", + "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": 100.0, + "x-symbol": "hK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectometre.json b/schemas/bipm/si/2019/base/prefixed/hectometre.json new file mode 100644 index 00000000..3a36df60 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectometre", + "description": "A multiple of metre equal to 1e2 metre", + "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": 100.0, + "x-symbol": "hm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectomole.json b/schemas/bipm/si/2019/base/prefixed/hectomole.json new file mode 100644 index 00000000..37d38990 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectomole", + "description": "A multiple of mole equal to 1e2 mole", + "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": 100.0, + "x-symbol": "hmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/hectosecond.json b/schemas/bipm/si/2019/base/prefixed/hectosecond.json new file mode 100644 index 00000000..a76d6909 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/hectosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectosecond", + "description": "A multiple of second equal to 1e2 second", + "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": 100.0, + "x-symbol": "hs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/kiloampere.json b/schemas/bipm/si/2019/base/prefixed/kiloampere.json new file mode 100644 index 00000000..af8ea6d2 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/kiloampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kiloampere", + "description": "A multiple of ampere equal to 1e3 ampere", + "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": 1000.0, + "x-symbol": "kA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/kilocandela.json b/schemas/bipm/si/2019/base/prefixed/kilocandela.json new file mode 100644 index 00000000..d570bf7f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/kilocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilocandela", + "description": "A multiple of candela equal to 1e3 candela", + "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": 1000.0, + "x-symbol": "kcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/kilokelvin.json b/schemas/bipm/si/2019/base/prefixed/kilokelvin.json new file mode 100644 index 00000000..a0cc7fc8 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/kilokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilokelvin", + "description": "A multiple of kelvin equal to 1e3 kelvin", + "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": 1000.0, + "x-symbol": "kK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/kilometre.json b/schemas/bipm/si/2019/base/prefixed/kilometre.json new file mode 100644 index 00000000..09b0836c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/kilometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilometre", + "description": "A multiple of metre equal to 1e3 metre", + "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": 1000.0, + "x-symbol": "km", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/kilomole.json b/schemas/bipm/si/2019/base/prefixed/kilomole.json new file mode 100644 index 00000000..fc6cd69a --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/kilomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilomole", + "description": "A multiple of mole equal to 1e3 mole", + "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": 1000.0, + "x-symbol": "kmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/kilosecond.json b/schemas/bipm/si/2019/base/prefixed/kilosecond.json new file mode 100644 index 00000000..e116168d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/kilosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilosecond", + "description": "A multiple of second equal to 1e3 second", + "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": 1000.0, + "x-symbol": "ks", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megaampere.json b/schemas/bipm/si/2019/base/prefixed/megaampere.json new file mode 100644 index 00000000..f29e4ca7 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megaampere", + "description": "A multiple of ampere equal to 1e6 ampere", + "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": 1000000.0, + "x-symbol": "MA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megacandela.json b/schemas/bipm/si/2019/base/prefixed/megacandela.json new file mode 100644 index 00000000..082cce3f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megacandela", + "description": "A multiple of candela equal to 1e6 candela", + "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": 1000000.0, + "x-symbol": "Mcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megagram.json b/schemas/bipm/si/2019/base/prefixed/megagram.json new file mode 100644 index 00000000..ae2a21df --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megagram", + "description": "A multiple of mass equal to 1e6 gram, which is 1e3 kilogram", + "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": 1000.0, + "x-symbol": "Mg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megakelvin.json b/schemas/bipm/si/2019/base/prefixed/megakelvin.json new file mode 100644 index 00000000..1ce40a6d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megakelvin", + "description": "A multiple of kelvin equal to 1e6 kelvin", + "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": 1000000.0, + "x-symbol": "MK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megametre.json b/schemas/bipm/si/2019/base/prefixed/megametre.json new file mode 100644 index 00000000..50f47d4c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megametre", + "description": "A multiple of metre equal to 1e6 metre", + "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": 1000000.0, + "x-symbol": "Mm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megamole.json b/schemas/bipm/si/2019/base/prefixed/megamole.json new file mode 100644 index 00000000..553d77e4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megamole", + "description": "A multiple of mole equal to 1e6 mole", + "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": 1000000.0, + "x-symbol": "Mmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/megasecond.json b/schemas/bipm/si/2019/base/prefixed/megasecond.json new file mode 100644 index 00000000..eef61073 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/megasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megasecond", + "description": "A multiple of second equal to 1e6 second", + "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": 1000000.0, + "x-symbol": "Ms", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/microampere.json b/schemas/bipm/si/2019/base/prefixed/microampere.json new file mode 100644 index 00000000..a0105ef3 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/microampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microampere", + "description": "A multiple of ampere equal to 1e-6 ampere", + "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": 1e-6, + "x-symbol": "µA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/microcandela.json b/schemas/bipm/si/2019/base/prefixed/microcandela.json new file mode 100644 index 00000000..f8d80e2e --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/microcandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microcandela", + "description": "A multiple of candela equal to 1e-6 candela", + "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": 1e-6, + "x-symbol": "µcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/microgram.json b/schemas/bipm/si/2019/base/prefixed/microgram.json new file mode 100644 index 00000000..0eb23bb0 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/microgram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microgram", + "description": "A multiple of mass equal to 1e-6 gram, which is 1e-9 kilogram", + "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": 1e-9, + "x-symbol": "µg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/microkelvin.json b/schemas/bipm/si/2019/base/prefixed/microkelvin.json new file mode 100644 index 00000000..2d9de5dd --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/microkelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microkelvin", + "description": "A multiple of kelvin equal to 1e-6 kelvin", + "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": 1e-6, + "x-symbol": "µK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/micrometre.json b/schemas/bipm/si/2019/base/prefixed/micrometre.json new file mode 100644 index 00000000..f74558bd --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/micrometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Micrometre", + "description": "A multiple of metre equal to 1e-6 metre", + "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": 1e-6, + "x-symbol": "µm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/micromole.json b/schemas/bipm/si/2019/base/prefixed/micromole.json new file mode 100644 index 00000000..f5bcf306 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/micromole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Micromole", + "description": "A multiple of mole equal to 1e-6 mole", + "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": 1e-6, + "x-symbol": "µmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/microsecond.json b/schemas/bipm/si/2019/base/prefixed/microsecond.json new file mode 100644 index 00000000..8868fefa --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/microsecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microsecond", + "description": "A multiple of second equal to 1e-6 second", + "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": 1e-6, + "x-symbol": "µs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/milliampere.json b/schemas/bipm/si/2019/base/prefixed/milliampere.json new file mode 100644 index 00000000..dc682b27 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/milliampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milliampere", + "description": "A multiple of ampere equal to 1e-3 ampere", + "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": 0.001, + "x-symbol": "mA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/millicandela.json b/schemas/bipm/si/2019/base/prefixed/millicandela.json new file mode 100644 index 00000000..72db8af4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/millicandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millicandela", + "description": "A multiple of candela equal to 1e-3 candela", + "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": 0.001, + "x-symbol": "mcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/milligram.json b/schemas/bipm/si/2019/base/prefixed/milligram.json new file mode 100644 index 00000000..27c9d0d3 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/milligram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milligram", + "description": "A multiple of mass equal to 1e-3 gram, which is 1e-6 kilogram", + "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": 1e-6, + "x-symbol": "mg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/millikelvin.json b/schemas/bipm/si/2019/base/prefixed/millikelvin.json new file mode 100644 index 00000000..404a3f68 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/millikelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millikelvin", + "description": "A multiple of kelvin equal to 1e-3 kelvin", + "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": 0.001, + "x-symbol": "mK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/millimetre.json b/schemas/bipm/si/2019/base/prefixed/millimetre.json new file mode 100644 index 00000000..02b37ff9 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/millimetre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millimetre", + "description": "A multiple of metre equal to 1e-3 metre", + "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": 0.001, + "x-symbol": "mm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/millimole.json b/schemas/bipm/si/2019/base/prefixed/millimole.json new file mode 100644 index 00000000..465a3cc6 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/millimole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millimole", + "description": "A multiple of mole equal to 1e-3 mole", + "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": 0.001, + "x-symbol": "mmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/millisecond.json b/schemas/bipm/si/2019/base/prefixed/millisecond.json new file mode 100644 index 00000000..f8b8e2d6 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/millisecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millisecond", + "description": "A multiple of second equal to 1e-3 second", + "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": 0.001, + "x-symbol": "ms", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanoampere.json b/schemas/bipm/si/2019/base/prefixed/nanoampere.json new file mode 100644 index 00000000..a2364f81 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanoampere", + "description": "A multiple of ampere equal to 1e-9 ampere", + "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": 1e-9, + "x-symbol": "nA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanocandela.json b/schemas/bipm/si/2019/base/prefixed/nanocandela.json new file mode 100644 index 00000000..f09d273b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanocandela", + "description": "A multiple of candela equal to 1e-9 candela", + "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": 1e-9, + "x-symbol": "ncd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanogram.json b/schemas/bipm/si/2019/base/prefixed/nanogram.json new file mode 100644 index 00000000..2902a91e --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanogram", + "description": "A multiple of mass equal to 1e-9 gram, which is 1e-12 kilogram", + "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": 1e-12, + "x-symbol": "ng", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanokelvin.json b/schemas/bipm/si/2019/base/prefixed/nanokelvin.json new file mode 100644 index 00000000..82f6345b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanokelvin", + "description": "A multiple of kelvin equal to 1e-9 kelvin", + "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": 1e-9, + "x-symbol": "nK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanometre.json b/schemas/bipm/si/2019/base/prefixed/nanometre.json new file mode 100644 index 00000000..d842f433 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanometre", + "description": "A multiple of metre equal to 1e-9 metre", + "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": 1e-9, + "x-symbol": "nm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanomole.json b/schemas/bipm/si/2019/base/prefixed/nanomole.json new file mode 100644 index 00000000..9abfdcaf --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanomole", + "description": "A multiple of mole equal to 1e-9 mole", + "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": 1e-9, + "x-symbol": "nmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/nanosecond.json b/schemas/bipm/si/2019/base/prefixed/nanosecond.json new file mode 100644 index 00000000..d0108b03 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/nanosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanosecond", + "description": "A multiple of second equal to 1e-9 second", + "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": 1e-9, + "x-symbol": "ns", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petaampere.json b/schemas/bipm/si/2019/base/prefixed/petaampere.json new file mode 100644 index 00000000..45ad91c6 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petaampere", + "description": "A multiple of ampere equal to 1e15 ampere", + "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-symbol": "PA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petacandela.json b/schemas/bipm/si/2019/base/prefixed/petacandela.json new file mode 100644 index 00000000..f563dde4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petacandela", + "description": "A multiple of candela equal to 1e15 candela", + "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-symbol": "Pcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petagram.json b/schemas/bipm/si/2019/base/prefixed/petagram.json new file mode 100644 index 00000000..b35e0e16 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petagram", + "description": "A multiple of mass equal to 1e15 gram, which is 1e12 kilogram", + "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": 1000000000000.0, + "x-symbol": "Pg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petakelvin.json b/schemas/bipm/si/2019/base/prefixed/petakelvin.json new file mode 100644 index 00000000..8cbe908e --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petakelvin", + "description": "A multiple of kelvin equal to 1e15 kelvin", + "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-symbol": "PK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petametre.json b/schemas/bipm/si/2019/base/prefixed/petametre.json new file mode 100644 index 00000000..538c8a42 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petametre", + "description": "A multiple of metre equal to 1e15 metre", + "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-symbol": "Pm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petamole.json b/schemas/bipm/si/2019/base/prefixed/petamole.json new file mode 100644 index 00000000..6bfe4986 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petamole", + "description": "A multiple of mole equal to 1e15 mole", + "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-symbol": "Pmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/petasecond.json b/schemas/bipm/si/2019/base/prefixed/petasecond.json new file mode 100644 index 00000000..fd8af999 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/petasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petasecond", + "description": "A multiple of second equal to 1e15 second", + "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-symbol": "Ps", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picoampere.json b/schemas/bipm/si/2019/base/prefixed/picoampere.json new file mode 100644 index 00000000..8f35c558 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picoampere", + "description": "A multiple of ampere equal to 1e-12 ampere", + "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": 1e-12, + "x-symbol": "pA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picocandela.json b/schemas/bipm/si/2019/base/prefixed/picocandela.json new file mode 100644 index 00000000..cf6da16f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picocandela", + "description": "A multiple of candela equal to 1e-12 candela", + "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": 1e-12, + "x-symbol": "pcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picogram.json b/schemas/bipm/si/2019/base/prefixed/picogram.json new file mode 100644 index 00000000..f7987957 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picogram", + "description": "A multiple of mass equal to 1e-12 gram, which is 1e-15 kilogram", + "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": 1e-15, + "x-symbol": "pg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picokelvin.json b/schemas/bipm/si/2019/base/prefixed/picokelvin.json new file mode 100644 index 00000000..ec02fbe0 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picokelvin", + "description": "A multiple of kelvin equal to 1e-12 kelvin", + "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": 1e-12, + "x-symbol": "pK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picometre.json b/schemas/bipm/si/2019/base/prefixed/picometre.json new file mode 100644 index 00000000..f674539f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picometre", + "description": "A multiple of metre equal to 1e-12 metre", + "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": 1e-12, + "x-symbol": "pm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picomole.json b/schemas/bipm/si/2019/base/prefixed/picomole.json new file mode 100644 index 00000000..bd36fa61 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picomole", + "description": "A multiple of mole equal to 1e-12 mole", + "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": 1e-12, + "x-symbol": "pmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/picosecond.json b/schemas/bipm/si/2019/base/prefixed/picosecond.json new file mode 100644 index 00000000..056a3370 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/picosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picosecond", + "description": "A multiple of second equal to 1e-12 second", + "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": 1e-12, + "x-symbol": "ps", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectoampere.json b/schemas/bipm/si/2019/base/prefixed/quectoampere.json new file mode 100644 index 00000000..6e5b6562 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectoampere", + "description": "A multiple of ampere equal to 1e-30 ampere", + "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": 1e-30, + "x-symbol": "qA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectocandela.json b/schemas/bipm/si/2019/base/prefixed/quectocandela.json new file mode 100644 index 00000000..ef138f0d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectocandela", + "description": "A multiple of candela equal to 1e-30 candela", + "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": 1e-30, + "x-symbol": "qcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectogram.json b/schemas/bipm/si/2019/base/prefixed/quectogram.json new file mode 100644 index 00000000..3fdccacb --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectogram", + "description": "A multiple of mass equal to 1e-30 gram, which is 1e-33 kilogram", + "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": 1e-33, + "x-symbol": "qg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectokelvin.json b/schemas/bipm/si/2019/base/prefixed/quectokelvin.json new file mode 100644 index 00000000..812135db --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectokelvin", + "description": "A multiple of kelvin equal to 1e-30 kelvin", + "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": 1e-30, + "x-symbol": "qK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectometre.json b/schemas/bipm/si/2019/base/prefixed/quectometre.json new file mode 100644 index 00000000..78278c94 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectometre", + "description": "A multiple of metre equal to 1e-30 metre", + "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": 1e-30, + "x-symbol": "qm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectomole.json b/schemas/bipm/si/2019/base/prefixed/quectomole.json new file mode 100644 index 00000000..6d9d404b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectomole", + "description": "A multiple of mole equal to 1e-30 mole", + "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": 1e-30, + "x-symbol": "qmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quectosecond.json b/schemas/bipm/si/2019/base/prefixed/quectosecond.json new file mode 100644 index 00000000..67545eb2 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quectosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectosecond", + "description": "A multiple of second equal to 1e-30 second", + "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": 1e-30, + "x-symbol": "qs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettaampere.json b/schemas/bipm/si/2019/base/prefixed/quettaampere.json new file mode 100644 index 00000000..161a7e8f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettaampere", + "description": "A multiple of ampere equal to 1e30 ampere", + "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": 1e+30, + "x-symbol": "QA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettacandela.json b/schemas/bipm/si/2019/base/prefixed/quettacandela.json new file mode 100644 index 00000000..755a65e9 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettacandela", + "description": "A multiple of candela equal to 1e30 candela", + "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": 1e+30, + "x-symbol": "Qcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettagram.json b/schemas/bipm/si/2019/base/prefixed/quettagram.json new file mode 100644 index 00000000..ee609203 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettagram", + "description": "A multiple of mass equal to 1e30 gram, which is 1e27 kilogram", + "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": 1e+27, + "x-symbol": "Qg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettakelvin.json b/schemas/bipm/si/2019/base/prefixed/quettakelvin.json new file mode 100644 index 00000000..9d6cbd1f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettakelvin", + "description": "A multiple of kelvin equal to 1e30 kelvin", + "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": 1e+30, + "x-symbol": "QK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettametre.json b/schemas/bipm/si/2019/base/prefixed/quettametre.json new file mode 100644 index 00000000..cef552fb --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettametre", + "description": "A multiple of metre equal to 1e30 metre", + "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": 1e+30, + "x-symbol": "Qm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettamole.json b/schemas/bipm/si/2019/base/prefixed/quettamole.json new file mode 100644 index 00000000..9204ba44 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettamole", + "description": "A multiple of mole equal to 1e30 mole", + "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": 1e+30, + "x-symbol": "Qmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/quettasecond.json b/schemas/bipm/si/2019/base/prefixed/quettasecond.json new file mode 100644 index 00000000..cacb9def --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/quettasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettasecond", + "description": "A multiple of second equal to 1e30 second", + "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": 1e+30, + "x-symbol": "Qs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnaampere.json b/schemas/bipm/si/2019/base/prefixed/ronnaampere.json new file mode 100644 index 00000000..96f80d48 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnaampere", + "description": "A multiple of ampere equal to 1e27 ampere", + "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": 1e+27, + "x-symbol": "RA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnacandela.json b/schemas/bipm/si/2019/base/prefixed/ronnacandela.json new file mode 100644 index 00000000..4654f77b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnacandela", + "description": "A multiple of candela equal to 1e27 candela", + "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": 1e+27, + "x-symbol": "Rcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnagram.json b/schemas/bipm/si/2019/base/prefixed/ronnagram.json new file mode 100644 index 00000000..c7b046fa --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnagram", + "description": "A multiple of mass equal to 1e27 gram, which is 1e24 kilogram", + "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": 1e+24, + "x-symbol": "Rg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnakelvin.json b/schemas/bipm/si/2019/base/prefixed/ronnakelvin.json new file mode 100644 index 00000000..a22d68fe --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnakelvin", + "description": "A multiple of kelvin equal to 1e27 kelvin", + "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": 1e+27, + "x-symbol": "RK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnametre.json b/schemas/bipm/si/2019/base/prefixed/ronnametre.json new file mode 100644 index 00000000..c45800ba --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnametre", + "description": "A multiple of metre equal to 1e27 metre", + "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": 1e+27, + "x-symbol": "Rm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnamole.json b/schemas/bipm/si/2019/base/prefixed/ronnamole.json new file mode 100644 index 00000000..a6a2e33b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnamole", + "description": "A multiple of mole equal to 1e27 mole", + "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": 1e+27, + "x-symbol": "Rmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/ronnasecond.json b/schemas/bipm/si/2019/base/prefixed/ronnasecond.json new file mode 100644 index 00000000..b5de9d2b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/ronnasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnasecond", + "description": "A multiple of second equal to 1e27 second", + "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": 1e+27, + "x-symbol": "Rs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontoampere.json b/schemas/bipm/si/2019/base/prefixed/rontoampere.json new file mode 100644 index 00000000..416918d8 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontoampere", + "description": "A multiple of ampere equal to 1e-27 ampere", + "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": 1e-27, + "x-symbol": "rA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontocandela.json b/schemas/bipm/si/2019/base/prefixed/rontocandela.json new file mode 100644 index 00000000..1040d2a3 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontocandela", + "description": "A multiple of candela equal to 1e-27 candela", + "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": 1e-27, + "x-symbol": "rcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontogram.json b/schemas/bipm/si/2019/base/prefixed/rontogram.json new file mode 100644 index 00000000..dabcb7a5 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontogram", + "description": "A multiple of mass equal to 1e-27 gram, which is 1e-30 kilogram", + "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": 1e-30, + "x-symbol": "rg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontokelvin.json b/schemas/bipm/si/2019/base/prefixed/rontokelvin.json new file mode 100644 index 00000000..69751569 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontokelvin", + "description": "A multiple of kelvin equal to 1e-27 kelvin", + "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": 1e-27, + "x-symbol": "rK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontometre.json b/schemas/bipm/si/2019/base/prefixed/rontometre.json new file mode 100644 index 00000000..54f2bcd4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontometre", + "description": "A multiple of metre equal to 1e-27 metre", + "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": 1e-27, + "x-symbol": "rm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontomole.json b/schemas/bipm/si/2019/base/prefixed/rontomole.json new file mode 100644 index 00000000..e34d041b --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontomole", + "description": "A multiple of mole equal to 1e-27 mole", + "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": 1e-27, + "x-symbol": "rmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/rontosecond.json b/schemas/bipm/si/2019/base/prefixed/rontosecond.json new file mode 100644 index 00000000..7ec1b9e1 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/rontosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontosecond", + "description": "A multiple of second equal to 1e-27 second", + "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": 1e-27, + "x-symbol": "rs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/teraampere.json b/schemas/bipm/si/2019/base/prefixed/teraampere.json new file mode 100644 index 00000000..71bed779 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/teraampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teraampere", + "description": "A multiple of ampere equal to 1e12 ampere", + "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": 1000000000000.0, + "x-symbol": "TA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/teracandela.json b/schemas/bipm/si/2019/base/prefixed/teracandela.json new file mode 100644 index 00000000..595e77ca --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/teracandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teracandela", + "description": "A multiple of candela equal to 1e12 candela", + "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": 1000000000000.0, + "x-symbol": "Tcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/teragram.json b/schemas/bipm/si/2019/base/prefixed/teragram.json new file mode 100644 index 00000000..574130a4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/teragram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teragram", + "description": "A multiple of mass equal to 1e12 gram, which is 1e9 kilogram", + "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": 1000000000.0, + "x-symbol": "Tg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/terakelvin.json b/schemas/bipm/si/2019/base/prefixed/terakelvin.json new file mode 100644 index 00000000..ed5cbd1d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/terakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terakelvin", + "description": "A multiple of kelvin equal to 1e12 kelvin", + "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": 1000000000000.0, + "x-symbol": "TK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/terametre.json b/schemas/bipm/si/2019/base/prefixed/terametre.json new file mode 100644 index 00000000..32c73efd --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/terametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terametre", + "description": "A multiple of metre equal to 1e12 metre", + "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": 1000000000000.0, + "x-symbol": "Tm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/teramole.json b/schemas/bipm/si/2019/base/prefixed/teramole.json new file mode 100644 index 00000000..d9d8b063 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/teramole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teramole", + "description": "A multiple of mole equal to 1e12 mole", + "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": 1000000000000.0, + "x-symbol": "Tmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/terasecond.json b/schemas/bipm/si/2019/base/prefixed/terasecond.json new file mode 100644 index 00000000..7b0db785 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/terasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terasecond", + "description": "A multiple of second equal to 1e12 second", + "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": 1000000000000.0, + "x-symbol": "Ts", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctoampere.json b/schemas/bipm/si/2019/base/prefixed/yoctoampere.json new file mode 100644 index 00000000..709fd69f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctoampere", + "description": "A multiple of ampere equal to 1e-24 ampere", + "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": 1e-24, + "x-symbol": "yA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctocandela.json b/schemas/bipm/si/2019/base/prefixed/yoctocandela.json new file mode 100644 index 00000000..81cfcbc0 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctocandela", + "description": "A multiple of candela equal to 1e-24 candela", + "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": 1e-24, + "x-symbol": "ycd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctogram.json b/schemas/bipm/si/2019/base/prefixed/yoctogram.json new file mode 100644 index 00000000..85f69743 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctogram", + "description": "A multiple of mass equal to 1e-24 gram, which is 1e-27 kilogram", + "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": 1e-27, + "x-symbol": "yg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctokelvin.json b/schemas/bipm/si/2019/base/prefixed/yoctokelvin.json new file mode 100644 index 00000000..53a78123 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctokelvin", + "description": "A multiple of kelvin equal to 1e-24 kelvin", + "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": 1e-24, + "x-symbol": "yK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctometre.json b/schemas/bipm/si/2019/base/prefixed/yoctometre.json new file mode 100644 index 00000000..4188b835 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctometre", + "description": "A multiple of metre equal to 1e-24 metre", + "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": 1e-24, + "x-symbol": "ym", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctomole.json b/schemas/bipm/si/2019/base/prefixed/yoctomole.json new file mode 100644 index 00000000..5c502f52 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctomole", + "description": "A multiple of mole equal to 1e-24 mole", + "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": 1e-24, + "x-symbol": "ymol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yoctosecond.json b/schemas/bipm/si/2019/base/prefixed/yoctosecond.json new file mode 100644 index 00000000..a4aad158 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yoctosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctosecond", + "description": "A multiple of second equal to 1e-24 second", + "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": 1e-24, + "x-symbol": "ys", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottaampere.json b/schemas/bipm/si/2019/base/prefixed/yottaampere.json new file mode 100644 index 00000000..0819370a --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottaampere", + "description": "A multiple of ampere equal to 1e24 ampere", + "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": 1e+24, + "x-symbol": "YA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottacandela.json b/schemas/bipm/si/2019/base/prefixed/yottacandela.json new file mode 100644 index 00000000..4a3e8f56 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottacandela", + "description": "A multiple of candela equal to 1e24 candela", + "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": 1e+24, + "x-symbol": "Ycd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottagram.json b/schemas/bipm/si/2019/base/prefixed/yottagram.json new file mode 100644 index 00000000..34df8529 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottagram", + "description": "A multiple of mass equal to 1e24 gram, which is 1e21 kilogram", + "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": 1e+21, + "x-symbol": "Yg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottakelvin.json b/schemas/bipm/si/2019/base/prefixed/yottakelvin.json new file mode 100644 index 00000000..6d8e66e4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottakelvin", + "description": "A multiple of kelvin equal to 1e24 kelvin", + "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": 1e+24, + "x-symbol": "YK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottametre.json b/schemas/bipm/si/2019/base/prefixed/yottametre.json new file mode 100644 index 00000000..464044fe --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottametre", + "description": "A multiple of metre equal to 1e24 metre", + "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": 1e+24, + "x-symbol": "Ym", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottamole.json b/schemas/bipm/si/2019/base/prefixed/yottamole.json new file mode 100644 index 00000000..8ed444dd --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottamole", + "description": "A multiple of mole equal to 1e24 mole", + "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": 1e+24, + "x-symbol": "Ymol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/yottasecond.json b/schemas/bipm/si/2019/base/prefixed/yottasecond.json new file mode 100644 index 00000000..0ba2a35d --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/yottasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottasecond", + "description": "A multiple of second equal to 1e24 second", + "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": 1e+24, + "x-symbol": "Ys", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptoampere.json b/schemas/bipm/si/2019/base/prefixed/zeptoampere.json new file mode 100644 index 00000000..e4dd8f10 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptoampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptoampere", + "description": "A multiple of ampere equal to 1e-21 ampere", + "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": 1e-21, + "x-symbol": "zA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptocandela.json b/schemas/bipm/si/2019/base/prefixed/zeptocandela.json new file mode 100644 index 00000000..d059b5c0 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptocandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptocandela", + "description": "A multiple of candela equal to 1e-21 candela", + "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": 1e-21, + "x-symbol": "zcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptogram.json b/schemas/bipm/si/2019/base/prefixed/zeptogram.json new file mode 100644 index 00000000..f53c7069 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptogram", + "description": "A multiple of mass equal to 1e-21 gram, which is 1e-24 kilogram", + "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": 1e-24, + "x-symbol": "zg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptokelvin.json b/schemas/bipm/si/2019/base/prefixed/zeptokelvin.json new file mode 100644 index 00000000..22966a2a --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptokelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptokelvin", + "description": "A multiple of kelvin equal to 1e-21 kelvin", + "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": 1e-21, + "x-symbol": "zK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptometre.json b/schemas/bipm/si/2019/base/prefixed/zeptometre.json new file mode 100644 index 00000000..2a905ead --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptometre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptometre", + "description": "A multiple of metre equal to 1e-21 metre", + "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": 1e-21, + "x-symbol": "zm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptomole.json b/schemas/bipm/si/2019/base/prefixed/zeptomole.json new file mode 100644 index 00000000..e20eb1e1 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptomole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptomole", + "description": "A multiple of mole equal to 1e-21 mole", + "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": 1e-21, + "x-symbol": "zmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zeptosecond.json b/schemas/bipm/si/2019/base/prefixed/zeptosecond.json new file mode 100644 index 00000000..e3828857 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zeptosecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptosecond", + "description": "A multiple of second equal to 1e-21 second", + "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": 1e-21, + "x-symbol": "zs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettaampere.json b/schemas/bipm/si/2019/base/prefixed/zettaampere.json new file mode 100644 index 00000000..d827d7ba --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettaampere.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettaampere", + "description": "A multiple of ampere equal to 1e21 ampere", + "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": 1e+21, + "x-symbol": "ZA", + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettacandela.json b/schemas/bipm/si/2019/base/prefixed/zettacandela.json new file mode 100644 index 00000000..100e9b3c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettacandela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettacandela", + "description": "A multiple of candela equal to 1e21 candela", + "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": 1e+21, + "x-symbol": "Zcd", + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettagram.json b/schemas/bipm/si/2019/base/prefixed/zettagram.json new file mode 100644 index 00000000..5f75b0c4 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettagram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettagram", + "description": "A multiple of mass equal to 1e21 gram, which is 1e18 kilogram", + "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": 1e+18, + "x-symbol": "Zg", + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettakelvin.json b/schemas/bipm/si/2019/base/prefixed/zettakelvin.json new file mode 100644 index 00000000..d121db74 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettakelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettakelvin", + "description": "A multiple of kelvin equal to 1e21 kelvin", + "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": 1e+21, + "x-symbol": "ZK", + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettametre.json b/schemas/bipm/si/2019/base/prefixed/zettametre.json new file mode 100644 index 00000000..2339400f --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettametre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettametre", + "description": "A multiple of metre equal to 1e21 metre", + "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": 1e+21, + "x-symbol": "Zm", + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettamole.json b/schemas/bipm/si/2019/base/prefixed/zettamole.json new file mode 100644 index 00000000..ce8c380c --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettamole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettamole", + "description": "A multiple of mole equal to 1e21 mole", + "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": 1e+21, + "x-symbol": "Zmol", + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/prefixed/zettasecond.json b/schemas/bipm/si/2019/base/prefixed/zettasecond.json new file mode 100644 index 00000000..b0fe94f6 --- /dev/null +++ b/schemas/bipm/si/2019/base/prefixed/zettasecond.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettasecond", + "description": "A multiple of second equal to 1e21 second", + "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": 1e+21, + "x-symbol": "Zs", + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/amount-of-substance.json b/schemas/bipm/si/2019/base/quantity/amount-of-substance.json new file mode 100644 index 00000000..5025a46f --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/amount-of-substance.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Amount of substance", + "description": "Amount of substance is a base quantity measured in moles", + "examples": [ 0.001, 1, 2, 10, 0.5, 1.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/mole.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/electric-current.json b/schemas/bipm/si/2019/base/quantity/electric-current.json new file mode 100644 index 00000000..ff5f9be8 --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/electric-current.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Electric current", + "description": "Electric current is a base quantity measured in amperes", + "examples": [ 0, 1, 5, 10, 0.001, 2.5, -1.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/ampere.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/length.json b/schemas/bipm/si/2019/base/quantity/length.json new file mode 100644 index 00000000..abdab19d --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/length.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Length", + "description": "Length is a base quantity measured in metres", + "examples": [ 0, 1, 0.001, 1000, 1.75, 9.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/metre.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/luminous-intensity.json b/schemas/bipm/si/2019/base/quantity/luminous-intensity.json new file mode 100644 index 00000000..ff051943 --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/luminous-intensity.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Luminous intensity", + "description": "Luminous intensity is a base quantity measured in candelas", + "examples": [ 1, 10, 100, 1000, 12.5, 0.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/candela.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/mass.json b/schemas/bipm/si/2019/base/quantity/mass.json new file mode 100644 index 00000000..c92007c0 --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/mass.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Mass", + "description": "Mass is a base quantity measured in kilograms", + "examples": [ 0.001, 1, 10, 100, 1000, 0.5, 75.3 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/kilogram.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/thermodynamic-temperature.json b/schemas/bipm/si/2019/base/quantity/thermodynamic-temperature.json new file mode 100644 index 00000000..ef9e7065 --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/thermodynamic-temperature.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Thermodynamic temperature", + "description": "Thermodynamic temperature is a base quantity measured in kelvins", + "examples": [ 0, 273.15, 293.15, 373.15, 100, 300 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/kelvin.json" +} diff --git a/schemas/bipm/si/2019/base/quantity/time.json b/schemas/bipm/si/2019/base/quantity/time.json new file mode 100644 index 00000000..56031ad9 --- /dev/null +++ b/schemas/bipm/si/2019/base/quantity/time.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Time", + "description": "Time is a base quantity measured in seconds", + "examples": [ 0, 1, 60, 3600, 86400, 0.001, 1.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/second.json" +} diff --git a/schemas/bipm/si/2019/base/symbol.json b/schemas/bipm/si/2019/base/symbol.json new file mode 100644 index 00000000..f0437c0d --- /dev/null +++ b/schemas/bipm/si/2019/base/symbol.json @@ -0,0 +1,710 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Base unit symbol", + "description": "The symbol of an SI base unit or prefixed base unit", + "examples": [ "s", "m", "kg", "A", "K", "mol", "cd", "ms", "km", "g", "µA" ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "anyOf": [ + { + "title": "Second", + "const": "s" + }, + { + "title": "Metre", + "const": "m" + }, + { + "title": "Kilogram", + "const": "kg" + }, + { + "title": "Ampere", + "const": "A" + }, + { + "title": "Kelvin", + "const": "K" + }, + { + "title": "Mole", + "const": "mol" + }, + { + "title": "Candela", + "const": "cd" + }, + { + "title": "Attoampere", + "const": "aA" + }, + { + "title": "Attocandela", + "const": "acd" + }, + { + "title": "Attogram", + "const": "ag" + }, + { + "title": "Attokelvin", + "const": "aK" + }, + { + "title": "Attometre", + "const": "am" + }, + { + "title": "Attomole", + "const": "amol" + }, + { + "title": "Attosecond", + "const": "as" + }, + { + "title": "Centiampere", + "const": "cA" + }, + { + "title": "Centicandela", + "const": "ccd" + }, + { + "title": "Centigram", + "const": "cg" + }, + { + "title": "Centikelvin", + "const": "cK" + }, + { + "title": "Centimetre", + "const": "cm" + }, + { + "title": "Centimole", + "const": "cmol" + }, + { + "title": "Centisecond", + "const": "cs" + }, + { + "title": "Decaampere", + "const": "daA" + }, + { + "title": "Decacandela", + "const": "dacd" + }, + { + "title": "Decagram", + "const": "dag" + }, + { + "title": "Decakelvin", + "const": "daK" + }, + { + "title": "Decametre", + "const": "dam" + }, + { + "title": "Decamole", + "const": "damol" + }, + { + "title": "Decasecond", + "const": "das" + }, + { + "title": "Deciampere", + "const": "dA" + }, + { + "title": "Decicandela", + "const": "dcd" + }, + { + "title": "Decigram", + "const": "dg" + }, + { + "title": "Decikelvin", + "const": "dK" + }, + { + "title": "Decimetre", + "const": "dm" + }, + { + "title": "Decimole", + "const": "dmol" + }, + { + "title": "Decisecond", + "const": "ds" + }, + { + "title": "Exaampere", + "const": "EA" + }, + { + "title": "Exacandela", + "const": "Ecd" + }, + { + "title": "Exagram", + "const": "Eg" + }, + { + "title": "Exakelvin", + "const": "EK" + }, + { + "title": "Exametre", + "const": "Em" + }, + { + "title": "Examole", + "const": "Emol" + }, + { + "title": "Exasecond", + "const": "Es" + }, + { + "title": "Femtoampere", + "const": "fA" + }, + { + "title": "Femtocandela", + "const": "fcd" + }, + { + "title": "Femtogram", + "const": "fg" + }, + { + "title": "Femtokelvin", + "const": "fK" + }, + { + "title": "Femtometre", + "const": "fm" + }, + { + "title": "Femtomole", + "const": "fmol" + }, + { + "title": "Femtosecond", + "const": "fs" + }, + { + "title": "Gigaampere", + "const": "GA" + }, + { + "title": "Gigacandela", + "const": "Gcd" + }, + { + "title": "Gigagram", + "const": "Gg" + }, + { + "title": "Gigakelvin", + "const": "GK" + }, + { + "title": "Gigametre", + "const": "Gm" + }, + { + "title": "Gigamole", + "const": "Gmol" + }, + { + "title": "Gigasecond", + "const": "Gs" + }, + { + "title": "Gram", + "const": "g" + }, + { + "title": "Hectoampere", + "const": "hA" + }, + { + "title": "Hectocandela", + "const": "hcd" + }, + { + "title": "Hectogram", + "const": "hg" + }, + { + "title": "Hectokelvin", + "const": "hK" + }, + { + "title": "Hectometre", + "const": "hm" + }, + { + "title": "Hectomole", + "const": "hmol" + }, + { + "title": "Hectosecond", + "const": "hs" + }, + { + "title": "Kiloampere", + "const": "kA" + }, + { + "title": "Kilocandela", + "const": "kcd" + }, + { + "title": "Kilokelvin", + "const": "kK" + }, + { + "title": "Kilometre", + "const": "km" + }, + { + "title": "Kilomole", + "const": "kmol" + }, + { + "title": "Kilosecond", + "const": "ks" + }, + { + "title": "Megaampere", + "const": "MA" + }, + { + "title": "Megacandela", + "const": "Mcd" + }, + { + "title": "Megagram", + "const": "Mg" + }, + { + "title": "Megakelvin", + "const": "MK" + }, + { + "title": "Megametre", + "const": "Mm" + }, + { + "title": "Megamole", + "const": "Mmol" + }, + { + "title": "Megasecond", + "const": "Ms" + }, + { + "title": "Microampere", + "const": "µA" + }, + { + "title": "Microcandela", + "const": "µcd" + }, + { + "title": "Microgram", + "const": "µg" + }, + { + "title": "Microkelvin", + "const": "µK" + }, + { + "title": "Micrometre", + "const": "µm" + }, + { + "title": "Micromole", + "const": "µmol" + }, + { + "title": "Microsecond", + "const": "µs" + }, + { + "title": "Milliampere", + "const": "mA" + }, + { + "title": "Millicandela", + "const": "mcd" + }, + { + "title": "Milligram", + "const": "mg" + }, + { + "title": "Millikelvin", + "const": "mK" + }, + { + "title": "Millimetre", + "const": "mm" + }, + { + "title": "Millimole", + "const": "mmol" + }, + { + "title": "Millisecond", + "const": "ms" + }, + { + "title": "Nanoampere", + "const": "nA" + }, + { + "title": "Nanocandela", + "const": "ncd" + }, + { + "title": "Nanogram", + "const": "ng" + }, + { + "title": "Nanokelvin", + "const": "nK" + }, + { + "title": "Nanometre", + "const": "nm" + }, + { + "title": "Nanomole", + "const": "nmol" + }, + { + "title": "Nanosecond", + "const": "ns" + }, + { + "title": "Petaampere", + "const": "PA" + }, + { + "title": "Petacandela", + "const": "Pcd" + }, + { + "title": "Petagram", + "const": "Pg" + }, + { + "title": "Petakelvin", + "const": "PK" + }, + { + "title": "Petametre", + "const": "Pm" + }, + { + "title": "Petamole", + "const": "Pmol" + }, + { + "title": "Petasecond", + "const": "Ps" + }, + { + "title": "Picoampere", + "const": "pA" + }, + { + "title": "Picocandela", + "const": "pcd" + }, + { + "title": "Picogram", + "const": "pg" + }, + { + "title": "Picokelvin", + "const": "pK" + }, + { + "title": "Picometre", + "const": "pm" + }, + { + "title": "Picomole", + "const": "pmol" + }, + { + "title": "Picosecond", + "const": "ps" + }, + { + "title": "Quectoampere", + "const": "qA" + }, + { + "title": "Quectocandela", + "const": "qcd" + }, + { + "title": "Quectogram", + "const": "qg" + }, + { + "title": "Quectokelvin", + "const": "qK" + }, + { + "title": "Quectometre", + "const": "qm" + }, + { + "title": "Quectomole", + "const": "qmol" + }, + { + "title": "Quectosecond", + "const": "qs" + }, + { + "title": "Quettaampere", + "const": "QA" + }, + { + "title": "Quettacandela", + "const": "Qcd" + }, + { + "title": "Quettagram", + "const": "Qg" + }, + { + "title": "Quettakelvin", + "const": "QK" + }, + { + "title": "Quettametre", + "const": "Qm" + }, + { + "title": "Quettamole", + "const": "Qmol" + }, + { + "title": "Quettasecond", + "const": "Qs" + }, + { + "title": "Ronnaampere", + "const": "RA" + }, + { + "title": "Ronnacandela", + "const": "Rcd" + }, + { + "title": "Ronnagram", + "const": "Rg" + }, + { + "title": "Ronnakelvin", + "const": "RK" + }, + { + "title": "Ronnametre", + "const": "Rm" + }, + { + "title": "Ronnamole", + "const": "Rmol" + }, + { + "title": "Ronnasecond", + "const": "Rs" + }, + { + "title": "Rontoampere", + "const": "rA" + }, + { + "title": "Rontocandela", + "const": "rcd" + }, + { + "title": "Rontogram", + "const": "rg" + }, + { + "title": "Rontokelvin", + "const": "rK" + }, + { + "title": "Rontometre", + "const": "rm" + }, + { + "title": "Rontomole", + "const": "rmol" + }, + { + "title": "Rontosecond", + "const": "rs" + }, + { + "title": "Teraampere", + "const": "TA" + }, + { + "title": "Teracandela", + "const": "Tcd" + }, + { + "title": "Teragram", + "const": "Tg" + }, + { + "title": "Terakelvin", + "const": "TK" + }, + { + "title": "Terametre", + "const": "Tm" + }, + { + "title": "Teramole", + "const": "Tmol" + }, + { + "title": "Terasecond", + "const": "Ts" + }, + { + "title": "Yoctoampere", + "const": "yA" + }, + { + "title": "Yoctocandela", + "const": "ycd" + }, + { + "title": "Yoctogram", + "const": "yg" + }, + { + "title": "Yoctokelvin", + "const": "yK" + }, + { + "title": "Yoctometre", + "const": "ym" + }, + { + "title": "Yoctomole", + "const": "ymol" + }, + { + "title": "Yoctosecond", + "const": "ys" + }, + { + "title": "Yottaampere", + "const": "YA" + }, + { + "title": "Yottacandela", + "const": "Ycd" + }, + { + "title": "Yottagram", + "const": "Yg" + }, + { + "title": "Yottakelvin", + "const": "YK" + }, + { + "title": "Yottametre", + "const": "Ym" + }, + { + "title": "Yottamole", + "const": "Ymol" + }, + { + "title": "Yottasecond", + "const": "Ys" + }, + { + "title": "Zeptoampere", + "const": "zA" + }, + { + "title": "Zeptocandela", + "const": "zcd" + }, + { + "title": "Zeptogram", + "const": "zg" + }, + { + "title": "Zeptokelvin", + "const": "zK" + }, + { + "title": "Zeptometre", + "const": "zm" + }, + { + "title": "Zeptomole", + "const": "zmol" + }, + { + "title": "Zeptosecond", + "const": "zs" + }, + { + "title": "Zettaampere", + "const": "ZA" + }, + { + "title": "Zettacandela", + "const": "Zcd" + }, + { + "title": "Zettagram", + "const": "Zg" + }, + { + "title": "Zettakelvin", + "const": "ZK" + }, + { + "title": "Zettametre", + "const": "Zm" + }, + { + "title": "Zettamole", + "const": "Zmol" + }, + { + "title": "Zettasecond", + "const": "Zs" + } + ] +} diff --git a/schemas/bipm/si/2019/base/unit/ampere.json b/schemas/bipm/si/2019/base/unit/ampere.json new file mode 100644 index 00000000..a6d3950a --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/ampere.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ampere", + "description": "The SI unit of electric current. It is defined by taking the fixed numerical value of the elementary charge, e, to be 1.602 176 634 x 10^-19 when expressed in the unit C, which is equal to A s, where the second is defined in terms of Delta_nu_Cs", + "examples": [ 0, 1, 5, 10, 0.001, 2.5, -1.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "A", + "type": "number" +} diff --git a/schemas/bipm/si/2019/base/unit/candela.json b/schemas/bipm/si/2019/base/unit/candela.json new file mode 100644 index 00000000..2d1af2d6 --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/candela.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Candela", + "description": "The SI unit of luminous intensity in a given direction. It is defined by taking the fixed numerical value of the luminous efficacy of monochromatic radiation of frequency 540 x 10^12 Hz, K_cd, to be 683 when expressed in the unit lm W^-1, which is equal to cd sr W^-1, or cd sr kg^-1 m^-2 s^3, where the kilogram, metre and second are defined in terms of h, c and Delta_nu_Cs", + "examples": [ 1, 10, 100, 1000, 12.5, 0.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "cd", + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/base/unit/kelvin.json b/schemas/bipm/si/2019/base/unit/kelvin.json new file mode 100644 index 00000000..fb3b31e6 --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/kelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kelvin", + "description": "The SI unit of thermodynamic temperature. It is defined by taking the fixed numerical value of the Boltzmann constant, k, to be 1.380 649 x 10^-23 when expressed in the unit J K^-1, which is equal to kg m^2 s^-2 K^-1, where the kilogram, metre and second are defined in terms of h, c and Delta_nu_Cs", + "examples": [ 0, 273.15, 293.15, 373.15, 100, 300 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "K", + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/base/unit/kilogram.json b/schemas/bipm/si/2019/base/unit/kilogram.json new file mode 100644 index 00000000..8608e2c0 --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/kilogram.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilogram", + "description": "The SI unit of mass. It is defined by taking the fixed numerical value of the Planck constant, h, to be 6.626 070 15 x 10^-34 when expressed in the unit J s, which is equal to kg m^2 s^-1, where the metre and the second are defined in terms of c and Delta_nu_Cs", + "examples": [ 0.001, 1, 10, 100, 1000, 0.5, 75.3 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "kg", + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/base/unit/metre.json b/schemas/bipm/si/2019/base/unit/metre.json new file mode 100644 index 00000000..3c1139a8 --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/metre.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Metre", + "description": "The SI unit of length. It is defined by taking the fixed numerical value of the speed of light in vacuum, c, to be 299 792 458 when expressed in the unit m s^-1, where the second is defined in terms of Delta_nu_Cs", + "examples": [ 0, 1, 0.001, 1000, 1.75, 9.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "m", + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/base/unit/mole.json b/schemas/bipm/si/2019/base/unit/mole.json new file mode 100644 index 00000000..586f8932 --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/mole.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Mole", + "description": "The SI unit of amount of substance. One mole contains exactly 6.022 140 76 x 10^23 elementary entities. This number is the fixed numerical value of the Avogadro constant, N_A, when expressed in the unit mol^-1 and is called the Avogadro number. The amount of substance, symbol n, of a system is a measure of the number of specified elementary entities. An elementary entity may be an atom, a molecule, an ion, an electron, any other particle or specified group of particles", + "examples": [ 0.001, 1, 2, 10, 0.5, 1.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "mol", + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/base/unit/second.json b/schemas/bipm/si/2019/base/unit/second.json new file mode 100644 index 00000000..f33ddfe2 --- /dev/null +++ b/schemas/bipm/si/2019/base/unit/second.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Second", + "description": "The SI unit of time. It is defined by taking the fixed numerical value of the caesium frequency, Delta_nu_Cs, the unperturbed ground-state hyperfine transition frequency of the caesium 133 atom, to be 9 192 631 770 when expressed in the unit Hz, which is equal to s^-1", + "examples": [ 0, 1, 60, 3600, 86400, 0.001, 1.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "s", + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/compound/joule-per-kelvin.json b/schemas/bipm/si/2019/compound/joule-per-kelvin.json new file mode 100644 index 00000000..1067772b --- /dev/null +++ b/schemas/bipm/si/2019/compound/joule-per-kelvin.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Joule per kelvin", + "description": "A compound unit of heat capacity and entropy. It is equal to J K^-1, which is equal to kg m^2 s^-2 K^-1", + "examples": [ 1.38065e-23, 1.00e-22, 1e-21, 1.0e-20, 0.001, 1, 1000 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-units": [ "../derived/unit/joule.json", "../base/unit/kelvin.json" ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/compound/joule-second.json b/schemas/bipm/si/2019/compound/joule-second.json new file mode 100644 index 00000000..d976de98 --- /dev/null +++ b/schemas/bipm/si/2019/compound/joule-second.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Joule second", + "description": "A compound unit of action. It is equal to J s, which is equal to kg m^2 s^-1", + "examples": [ 6.62607e-34, 1e-33, 1.0e-32, 1.00e-31 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-units": [ "../derived/unit/joule.json", "../base/unit/second.json" ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/compound/lumen-per-watt.json b/schemas/bipm/si/2019/compound/lumen-per-watt.json new file mode 100644 index 00000000..e0c174b4 --- /dev/null +++ b/schemas/bipm/si/2019/compound/lumen-per-watt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Lumen per watt", + "description": "A compound unit of luminous efficacy. It is equal to lm W^-1, which is equal to cd sr W^-1, or cd sr kg^-1 m^-2 s^3", + "examples": [ 1, 10, 100, 683 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-units": [ "../derived/unit/lumen.json", "../derived/unit/watt.json" ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/compound/metre-per-second.json b/schemas/bipm/si/2019/compound/metre-per-second.json new file mode 100644 index 00000000..a3873447 --- /dev/null +++ b/schemas/bipm/si/2019/compound/metre-per-second.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Metre per second", + "description": "A compound unit of velocity. It is equal to m s^-1", + "examples": [ 0, 1, 3, 10, 100, 299792458 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-units": [ "../base/unit/metre.json", "../base/unit/second.json" ], + "type": "number" +} diff --git a/schemas/bipm/si/2019/constant/avogadro.json b/schemas/bipm/si/2019/constant/avogadro.json new file mode 100644 index 00000000..5768cba7 --- /dev/null +++ b/schemas/bipm/si/2019/constant/avogadro.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Avogadro constant", + "description": "It has the exact numerical value of 6.022 140 76 x 10^23 when expressed in the unit mol^-1", + "examples": [ 6.02214076000000000000000e+23 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Nₐ", + "$ref": "../base/unit/mole.json", + "const": 6.02214076000000000000000e+23 +} diff --git a/schemas/bipm/si/2019/constant/boltzmann.json b/schemas/bipm/si/2019/constant/boltzmann.json new file mode 100644 index 00000000..3d9f2cca --- /dev/null +++ b/schemas/bipm/si/2019/constant/boltzmann.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Boltzmann constant", + "description": "It has the exact numerical value of 1.380 649 x 10^-23 when expressed in the unit J/K, which is equal to kg m^2 s^-2 K^-1", + "examples": [ 1.380649e-23 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "k", + "$ref": "../compound/joule-per-kelvin.json", + "const": 1.380649e-23 +} diff --git a/schemas/bipm/si/2019/constant/caesium-frequency.json b/schemas/bipm/si/2019/constant/caesium-frequency.json new file mode 100644 index 00000000..3772c7fe --- /dev/null +++ b/schemas/bipm/si/2019/constant/caesium-frequency.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Caesium hyperfine transition frequency", + "description": "Of the unperturbed ground state hyperfine transition of the caesium 133 atom. It has the exact numerical value of 9 192 631 770 when expressed in the unit Hz, which is equal to s^-1", + "examples": [ 9192631770 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "ΔνCₛ", + "$ref": "../derived/unit/hertz.json", + "const": 9192631770 +} diff --git a/schemas/bipm/si/2019/constant/elementary-charge.json b/schemas/bipm/si/2019/constant/elementary-charge.json new file mode 100644 index 00000000..42dd1cf2 --- /dev/null +++ b/schemas/bipm/si/2019/constant/elementary-charge.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Elementary charge", + "description": "It has the exact numerical value of 1.602 176 634 x 10^-19 when expressed in the unit C, which is equal to A s", + "examples": [ 1.602176634e-19 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "e", + "$ref": "../derived/unit/coulomb.json", + "const": 1.602176634e-19 +} diff --git a/schemas/bipm/si/2019/constant/light-speed.json b/schemas/bipm/si/2019/constant/light-speed.json new file mode 100644 index 00000000..e57943b7 --- /dev/null +++ b/schemas/bipm/si/2019/constant/light-speed.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Speed of light in vacuum", + "description": "It has the exact numerical value of 299 792 458 when expressed in the unit m/s", + "examples": [ 299792458 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "c", + "$ref": "../compound/metre-per-second.json", + "const": 299792458 +} diff --git a/schemas/bipm/si/2019/constant/luminous-efficacy.json b/schemas/bipm/si/2019/constant/luminous-efficacy.json new file mode 100644 index 00000000..1afaf706 --- /dev/null +++ b/schemas/bipm/si/2019/constant/luminous-efficacy.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Luminous efficacy of monochromatic radiation", + "description": "Of monochromatic radiation of frequency 540 x 10^12 Hz. It has the exact numerical value of 683 when expressed in the unit lm/W, which is equal to cd sr W^-1, or cd sr kg^-1 m^-2 s^3", + "examples": [ 683 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Kcd", + "$ref": "../compound/lumen-per-watt.json", + "const": 683 +} diff --git a/schemas/bipm/si/2019/constant/planck.json b/schemas/bipm/si/2019/constant/planck.json new file mode 100644 index 00000000..a225f5ba --- /dev/null +++ b/schemas/bipm/si/2019/constant/planck.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Planck constant", + "description": "It has the exact numerical value of 6.626 070 15 x 10^-34 when expressed in the unit J s, which is equal to kg m^2 s^-1", + "examples": [ 6.62607015e-34 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "h", + "$ref": "../compound/joule-second.json", + "const": 6.62607015e-34 +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/attobecquerel.json new file mode 100644 index 00000000..4e4bdc6b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attobecquerel", + "description": "A multiple of becquerel equal to 1e-18 becquerel", + "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": 1e-18, + "x-symbol": "aBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/attocoulomb.json new file mode 100644 index 00000000..030769c5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attocoulomb", + "description": "A multiple of coulomb equal to 1e-18 coulomb", + "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": 1e-18, + "x-symbol": "aC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/attodegree-celsius.json new file mode 100644 index 00000000..f3167dbf --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-18 degree-celsius", + "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": 1e-18, + "x-symbol": "a°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attofarad.json b/schemas/bipm/si/2019/derived/prefixed/attofarad.json new file mode 100644 index 00000000..6dd2103f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attofarad", + "description": "A multiple of farad equal to 1e-18 farad", + "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": 1e-18, + "x-symbol": "aF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attogray.json b/schemas/bipm/si/2019/derived/prefixed/attogray.json new file mode 100644 index 00000000..c0bdac5d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attogray", + "description": "A multiple of gray equal to 1e-18 gray", + "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": 1e-18, + "x-symbol": "aGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attohenry.json b/schemas/bipm/si/2019/derived/prefixed/attohenry.json new file mode 100644 index 00000000..98d8c03c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attohenry", + "description": "A multiple of henry equal to 1e-18 henry", + "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": 1e-18, + "x-symbol": "aH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attohertz.json b/schemas/bipm/si/2019/derived/prefixed/attohertz.json new file mode 100644 index 00000000..00c3baa4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attohertz", + "description": "A multiple of hertz equal to 1e-18 hertz", + "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": 1e-18, + "x-symbol": "aHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attojoule.json b/schemas/bipm/si/2019/derived/prefixed/attojoule.json new file mode 100644 index 00000000..8fbbbb66 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attojoule", + "description": "A multiple of joule equal to 1e-18 joule", + "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": 1e-18, + "x-symbol": "aJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attokatal.json b/schemas/bipm/si/2019/derived/prefixed/attokatal.json new file mode 100644 index 00000000..6756c1b0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attokatal", + "description": "A multiple of katal equal to 1e-18 katal", + "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": 1e-18, + "x-symbol": "akat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attolumen.json b/schemas/bipm/si/2019/derived/prefixed/attolumen.json new file mode 100644 index 00000000..b444c1e0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attolumen", + "description": "A multiple of lumen equal to 1e-18 lumen", + "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": 1e-18, + "x-symbol": "alm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attolux.json b/schemas/bipm/si/2019/derived/prefixed/attolux.json new file mode 100644 index 00000000..6cc35f78 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attolux", + "description": "A multiple of lux equal to 1e-18 lux", + "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": 1e-18, + "x-symbol": "alx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attonewton.json b/schemas/bipm/si/2019/derived/prefixed/attonewton.json new file mode 100644 index 00000000..1cc8605a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attonewton", + "description": "A multiple of newton equal to 1e-18 newton", + "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": 1e-18, + "x-symbol": "aN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attoohm.json b/schemas/bipm/si/2019/derived/prefixed/attoohm.json new file mode 100644 index 00000000..48174b91 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attoohm", + "description": "A multiple of ohm equal to 1e-18 ohm", + "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": 1e-18, + "x-symbol": "aΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attopascal.json b/schemas/bipm/si/2019/derived/prefixed/attopascal.json new file mode 100644 index 00000000..b036b52a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attopascal", + "description": "A multiple of pascal equal to 1e-18 pascal", + "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": 1e-18, + "x-symbol": "aPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attoradian.json b/schemas/bipm/si/2019/derived/prefixed/attoradian.json new file mode 100644 index 00000000..bb40a6f4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attoradian", + "description": "A multiple of radian equal to 1e-18 radian", + "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": 1e-18, + "x-symbol": "arad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attosiemens.json b/schemas/bipm/si/2019/derived/prefixed/attosiemens.json new file mode 100644 index 00000000..a104899c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attosiemens", + "description": "A multiple of siemens equal to 1e-18 siemens", + "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": 1e-18, + "x-symbol": "aS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attosievert.json b/schemas/bipm/si/2019/derived/prefixed/attosievert.json new file mode 100644 index 00000000..52330db0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attosievert", + "description": "A multiple of sievert equal to 1e-18 sievert", + "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": 1e-18, + "x-symbol": "aSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attosteradian.json b/schemas/bipm/si/2019/derived/prefixed/attosteradian.json new file mode 100644 index 00000000..83d83a95 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attosteradian", + "description": "A multiple of steradian equal to 1e-18 steradian", + "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": 1e-18, + "x-symbol": "asr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attotesla.json b/schemas/bipm/si/2019/derived/prefixed/attotesla.json new file mode 100644 index 00000000..08226fad --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attotesla", + "description": "A multiple of tesla equal to 1e-18 tesla", + "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": 1e-18, + "x-symbol": "aT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attovolt.json b/schemas/bipm/si/2019/derived/prefixed/attovolt.json new file mode 100644 index 00000000..666967dc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attovolt", + "description": "A multiple of volt equal to 1e-18 volt", + "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": 1e-18, + "x-symbol": "aV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attowatt.json b/schemas/bipm/si/2019/derived/prefixed/attowatt.json new file mode 100644 index 00000000..8e2ecab6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attowatt", + "description": "A multiple of watt equal to 1e-18 watt", + "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": 1e-18, + "x-symbol": "aW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/attoweber.json b/schemas/bipm/si/2019/derived/prefixed/attoweber.json new file mode 100644 index 00000000..9aecf9e3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/attoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Attoweber", + "description": "A multiple of weber equal to 1e-18 weber", + "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": 1e-18, + "x-symbol": "aWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centibecquerel.json b/schemas/bipm/si/2019/derived/prefixed/centibecquerel.json new file mode 100644 index 00000000..ac7ddae8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centibecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centibecquerel", + "description": "A multiple of becquerel equal to 1e-2 becquerel", + "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": 0.01, + "x-symbol": "cBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centicoulomb.json b/schemas/bipm/si/2019/derived/prefixed/centicoulomb.json new file mode 100644 index 00000000..bc331d36 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centicoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centicoulomb", + "description": "A multiple of coulomb equal to 1e-2 coulomb", + "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": 0.01, + "x-symbol": "cC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centidegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/centidegree-celsius.json new file mode 100644 index 00000000..edb6fbc2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centidegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centidegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-2 degree-celsius", + "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": 0.01, + "x-symbol": "c°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centifarad.json b/schemas/bipm/si/2019/derived/prefixed/centifarad.json new file mode 100644 index 00000000..6fa78c43 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centifarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centifarad", + "description": "A multiple of farad equal to 1e-2 farad", + "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": 0.01, + "x-symbol": "cF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centigray.json b/schemas/bipm/si/2019/derived/prefixed/centigray.json new file mode 100644 index 00000000..298d3f1d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centigray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centigray", + "description": "A multiple of gray equal to 1e-2 gray", + "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": 0.01, + "x-symbol": "cGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centihenry.json b/schemas/bipm/si/2019/derived/prefixed/centihenry.json new file mode 100644 index 00000000..3fafbf88 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centihenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centihenry", + "description": "A multiple of henry equal to 1e-2 henry", + "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": 0.01, + "x-symbol": "cH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centihertz.json b/schemas/bipm/si/2019/derived/prefixed/centihertz.json new file mode 100644 index 00000000..20761d3e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centihertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centihertz", + "description": "A multiple of hertz equal to 1e-2 hertz", + "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": 0.01, + "x-symbol": "cHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centijoule.json b/schemas/bipm/si/2019/derived/prefixed/centijoule.json new file mode 100644 index 00000000..7eeae0aa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centijoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centijoule", + "description": "A multiple of joule equal to 1e-2 joule", + "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": 0.01, + "x-symbol": "cJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centikatal.json b/schemas/bipm/si/2019/derived/prefixed/centikatal.json new file mode 100644 index 00000000..09c379fd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centikatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centikatal", + "description": "A multiple of katal equal to 1e-2 katal", + "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": 0.01, + "x-symbol": "ckat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centilumen.json b/schemas/bipm/si/2019/derived/prefixed/centilumen.json new file mode 100644 index 00000000..78df289d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centilumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centilumen", + "description": "A multiple of lumen equal to 1e-2 lumen", + "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": 0.01, + "x-symbol": "clm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centilux.json b/schemas/bipm/si/2019/derived/prefixed/centilux.json new file mode 100644 index 00000000..a8317a22 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centilux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centilux", + "description": "A multiple of lux equal to 1e-2 lux", + "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": 0.01, + "x-symbol": "clx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centinewton.json b/schemas/bipm/si/2019/derived/prefixed/centinewton.json new file mode 100644 index 00000000..db577912 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centinewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centinewton", + "description": "A multiple of newton equal to 1e-2 newton", + "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": 0.01, + "x-symbol": "cN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centiohm.json b/schemas/bipm/si/2019/derived/prefixed/centiohm.json new file mode 100644 index 00000000..ac0e7451 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centiohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centiohm", + "description": "A multiple of ohm equal to 1e-2 ohm", + "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": 0.01, + "x-symbol": "cΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centipascal.json b/schemas/bipm/si/2019/derived/prefixed/centipascal.json new file mode 100644 index 00000000..b5fd1121 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centipascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centipascal", + "description": "A multiple of pascal equal to 1e-2 pascal", + "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": 0.01, + "x-symbol": "cPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centiradian.json b/schemas/bipm/si/2019/derived/prefixed/centiradian.json new file mode 100644 index 00000000..3ae2a23f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centiradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centiradian", + "description": "A multiple of radian equal to 1e-2 radian", + "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": 0.01, + "x-symbol": "crad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centisiemens.json b/schemas/bipm/si/2019/derived/prefixed/centisiemens.json new file mode 100644 index 00000000..f899fce1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centisiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centisiemens", + "description": "A multiple of siemens equal to 1e-2 siemens", + "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": 0.01, + "x-symbol": "cS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centisievert.json b/schemas/bipm/si/2019/derived/prefixed/centisievert.json new file mode 100644 index 00000000..c7277e39 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centisievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centisievert", + "description": "A multiple of sievert equal to 1e-2 sievert", + "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": 0.01, + "x-symbol": "cSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centisteradian.json b/schemas/bipm/si/2019/derived/prefixed/centisteradian.json new file mode 100644 index 00000000..86a3deb2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centisteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centisteradian", + "description": "A multiple of steradian equal to 1e-2 steradian", + "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": 0.01, + "x-symbol": "csr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centitesla.json b/schemas/bipm/si/2019/derived/prefixed/centitesla.json new file mode 100644 index 00000000..b01b713f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centitesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centitesla", + "description": "A multiple of tesla equal to 1e-2 tesla", + "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": 0.01, + "x-symbol": "cT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centivolt.json b/schemas/bipm/si/2019/derived/prefixed/centivolt.json new file mode 100644 index 00000000..25a177c9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centivolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centivolt", + "description": "A multiple of volt equal to 1e-2 volt", + "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": 0.01, + "x-symbol": "cV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centiwatt.json b/schemas/bipm/si/2019/derived/prefixed/centiwatt.json new file mode 100644 index 00000000..fc11f61f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centiwatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centiwatt", + "description": "A multiple of watt equal to 1e-2 watt", + "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": 0.01, + "x-symbol": "cW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/centiweber.json b/schemas/bipm/si/2019/derived/prefixed/centiweber.json new file mode 100644 index 00000000..bcb8c927 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/centiweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Centiweber", + "description": "A multiple of weber equal to 1e-2 weber", + "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": 0.01, + "x-symbol": "cWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/decabecquerel.json new file mode 100644 index 00000000..7785148c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decabecquerel", + "description": "A multiple of becquerel equal to 1e1 becquerel", + "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": 10.0, + "x-symbol": "daBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/decacoulomb.json new file mode 100644 index 00000000..590c2e61 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decacoulomb", + "description": "A multiple of coulomb equal to 1e1 coulomb", + "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": 10.0, + "x-symbol": "daC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/decadegree-celsius.json new file mode 100644 index 00000000..9b4292c2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e1 degree-celsius", + "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": 10.0, + "x-symbol": "da°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decafarad.json b/schemas/bipm/si/2019/derived/prefixed/decafarad.json new file mode 100644 index 00000000..9ace5362 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decafarad", + "description": "A multiple of farad equal to 1e1 farad", + "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": 10.0, + "x-symbol": "daF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decagray.json b/schemas/bipm/si/2019/derived/prefixed/decagray.json new file mode 100644 index 00000000..ca56267b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decagray", + "description": "A multiple of gray equal to 1e1 gray", + "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": 10.0, + "x-symbol": "daGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decahenry.json b/schemas/bipm/si/2019/derived/prefixed/decahenry.json new file mode 100644 index 00000000..8537225f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decahenry", + "description": "A multiple of henry equal to 1e1 henry", + "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": 10.0, + "x-symbol": "daH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decahertz.json b/schemas/bipm/si/2019/derived/prefixed/decahertz.json new file mode 100644 index 00000000..d8c24d4b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decahertz", + "description": "A multiple of hertz equal to 1e1 hertz", + "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": 10.0, + "x-symbol": "daHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decajoule.json b/schemas/bipm/si/2019/derived/prefixed/decajoule.json new file mode 100644 index 00000000..7bd02132 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decajoule", + "description": "A multiple of joule equal to 1e1 joule", + "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": 10.0, + "x-symbol": "daJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decakatal.json b/schemas/bipm/si/2019/derived/prefixed/decakatal.json new file mode 100644 index 00000000..82d0aabe --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decakatal", + "description": "A multiple of katal equal to 1e1 katal", + "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": 10.0, + "x-symbol": "dakat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decalumen.json b/schemas/bipm/si/2019/derived/prefixed/decalumen.json new file mode 100644 index 00000000..1634b85b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decalumen", + "description": "A multiple of lumen equal to 1e1 lumen", + "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": 10.0, + "x-symbol": "dalm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decalux.json b/schemas/bipm/si/2019/derived/prefixed/decalux.json new file mode 100644 index 00000000..873f1651 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decalux", + "description": "A multiple of lux equal to 1e1 lux", + "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": 10.0, + "x-symbol": "dalx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decanewton.json b/schemas/bipm/si/2019/derived/prefixed/decanewton.json new file mode 100644 index 00000000..93bd4c72 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decanewton", + "description": "A multiple of newton equal to 1e1 newton", + "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": 10.0, + "x-symbol": "daN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decaohm.json b/schemas/bipm/si/2019/derived/prefixed/decaohm.json new file mode 100644 index 00000000..0461e922 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decaohm", + "description": "A multiple of ohm equal to 1e1 ohm", + "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": 10.0, + "x-symbol": "daΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decapascal.json b/schemas/bipm/si/2019/derived/prefixed/decapascal.json new file mode 100644 index 00000000..de35ccab --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decapascal", + "description": "A multiple of pascal equal to 1e1 pascal", + "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": 10.0, + "x-symbol": "daPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decaradian.json b/schemas/bipm/si/2019/derived/prefixed/decaradian.json new file mode 100644 index 00000000..4b2b62fd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decaradian", + "description": "A multiple of radian equal to 1e1 radian", + "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": 10.0, + "x-symbol": "darad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decasiemens.json b/schemas/bipm/si/2019/derived/prefixed/decasiemens.json new file mode 100644 index 00000000..d72a6c09 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decasiemens", + "description": "A multiple of siemens equal to 1e1 siemens", + "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": 10.0, + "x-symbol": "daS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decasievert.json b/schemas/bipm/si/2019/derived/prefixed/decasievert.json new file mode 100644 index 00000000..9e27ced7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decasievert", + "description": "A multiple of sievert equal to 1e1 sievert", + "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": 10.0, + "x-symbol": "daSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decasteradian.json b/schemas/bipm/si/2019/derived/prefixed/decasteradian.json new file mode 100644 index 00000000..178cc7da --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decasteradian", + "description": "A multiple of steradian equal to 1e1 steradian", + "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": 10.0, + "x-symbol": "dasr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decatesla.json b/schemas/bipm/si/2019/derived/prefixed/decatesla.json new file mode 100644 index 00000000..6509051b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decatesla", + "description": "A multiple of tesla equal to 1e1 tesla", + "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": 10.0, + "x-symbol": "daT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decavolt.json b/schemas/bipm/si/2019/derived/prefixed/decavolt.json new file mode 100644 index 00000000..c2b19aa4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decavolt", + "description": "A multiple of volt equal to 1e1 volt", + "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": 10.0, + "x-symbol": "daV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decawatt.json b/schemas/bipm/si/2019/derived/prefixed/decawatt.json new file mode 100644 index 00000000..9a8cbc7c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decawatt", + "description": "A multiple of watt equal to 1e1 watt", + "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": 10.0, + "x-symbol": "daW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decaweber.json b/schemas/bipm/si/2019/derived/prefixed/decaweber.json new file mode 100644 index 00000000..f51ac648 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decaweber", + "description": "A multiple of weber equal to 1e1 weber", + "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": 10.0, + "x-symbol": "daWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decibecquerel.json b/schemas/bipm/si/2019/derived/prefixed/decibecquerel.json new file mode 100644 index 00000000..4ab6fea8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decibecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decibecquerel", + "description": "A multiple of becquerel equal to 1e-1 becquerel", + "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": 0.1, + "x-symbol": "dBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decicoulomb.json b/schemas/bipm/si/2019/derived/prefixed/decicoulomb.json new file mode 100644 index 00000000..1e56e1a5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decicoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decicoulomb", + "description": "A multiple of coulomb equal to 1e-1 coulomb", + "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": 0.1, + "x-symbol": "dC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decidegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/decidegree-celsius.json new file mode 100644 index 00000000..3f674f92 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decidegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decidegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-1 degree-celsius", + "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": 0.1, + "x-symbol": "d°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decifarad.json b/schemas/bipm/si/2019/derived/prefixed/decifarad.json new file mode 100644 index 00000000..df957206 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decifarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decifarad", + "description": "A multiple of farad equal to 1e-1 farad", + "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": 0.1, + "x-symbol": "dF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decigray.json b/schemas/bipm/si/2019/derived/prefixed/decigray.json new file mode 100644 index 00000000..27be830d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decigray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decigray", + "description": "A multiple of gray equal to 1e-1 gray", + "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": 0.1, + "x-symbol": "dGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decihenry.json b/schemas/bipm/si/2019/derived/prefixed/decihenry.json new file mode 100644 index 00000000..c3fe2a5a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decihenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decihenry", + "description": "A multiple of henry equal to 1e-1 henry", + "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": 0.1, + "x-symbol": "dH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decihertz.json b/schemas/bipm/si/2019/derived/prefixed/decihertz.json new file mode 100644 index 00000000..32f652af --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decihertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decihertz", + "description": "A multiple of hertz equal to 1e-1 hertz", + "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": 0.1, + "x-symbol": "dHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decijoule.json b/schemas/bipm/si/2019/derived/prefixed/decijoule.json new file mode 100644 index 00000000..b79f0a18 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decijoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decijoule", + "description": "A multiple of joule equal to 1e-1 joule", + "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": 0.1, + "x-symbol": "dJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decikatal.json b/schemas/bipm/si/2019/derived/prefixed/decikatal.json new file mode 100644 index 00000000..8bb36b26 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decikatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decikatal", + "description": "A multiple of katal equal to 1e-1 katal", + "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": 0.1, + "x-symbol": "dkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decilumen.json b/schemas/bipm/si/2019/derived/prefixed/decilumen.json new file mode 100644 index 00000000..8838ed62 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decilumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decilumen", + "description": "A multiple of lumen equal to 1e-1 lumen", + "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": 0.1, + "x-symbol": "dlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decilux.json b/schemas/bipm/si/2019/derived/prefixed/decilux.json new file mode 100644 index 00000000..0f01a94d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decilux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decilux", + "description": "A multiple of lux equal to 1e-1 lux", + "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": 0.1, + "x-symbol": "dlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decinewton.json b/schemas/bipm/si/2019/derived/prefixed/decinewton.json new file mode 100644 index 00000000..7ab07b32 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decinewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decinewton", + "description": "A multiple of newton equal to 1e-1 newton", + "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": 0.1, + "x-symbol": "dN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/deciohm.json b/schemas/bipm/si/2019/derived/prefixed/deciohm.json new file mode 100644 index 00000000..69e8f149 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/deciohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Deciohm", + "description": "A multiple of ohm equal to 1e-1 ohm", + "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": 0.1, + "x-symbol": "dΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decipascal.json b/schemas/bipm/si/2019/derived/prefixed/decipascal.json new file mode 100644 index 00000000..36782bf9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decipascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decipascal", + "description": "A multiple of pascal equal to 1e-1 pascal", + "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": 0.1, + "x-symbol": "dPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/deciradian.json b/schemas/bipm/si/2019/derived/prefixed/deciradian.json new file mode 100644 index 00000000..55b2ca13 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/deciradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Deciradian", + "description": "A multiple of radian equal to 1e-1 radian", + "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": 0.1, + "x-symbol": "drad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decisiemens.json b/schemas/bipm/si/2019/derived/prefixed/decisiemens.json new file mode 100644 index 00000000..c168cf3e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decisiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decisiemens", + "description": "A multiple of siemens equal to 1e-1 siemens", + "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": 0.1, + "x-symbol": "dS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decisievert.json b/schemas/bipm/si/2019/derived/prefixed/decisievert.json new file mode 100644 index 00000000..c9de5183 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decisievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decisievert", + "description": "A multiple of sievert equal to 1e-1 sievert", + "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": 0.1, + "x-symbol": "dSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decisteradian.json b/schemas/bipm/si/2019/derived/prefixed/decisteradian.json new file mode 100644 index 00000000..a90488fc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decisteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decisteradian", + "description": "A multiple of steradian equal to 1e-1 steradian", + "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": 0.1, + "x-symbol": "dsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decitesla.json b/schemas/bipm/si/2019/derived/prefixed/decitesla.json new file mode 100644 index 00000000..45d3163d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decitesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decitesla", + "description": "A multiple of tesla equal to 1e-1 tesla", + "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": 0.1, + "x-symbol": "dT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/decivolt.json b/schemas/bipm/si/2019/derived/prefixed/decivolt.json new file mode 100644 index 00000000..484ff0d3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/decivolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Decivolt", + "description": "A multiple of volt equal to 1e-1 volt", + "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": 0.1, + "x-symbol": "dV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/deciwatt.json b/schemas/bipm/si/2019/derived/prefixed/deciwatt.json new file mode 100644 index 00000000..18119f45 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/deciwatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Deciwatt", + "description": "A multiple of watt equal to 1e-1 watt", + "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": 0.1, + "x-symbol": "dW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/deciweber.json b/schemas/bipm/si/2019/derived/prefixed/deciweber.json new file mode 100644 index 00000000..79692e5e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/deciweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Deciweber", + "description": "A multiple of weber equal to 1e-1 weber", + "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": 0.1, + "x-symbol": "dWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/exabecquerel.json new file mode 100644 index 00000000..3f0cceba --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exabecquerel", + "description": "A multiple of becquerel equal to 1e18 becquerel", + "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": 1e+18, + "x-symbol": "EBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/exacoulomb.json new file mode 100644 index 00000000..2c53c9ab --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exacoulomb", + "description": "A multiple of coulomb equal to 1e18 coulomb", + "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": 1e+18, + "x-symbol": "EC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/exadegree-celsius.json new file mode 100644 index 00000000..6ce3e740 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e18 degree-celsius", + "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": 1e+18, + "x-symbol": "E°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exafarad.json b/schemas/bipm/si/2019/derived/prefixed/exafarad.json new file mode 100644 index 00000000..49ec4ccc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exafarad", + "description": "A multiple of farad equal to 1e18 farad", + "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": 1e+18, + "x-symbol": "EF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exagray.json b/schemas/bipm/si/2019/derived/prefixed/exagray.json new file mode 100644 index 00000000..680a90de --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exagray", + "description": "A multiple of gray equal to 1e18 gray", + "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": 1e+18, + "x-symbol": "EGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exahenry.json b/schemas/bipm/si/2019/derived/prefixed/exahenry.json new file mode 100644 index 00000000..d7640bf5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exahenry", + "description": "A multiple of henry equal to 1e18 henry", + "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": 1e+18, + "x-symbol": "EH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exahertz.json b/schemas/bipm/si/2019/derived/prefixed/exahertz.json new file mode 100644 index 00000000..07353e6e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exahertz", + "description": "A multiple of hertz equal to 1e18 hertz", + "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": 1e+18, + "x-symbol": "EHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exajoule.json b/schemas/bipm/si/2019/derived/prefixed/exajoule.json new file mode 100644 index 00000000..94400885 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exajoule", + "description": "A multiple of joule equal to 1e18 joule", + "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": 1e+18, + "x-symbol": "EJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exakatal.json b/schemas/bipm/si/2019/derived/prefixed/exakatal.json new file mode 100644 index 00000000..ceacfc72 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exakatal", + "description": "A multiple of katal equal to 1e18 katal", + "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": 1e+18, + "x-symbol": "Ekat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exalumen.json b/schemas/bipm/si/2019/derived/prefixed/exalumen.json new file mode 100644 index 00000000..c247e961 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exalumen", + "description": "A multiple of lumen equal to 1e18 lumen", + "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": 1e+18, + "x-symbol": "Elm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exalux.json b/schemas/bipm/si/2019/derived/prefixed/exalux.json new file mode 100644 index 00000000..53791b27 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exalux", + "description": "A multiple of lux equal to 1e18 lux", + "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": 1e+18, + "x-symbol": "Elx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exanewton.json b/schemas/bipm/si/2019/derived/prefixed/exanewton.json new file mode 100644 index 00000000..70eb99b8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exanewton", + "description": "A multiple of newton equal to 1e18 newton", + "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": 1e+18, + "x-symbol": "EN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exaohm.json b/schemas/bipm/si/2019/derived/prefixed/exaohm.json new file mode 100644 index 00000000..7bef2aa6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exaohm", + "description": "A multiple of ohm equal to 1e18 ohm", + "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": 1e+18, + "x-symbol": "EΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exapascal.json b/schemas/bipm/si/2019/derived/prefixed/exapascal.json new file mode 100644 index 00000000..3e6b5ca4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exapascal", + "description": "A multiple of pascal equal to 1e18 pascal", + "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": 1e+18, + "x-symbol": "EPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exaradian.json b/schemas/bipm/si/2019/derived/prefixed/exaradian.json new file mode 100644 index 00000000..63160868 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exaradian", + "description": "A multiple of radian equal to 1e18 radian", + "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": 1e+18, + "x-symbol": "Erad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exasiemens.json b/schemas/bipm/si/2019/derived/prefixed/exasiemens.json new file mode 100644 index 00000000..c5ed62ff --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exasiemens", + "description": "A multiple of siemens equal to 1e18 siemens", + "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": 1e+18, + "x-symbol": "ES", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exasievert.json b/schemas/bipm/si/2019/derived/prefixed/exasievert.json new file mode 100644 index 00000000..f505037b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exasievert", + "description": "A multiple of sievert equal to 1e18 sievert", + "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": 1e+18, + "x-symbol": "ESv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exasteradian.json b/schemas/bipm/si/2019/derived/prefixed/exasteradian.json new file mode 100644 index 00000000..6bc92f8f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exasteradian", + "description": "A multiple of steradian equal to 1e18 steradian", + "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": 1e+18, + "x-symbol": "Esr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exatesla.json b/schemas/bipm/si/2019/derived/prefixed/exatesla.json new file mode 100644 index 00000000..5f552e8a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exatesla", + "description": "A multiple of tesla equal to 1e18 tesla", + "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": 1e+18, + "x-symbol": "ET", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exavolt.json b/schemas/bipm/si/2019/derived/prefixed/exavolt.json new file mode 100644 index 00000000..aaf4050d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exavolt", + "description": "A multiple of volt equal to 1e18 volt", + "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": 1e+18, + "x-symbol": "EV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exawatt.json b/schemas/bipm/si/2019/derived/prefixed/exawatt.json new file mode 100644 index 00000000..f4385102 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exawatt", + "description": "A multiple of watt equal to 1e18 watt", + "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": 1e+18, + "x-symbol": "EW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/exaweber.json b/schemas/bipm/si/2019/derived/prefixed/exaweber.json new file mode 100644 index 00000000..c9676a98 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/exaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Exaweber", + "description": "A multiple of weber equal to 1e18 weber", + "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": 1e+18, + "x-symbol": "EWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/femtobecquerel.json new file mode 100644 index 00000000..3d264adb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtobecquerel", + "description": "A multiple of becquerel equal to 1e-15 becquerel", + "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": 1e-15, + "x-symbol": "fBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/femtocoulomb.json new file mode 100644 index 00000000..03d54f46 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtocoulomb", + "description": "A multiple of coulomb equal to 1e-15 coulomb", + "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": 1e-15, + "x-symbol": "fC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/femtodegree-celsius.json new file mode 100644 index 00000000..f9e39d47 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-15 degree-celsius", + "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": 1e-15, + "x-symbol": "f°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtofarad.json b/schemas/bipm/si/2019/derived/prefixed/femtofarad.json new file mode 100644 index 00000000..582899ad --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtofarad", + "description": "A multiple of farad equal to 1e-15 farad", + "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": 1e-15, + "x-symbol": "fF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtogray.json b/schemas/bipm/si/2019/derived/prefixed/femtogray.json new file mode 100644 index 00000000..d3b57155 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtogray", + "description": "A multiple of gray equal to 1e-15 gray", + "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": 1e-15, + "x-symbol": "fGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtohenry.json b/schemas/bipm/si/2019/derived/prefixed/femtohenry.json new file mode 100644 index 00000000..567a695e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtohenry", + "description": "A multiple of henry equal to 1e-15 henry", + "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": 1e-15, + "x-symbol": "fH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtohertz.json b/schemas/bipm/si/2019/derived/prefixed/femtohertz.json new file mode 100644 index 00000000..c1a2797e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtohertz", + "description": "A multiple of hertz equal to 1e-15 hertz", + "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": 1e-15, + "x-symbol": "fHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtojoule.json b/schemas/bipm/si/2019/derived/prefixed/femtojoule.json new file mode 100644 index 00000000..6ed3203a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtojoule", + "description": "A multiple of joule equal to 1e-15 joule", + "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": 1e-15, + "x-symbol": "fJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtokatal.json b/schemas/bipm/si/2019/derived/prefixed/femtokatal.json new file mode 100644 index 00000000..be2791cf --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtokatal", + "description": "A multiple of katal equal to 1e-15 katal", + "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": 1e-15, + "x-symbol": "fkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtolumen.json b/schemas/bipm/si/2019/derived/prefixed/femtolumen.json new file mode 100644 index 00000000..4365f3c2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtolumen", + "description": "A multiple of lumen equal to 1e-15 lumen", + "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": 1e-15, + "x-symbol": "flm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtolux.json b/schemas/bipm/si/2019/derived/prefixed/femtolux.json new file mode 100644 index 00000000..1b13817f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtolux", + "description": "A multiple of lux equal to 1e-15 lux", + "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": 1e-15, + "x-symbol": "flx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtonewton.json b/schemas/bipm/si/2019/derived/prefixed/femtonewton.json new file mode 100644 index 00000000..826b676e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtonewton", + "description": "A multiple of newton equal to 1e-15 newton", + "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": 1e-15, + "x-symbol": "fN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtoohm.json b/schemas/bipm/si/2019/derived/prefixed/femtoohm.json new file mode 100644 index 00000000..b2ee2f58 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtoohm", + "description": "A multiple of ohm equal to 1e-15 ohm", + "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": 1e-15, + "x-symbol": "fΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtopascal.json b/schemas/bipm/si/2019/derived/prefixed/femtopascal.json new file mode 100644 index 00000000..e90a3d41 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtopascal", + "description": "A multiple of pascal equal to 1e-15 pascal", + "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": 1e-15, + "x-symbol": "fPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtoradian.json b/schemas/bipm/si/2019/derived/prefixed/femtoradian.json new file mode 100644 index 00000000..2b5bfed5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtoradian", + "description": "A multiple of radian equal to 1e-15 radian", + "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": 1e-15, + "x-symbol": "frad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtosiemens.json b/schemas/bipm/si/2019/derived/prefixed/femtosiemens.json new file mode 100644 index 00000000..3435c81d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtosiemens", + "description": "A multiple of siemens equal to 1e-15 siemens", + "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": 1e-15, + "x-symbol": "fS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtosievert.json b/schemas/bipm/si/2019/derived/prefixed/femtosievert.json new file mode 100644 index 00000000..7ef9b995 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtosievert", + "description": "A multiple of sievert equal to 1e-15 sievert", + "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": 1e-15, + "x-symbol": "fSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtosteradian.json b/schemas/bipm/si/2019/derived/prefixed/femtosteradian.json new file mode 100644 index 00000000..d81b345c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtosteradian", + "description": "A multiple of steradian equal to 1e-15 steradian", + "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": 1e-15, + "x-symbol": "fsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtotesla.json b/schemas/bipm/si/2019/derived/prefixed/femtotesla.json new file mode 100644 index 00000000..ce6263d3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtotesla", + "description": "A multiple of tesla equal to 1e-15 tesla", + "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": 1e-15, + "x-symbol": "fT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtovolt.json b/schemas/bipm/si/2019/derived/prefixed/femtovolt.json new file mode 100644 index 00000000..378595f3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtovolt", + "description": "A multiple of volt equal to 1e-15 volt", + "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": 1e-15, + "x-symbol": "fV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtowatt.json b/schemas/bipm/si/2019/derived/prefixed/femtowatt.json new file mode 100644 index 00000000..96315ceb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtowatt", + "description": "A multiple of watt equal to 1e-15 watt", + "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": 1e-15, + "x-symbol": "fW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/femtoweber.json b/schemas/bipm/si/2019/derived/prefixed/femtoweber.json new file mode 100644 index 00000000..a4d607c0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/femtoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Femtoweber", + "description": "A multiple of weber equal to 1e-15 weber", + "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": 1e-15, + "x-symbol": "fWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/gigabecquerel.json new file mode 100644 index 00000000..e44138e5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigabecquerel", + "description": "A multiple of becquerel equal to 1e9 becquerel", + "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": 1000000000.0, + "x-symbol": "GBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/gigacoulomb.json new file mode 100644 index 00000000..fcc967e9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigacoulomb", + "description": "A multiple of coulomb equal to 1e9 coulomb", + "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": 1000000000.0, + "x-symbol": "GC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/gigadegree-celsius.json new file mode 100644 index 00000000..3e633c39 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e9 degree-celsius", + "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": 1000000000.0, + "x-symbol": "G°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigafarad.json b/schemas/bipm/si/2019/derived/prefixed/gigafarad.json new file mode 100644 index 00000000..afa89d34 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigafarad", + "description": "A multiple of farad equal to 1e9 farad", + "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": 1000000000.0, + "x-symbol": "GF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigagray.json b/schemas/bipm/si/2019/derived/prefixed/gigagray.json new file mode 100644 index 00000000..b795ae45 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigagray", + "description": "A multiple of gray equal to 1e9 gray", + "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": 1000000000.0, + "x-symbol": "GGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigahenry.json b/schemas/bipm/si/2019/derived/prefixed/gigahenry.json new file mode 100644 index 00000000..4c8c20fa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigahenry", + "description": "A multiple of henry equal to 1e9 henry", + "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": 1000000000.0, + "x-symbol": "GH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigahertz.json b/schemas/bipm/si/2019/derived/prefixed/gigahertz.json new file mode 100644 index 00000000..bf044cbb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigahertz", + "description": "A multiple of hertz equal to 1e9 hertz", + "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": 1000000000.0, + "x-symbol": "GHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigajoule.json b/schemas/bipm/si/2019/derived/prefixed/gigajoule.json new file mode 100644 index 00000000..56362f7a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigajoule", + "description": "A multiple of joule equal to 1e9 joule", + "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": 1000000000.0, + "x-symbol": "GJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigakatal.json b/schemas/bipm/si/2019/derived/prefixed/gigakatal.json new file mode 100644 index 00000000..8658af66 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigakatal", + "description": "A multiple of katal equal to 1e9 katal", + "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": 1000000000.0, + "x-symbol": "Gkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigalumen.json b/schemas/bipm/si/2019/derived/prefixed/gigalumen.json new file mode 100644 index 00000000..9be352d3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigalumen", + "description": "A multiple of lumen equal to 1e9 lumen", + "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": 1000000000.0, + "x-symbol": "Glm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigalux.json b/schemas/bipm/si/2019/derived/prefixed/gigalux.json new file mode 100644 index 00000000..081ab567 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigalux", + "description": "A multiple of lux equal to 1e9 lux", + "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": 1000000000.0, + "x-symbol": "Glx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/giganewton.json b/schemas/bipm/si/2019/derived/prefixed/giganewton.json new file mode 100644 index 00000000..7ac05311 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/giganewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Giganewton", + "description": "A multiple of newton equal to 1e9 newton", + "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": 1000000000.0, + "x-symbol": "GN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigaohm.json b/schemas/bipm/si/2019/derived/prefixed/gigaohm.json new file mode 100644 index 00000000..3a873533 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigaohm", + "description": "A multiple of ohm equal to 1e9 ohm", + "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": 1000000000.0, + "x-symbol": "GΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigapascal.json b/schemas/bipm/si/2019/derived/prefixed/gigapascal.json new file mode 100644 index 00000000..e80616ca --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigapascal", + "description": "A multiple of pascal equal to 1e9 pascal", + "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": 1000000000.0, + "x-symbol": "GPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigaradian.json b/schemas/bipm/si/2019/derived/prefixed/gigaradian.json new file mode 100644 index 00000000..6d4cd345 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigaradian", + "description": "A multiple of radian equal to 1e9 radian", + "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": 1000000000.0, + "x-symbol": "Grad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigasiemens.json b/schemas/bipm/si/2019/derived/prefixed/gigasiemens.json new file mode 100644 index 00000000..0c966a00 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigasiemens", + "description": "A multiple of siemens equal to 1e9 siemens", + "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": 1000000000.0, + "x-symbol": "GS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigasievert.json b/schemas/bipm/si/2019/derived/prefixed/gigasievert.json new file mode 100644 index 00000000..a5608740 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigasievert", + "description": "A multiple of sievert equal to 1e9 sievert", + "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": 1000000000.0, + "x-symbol": "GSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigasteradian.json b/schemas/bipm/si/2019/derived/prefixed/gigasteradian.json new file mode 100644 index 00000000..0eb1d7ca --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigasteradian", + "description": "A multiple of steradian equal to 1e9 steradian", + "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": 1000000000.0, + "x-symbol": "Gsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigatesla.json b/schemas/bipm/si/2019/derived/prefixed/gigatesla.json new file mode 100644 index 00000000..f5491439 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigatesla", + "description": "A multiple of tesla equal to 1e9 tesla", + "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": 1000000000.0, + "x-symbol": "GT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigavolt.json b/schemas/bipm/si/2019/derived/prefixed/gigavolt.json new file mode 100644 index 00000000..ce52683a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigavolt", + "description": "A multiple of volt equal to 1e9 volt", + "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": 1000000000.0, + "x-symbol": "GV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigawatt.json b/schemas/bipm/si/2019/derived/prefixed/gigawatt.json new file mode 100644 index 00000000..519c90b3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigawatt", + "description": "A multiple of watt equal to 1e9 watt", + "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": 1000000000.0, + "x-symbol": "GW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/gigaweber.json b/schemas/bipm/si/2019/derived/prefixed/gigaweber.json new file mode 100644 index 00000000..27897bb2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/gigaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gigaweber", + "description": "A multiple of weber equal to 1e9 weber", + "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": 1000000000.0, + "x-symbol": "GWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/hectobecquerel.json new file mode 100644 index 00000000..67edc136 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectobecquerel", + "description": "A multiple of becquerel equal to 1e2 becquerel", + "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": 100.0, + "x-symbol": "hBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/hectocoulomb.json new file mode 100644 index 00000000..f337267f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectocoulomb", + "description": "A multiple of coulomb equal to 1e2 coulomb", + "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": 100.0, + "x-symbol": "hC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/hectodegree-celsius.json new file mode 100644 index 00000000..eb8c9a54 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e2 degree-celsius", + "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": 100.0, + "x-symbol": "h°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectofarad.json b/schemas/bipm/si/2019/derived/prefixed/hectofarad.json new file mode 100644 index 00000000..173564da --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectofarad", + "description": "A multiple of farad equal to 1e2 farad", + "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": 100.0, + "x-symbol": "hF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectogray.json b/schemas/bipm/si/2019/derived/prefixed/hectogray.json new file mode 100644 index 00000000..ad1e8d1d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectogray", + "description": "A multiple of gray equal to 1e2 gray", + "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": 100.0, + "x-symbol": "hGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectohenry.json b/schemas/bipm/si/2019/derived/prefixed/hectohenry.json new file mode 100644 index 00000000..1de47669 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectohenry", + "description": "A multiple of henry equal to 1e2 henry", + "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": 100.0, + "x-symbol": "hH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectohertz.json b/schemas/bipm/si/2019/derived/prefixed/hectohertz.json new file mode 100644 index 00000000..344bca6b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectohertz", + "description": "A multiple of hertz equal to 1e2 hertz", + "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": 100.0, + "x-symbol": "hHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectojoule.json b/schemas/bipm/si/2019/derived/prefixed/hectojoule.json new file mode 100644 index 00000000..3ae72807 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectojoule", + "description": "A multiple of joule equal to 1e2 joule", + "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": 100.0, + "x-symbol": "hJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectokatal.json b/schemas/bipm/si/2019/derived/prefixed/hectokatal.json new file mode 100644 index 00000000..09e691f1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectokatal", + "description": "A multiple of katal equal to 1e2 katal", + "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": 100.0, + "x-symbol": "hkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectolumen.json b/schemas/bipm/si/2019/derived/prefixed/hectolumen.json new file mode 100644 index 00000000..986c0cf3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectolumen", + "description": "A multiple of lumen equal to 1e2 lumen", + "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": 100.0, + "x-symbol": "hlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectolux.json b/schemas/bipm/si/2019/derived/prefixed/hectolux.json new file mode 100644 index 00000000..e32746d7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectolux", + "description": "A multiple of lux equal to 1e2 lux", + "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": 100.0, + "x-symbol": "hlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectonewton.json b/schemas/bipm/si/2019/derived/prefixed/hectonewton.json new file mode 100644 index 00000000..91198672 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectonewton", + "description": "A multiple of newton equal to 1e2 newton", + "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": 100.0, + "x-symbol": "hN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectoohm.json b/schemas/bipm/si/2019/derived/prefixed/hectoohm.json new file mode 100644 index 00000000..3c174985 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectoohm", + "description": "A multiple of ohm equal to 1e2 ohm", + "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": 100.0, + "x-symbol": "hΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectopascal.json b/schemas/bipm/si/2019/derived/prefixed/hectopascal.json new file mode 100644 index 00000000..58ce6130 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectopascal", + "description": "A multiple of pascal equal to 1e2 pascal", + "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": 100.0, + "x-symbol": "hPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectoradian.json b/schemas/bipm/si/2019/derived/prefixed/hectoradian.json new file mode 100644 index 00000000..b44ca26d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectoradian", + "description": "A multiple of radian equal to 1e2 radian", + "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": 100.0, + "x-symbol": "hrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectosiemens.json b/schemas/bipm/si/2019/derived/prefixed/hectosiemens.json new file mode 100644 index 00000000..a40b67e6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectosiemens", + "description": "A multiple of siemens equal to 1e2 siemens", + "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": 100.0, + "x-symbol": "hS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectosievert.json b/schemas/bipm/si/2019/derived/prefixed/hectosievert.json new file mode 100644 index 00000000..572a7e68 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectosievert", + "description": "A multiple of sievert equal to 1e2 sievert", + "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": 100.0, + "x-symbol": "hSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectosteradian.json b/schemas/bipm/si/2019/derived/prefixed/hectosteradian.json new file mode 100644 index 00000000..9d1e2802 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectosteradian", + "description": "A multiple of steradian equal to 1e2 steradian", + "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": 100.0, + "x-symbol": "hsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectotesla.json b/schemas/bipm/si/2019/derived/prefixed/hectotesla.json new file mode 100644 index 00000000..ee75f832 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectotesla", + "description": "A multiple of tesla equal to 1e2 tesla", + "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": 100.0, + "x-symbol": "hT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectovolt.json b/schemas/bipm/si/2019/derived/prefixed/hectovolt.json new file mode 100644 index 00000000..58620cc5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectovolt", + "description": "A multiple of volt equal to 1e2 volt", + "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": 100.0, + "x-symbol": "hV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectowatt.json b/schemas/bipm/si/2019/derived/prefixed/hectowatt.json new file mode 100644 index 00000000..a1628b26 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectowatt", + "description": "A multiple of watt equal to 1e2 watt", + "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": 100.0, + "x-symbol": "hW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/hectoweber.json b/schemas/bipm/si/2019/derived/prefixed/hectoweber.json new file mode 100644 index 00000000..1f9ae6e2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/hectoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hectoweber", + "description": "A multiple of weber equal to 1e2 weber", + "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": 100.0, + "x-symbol": "hWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/kilobecquerel.json new file mode 100644 index 00000000..d255bcb9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilobecquerel", + "description": "A multiple of becquerel equal to 1e3 becquerel", + "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": 1000.0, + "x-symbol": "kBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/kilocoulomb.json new file mode 100644 index 00000000..92f2bedd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilocoulomb", + "description": "A multiple of coulomb equal to 1e3 coulomb", + "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": 1000.0, + "x-symbol": "kC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/kilodegree-celsius.json new file mode 100644 index 00000000..7f895619 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e3 degree-celsius", + "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": 1000.0, + "x-symbol": "k°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilofarad.json b/schemas/bipm/si/2019/derived/prefixed/kilofarad.json new file mode 100644 index 00000000..d17f9868 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilofarad", + "description": "A multiple of farad equal to 1e3 farad", + "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": 1000.0, + "x-symbol": "kF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilogray.json b/schemas/bipm/si/2019/derived/prefixed/kilogray.json new file mode 100644 index 00000000..95adbe8c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilogray", + "description": "A multiple of gray equal to 1e3 gray", + "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": 1000.0, + "x-symbol": "kGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilohenry.json b/schemas/bipm/si/2019/derived/prefixed/kilohenry.json new file mode 100644 index 00000000..b06e19ae --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilohenry", + "description": "A multiple of henry equal to 1e3 henry", + "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": 1000.0, + "x-symbol": "kH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilohertz.json b/schemas/bipm/si/2019/derived/prefixed/kilohertz.json new file mode 100644 index 00000000..25847743 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilohertz", + "description": "A multiple of hertz equal to 1e3 hertz", + "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": 1000.0, + "x-symbol": "kHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilojoule.json b/schemas/bipm/si/2019/derived/prefixed/kilojoule.json new file mode 100644 index 00000000..a6bd53cd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilojoule", + "description": "A multiple of joule equal to 1e3 joule", + "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": 1000.0, + "x-symbol": "kJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilokatal.json b/schemas/bipm/si/2019/derived/prefixed/kilokatal.json new file mode 100644 index 00000000..420e4147 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilokatal", + "description": "A multiple of katal equal to 1e3 katal", + "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": 1000.0, + "x-symbol": "kkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilolumen.json b/schemas/bipm/si/2019/derived/prefixed/kilolumen.json new file mode 100644 index 00000000..094b8434 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilolumen", + "description": "A multiple of lumen equal to 1e3 lumen", + "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": 1000.0, + "x-symbol": "klm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilolux.json b/schemas/bipm/si/2019/derived/prefixed/kilolux.json new file mode 100644 index 00000000..e6624be2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilolux", + "description": "A multiple of lux equal to 1e3 lux", + "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": 1000.0, + "x-symbol": "klx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilonewton.json b/schemas/bipm/si/2019/derived/prefixed/kilonewton.json new file mode 100644 index 00000000..10b4e8ae --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilonewton", + "description": "A multiple of newton equal to 1e3 newton", + "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": 1000.0, + "x-symbol": "kN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kiloohm.json b/schemas/bipm/si/2019/derived/prefixed/kiloohm.json new file mode 100644 index 00000000..68e7b64f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kiloohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kiloohm", + "description": "A multiple of ohm equal to 1e3 ohm", + "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": 1000.0, + "x-symbol": "kΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilopascal.json b/schemas/bipm/si/2019/derived/prefixed/kilopascal.json new file mode 100644 index 00000000..1de17ed3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilopascal", + "description": "A multiple of pascal equal to 1e3 pascal", + "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": 1000.0, + "x-symbol": "kPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kiloradian.json b/schemas/bipm/si/2019/derived/prefixed/kiloradian.json new file mode 100644 index 00000000..643c12ba --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kiloradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kiloradian", + "description": "A multiple of radian equal to 1e3 radian", + "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": 1000.0, + "x-symbol": "krad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilosiemens.json b/schemas/bipm/si/2019/derived/prefixed/kilosiemens.json new file mode 100644 index 00000000..df6505cc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilosiemens", + "description": "A multiple of siemens equal to 1e3 siemens", + "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": 1000.0, + "x-symbol": "kS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilosievert.json b/schemas/bipm/si/2019/derived/prefixed/kilosievert.json new file mode 100644 index 00000000..6d3f0c4a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilosievert", + "description": "A multiple of sievert equal to 1e3 sievert", + "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": 1000.0, + "x-symbol": "kSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilosteradian.json b/schemas/bipm/si/2019/derived/prefixed/kilosteradian.json new file mode 100644 index 00000000..5d37487a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilosteradian", + "description": "A multiple of steradian equal to 1e3 steradian", + "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": 1000.0, + "x-symbol": "ksr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilotesla.json b/schemas/bipm/si/2019/derived/prefixed/kilotesla.json new file mode 100644 index 00000000..f3080891 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilotesla", + "description": "A multiple of tesla equal to 1e3 tesla", + "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": 1000.0, + "x-symbol": "kT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilovolt.json b/schemas/bipm/si/2019/derived/prefixed/kilovolt.json new file mode 100644 index 00000000..4fa11650 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilovolt", + "description": "A multiple of volt equal to 1e3 volt", + "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": 1000.0, + "x-symbol": "kV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kilowatt.json b/schemas/bipm/si/2019/derived/prefixed/kilowatt.json new file mode 100644 index 00000000..627af793 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kilowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kilowatt", + "description": "A multiple of watt equal to 1e3 watt", + "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": 1000.0, + "x-symbol": "kW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/kiloweber.json b/schemas/bipm/si/2019/derived/prefixed/kiloweber.json new file mode 100644 index 00000000..ca7ce60d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/kiloweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kiloweber", + "description": "A multiple of weber equal to 1e3 weber", + "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": 1000.0, + "x-symbol": "kWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/megabecquerel.json new file mode 100644 index 00000000..47b3026b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megabecquerel", + "description": "A multiple of becquerel equal to 1e6 becquerel", + "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": 1000000.0, + "x-symbol": "MBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/megacoulomb.json new file mode 100644 index 00000000..df35093e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megacoulomb", + "description": "A multiple of coulomb equal to 1e6 coulomb", + "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": 1000000.0, + "x-symbol": "MC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/megadegree-celsius.json new file mode 100644 index 00000000..dd50a869 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e6 degree-celsius", + "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": 1000000.0, + "x-symbol": "M°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megafarad.json b/schemas/bipm/si/2019/derived/prefixed/megafarad.json new file mode 100644 index 00000000..62012313 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megafarad", + "description": "A multiple of farad equal to 1e6 farad", + "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": 1000000.0, + "x-symbol": "MF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megagray.json b/schemas/bipm/si/2019/derived/prefixed/megagray.json new file mode 100644 index 00000000..dce28bac --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megagray", + "description": "A multiple of gray equal to 1e6 gray", + "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": 1000000.0, + "x-symbol": "MGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megahenry.json b/schemas/bipm/si/2019/derived/prefixed/megahenry.json new file mode 100644 index 00000000..a430e4fa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megahenry", + "description": "A multiple of henry equal to 1e6 henry", + "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": 1000000.0, + "x-symbol": "MH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megahertz.json b/schemas/bipm/si/2019/derived/prefixed/megahertz.json new file mode 100644 index 00000000..be3a7c60 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megahertz", + "description": "A multiple of hertz equal to 1e6 hertz", + "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": 1000000.0, + "x-symbol": "MHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megajoule.json b/schemas/bipm/si/2019/derived/prefixed/megajoule.json new file mode 100644 index 00000000..a7430b33 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megajoule", + "description": "A multiple of joule equal to 1e6 joule", + "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": 1000000.0, + "x-symbol": "MJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megakatal.json b/schemas/bipm/si/2019/derived/prefixed/megakatal.json new file mode 100644 index 00000000..0014ec29 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megakatal", + "description": "A multiple of katal equal to 1e6 katal", + "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": 1000000.0, + "x-symbol": "Mkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megalumen.json b/schemas/bipm/si/2019/derived/prefixed/megalumen.json new file mode 100644 index 00000000..337ceda3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megalumen", + "description": "A multiple of lumen equal to 1e6 lumen", + "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": 1000000.0, + "x-symbol": "Mlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megalux.json b/schemas/bipm/si/2019/derived/prefixed/megalux.json new file mode 100644 index 00000000..e3e0c303 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megalux", + "description": "A multiple of lux equal to 1e6 lux", + "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": 1000000.0, + "x-symbol": "Mlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/meganewton.json b/schemas/bipm/si/2019/derived/prefixed/meganewton.json new file mode 100644 index 00000000..c00dca2b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/meganewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Meganewton", + "description": "A multiple of newton equal to 1e6 newton", + "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": 1000000.0, + "x-symbol": "MN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megaohm.json b/schemas/bipm/si/2019/derived/prefixed/megaohm.json new file mode 100644 index 00000000..e1caf763 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megaohm", + "description": "A multiple of ohm equal to 1e6 ohm", + "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": 1000000.0, + "x-symbol": "MΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megapascal.json b/schemas/bipm/si/2019/derived/prefixed/megapascal.json new file mode 100644 index 00000000..2cbf5e5b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megapascal", + "description": "A multiple of pascal equal to 1e6 pascal", + "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": 1000000.0, + "x-symbol": "MPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megaradian.json b/schemas/bipm/si/2019/derived/prefixed/megaradian.json new file mode 100644 index 00000000..a351e443 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megaradian", + "description": "A multiple of radian equal to 1e6 radian", + "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": 1000000.0, + "x-symbol": "Mrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megasiemens.json b/schemas/bipm/si/2019/derived/prefixed/megasiemens.json new file mode 100644 index 00000000..4b6f4155 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megasiemens", + "description": "A multiple of siemens equal to 1e6 siemens", + "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": 1000000.0, + "x-symbol": "MS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megasievert.json b/schemas/bipm/si/2019/derived/prefixed/megasievert.json new file mode 100644 index 00000000..e462c2bf --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megasievert", + "description": "A multiple of sievert equal to 1e6 sievert", + "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": 1000000.0, + "x-symbol": "MSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megasteradian.json b/schemas/bipm/si/2019/derived/prefixed/megasteradian.json new file mode 100644 index 00000000..01bbd6b9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megasteradian", + "description": "A multiple of steradian equal to 1e6 steradian", + "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": 1000000.0, + "x-symbol": "Msr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megatesla.json b/schemas/bipm/si/2019/derived/prefixed/megatesla.json new file mode 100644 index 00000000..e15972ac --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megatesla", + "description": "A multiple of tesla equal to 1e6 tesla", + "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": 1000000.0, + "x-symbol": "MT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megavolt.json b/schemas/bipm/si/2019/derived/prefixed/megavolt.json new file mode 100644 index 00000000..2e9cb638 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megavolt", + "description": "A multiple of volt equal to 1e6 volt", + "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": 1000000.0, + "x-symbol": "MV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megawatt.json b/schemas/bipm/si/2019/derived/prefixed/megawatt.json new file mode 100644 index 00000000..15c27a35 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megawatt", + "description": "A multiple of watt equal to 1e6 watt", + "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": 1000000.0, + "x-symbol": "MW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/megaweber.json b/schemas/bipm/si/2019/derived/prefixed/megaweber.json new file mode 100644 index 00000000..672f4318 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/megaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Megaweber", + "description": "A multiple of weber equal to 1e6 weber", + "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": 1000000.0, + "x-symbol": "MWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microbecquerel.json b/schemas/bipm/si/2019/derived/prefixed/microbecquerel.json new file mode 100644 index 00000000..dd9eb8e6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microbecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microbecquerel", + "description": "A multiple of becquerel equal to 1e-6 becquerel", + "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": 1e-6, + "x-symbol": "µBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microcoulomb.json b/schemas/bipm/si/2019/derived/prefixed/microcoulomb.json new file mode 100644 index 00000000..fd29e690 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microcoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microcoulomb", + "description": "A multiple of coulomb equal to 1e-6 coulomb", + "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": 1e-6, + "x-symbol": "µC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microdegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/microdegree-celsius.json new file mode 100644 index 00000000..6c15e118 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microdegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microdegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-6 degree-celsius", + "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": 1e-6, + "x-symbol": "µ°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microfarad.json b/schemas/bipm/si/2019/derived/prefixed/microfarad.json new file mode 100644 index 00000000..07e4fac3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microfarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microfarad", + "description": "A multiple of farad equal to 1e-6 farad", + "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": 1e-6, + "x-symbol": "µF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microgray.json b/schemas/bipm/si/2019/derived/prefixed/microgray.json new file mode 100644 index 00000000..9283f454 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microgray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microgray", + "description": "A multiple of gray equal to 1e-6 gray", + "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": 1e-6, + "x-symbol": "µGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microhenry.json b/schemas/bipm/si/2019/derived/prefixed/microhenry.json new file mode 100644 index 00000000..6d8dc8f6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microhenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microhenry", + "description": "A multiple of henry equal to 1e-6 henry", + "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": 1e-6, + "x-symbol": "µH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microhertz.json b/schemas/bipm/si/2019/derived/prefixed/microhertz.json new file mode 100644 index 00000000..3f3f4b51 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microhertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microhertz", + "description": "A multiple of hertz equal to 1e-6 hertz", + "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": 1e-6, + "x-symbol": "µHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microjoule.json b/schemas/bipm/si/2019/derived/prefixed/microjoule.json new file mode 100644 index 00000000..3c888e52 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microjoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microjoule", + "description": "A multiple of joule equal to 1e-6 joule", + "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": 1e-6, + "x-symbol": "µJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microkatal.json b/schemas/bipm/si/2019/derived/prefixed/microkatal.json new file mode 100644 index 00000000..8e5af851 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microkatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microkatal", + "description": "A multiple of katal equal to 1e-6 katal", + "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": 1e-6, + "x-symbol": "µkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microlumen.json b/schemas/bipm/si/2019/derived/prefixed/microlumen.json new file mode 100644 index 00000000..afdc884f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microlumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microlumen", + "description": "A multiple of lumen equal to 1e-6 lumen", + "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": 1e-6, + "x-symbol": "µlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microlux.json b/schemas/bipm/si/2019/derived/prefixed/microlux.json new file mode 100644 index 00000000..89fd20e8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microlux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microlux", + "description": "A multiple of lux equal to 1e-6 lux", + "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": 1e-6, + "x-symbol": "µlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/micronewton.json b/schemas/bipm/si/2019/derived/prefixed/micronewton.json new file mode 100644 index 00000000..c41f1545 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/micronewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Micronewton", + "description": "A multiple of newton equal to 1e-6 newton", + "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": 1e-6, + "x-symbol": "µN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microohm.json b/schemas/bipm/si/2019/derived/prefixed/microohm.json new file mode 100644 index 00000000..98a8500b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microohm", + "description": "A multiple of ohm equal to 1e-6 ohm", + "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": 1e-6, + "x-symbol": "µΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/micropascal.json b/schemas/bipm/si/2019/derived/prefixed/micropascal.json new file mode 100644 index 00000000..243ae872 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/micropascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Micropascal", + "description": "A multiple of pascal equal to 1e-6 pascal", + "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": 1e-6, + "x-symbol": "µPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microradian.json b/schemas/bipm/si/2019/derived/prefixed/microradian.json new file mode 100644 index 00000000..f1c41dee --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microradian", + "description": "A multiple of radian equal to 1e-6 radian", + "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": 1e-6, + "x-symbol": "µrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microsiemens.json b/schemas/bipm/si/2019/derived/prefixed/microsiemens.json new file mode 100644 index 00000000..a034172e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microsiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microsiemens", + "description": "A multiple of siemens equal to 1e-6 siemens", + "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": 1e-6, + "x-symbol": "µS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microsievert.json b/schemas/bipm/si/2019/derived/prefixed/microsievert.json new file mode 100644 index 00000000..51e83bb0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microsievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microsievert", + "description": "A multiple of sievert equal to 1e-6 sievert", + "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": 1e-6, + "x-symbol": "µSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microsteradian.json b/schemas/bipm/si/2019/derived/prefixed/microsteradian.json new file mode 100644 index 00000000..c76ad27b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microsteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microsteradian", + "description": "A multiple of steradian equal to 1e-6 steradian", + "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": 1e-6, + "x-symbol": "µsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microtesla.json b/schemas/bipm/si/2019/derived/prefixed/microtesla.json new file mode 100644 index 00000000..0f952793 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microtesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microtesla", + "description": "A multiple of tesla equal to 1e-6 tesla", + "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": 1e-6, + "x-symbol": "µT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microvolt.json b/schemas/bipm/si/2019/derived/prefixed/microvolt.json new file mode 100644 index 00000000..4a9e29fd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microvolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microvolt", + "description": "A multiple of volt equal to 1e-6 volt", + "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": 1e-6, + "x-symbol": "µV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microwatt.json b/schemas/bipm/si/2019/derived/prefixed/microwatt.json new file mode 100644 index 00000000..ae70c622 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microwatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microwatt", + "description": "A multiple of watt equal to 1e-6 watt", + "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": 1e-6, + "x-symbol": "µW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/microweber.json b/schemas/bipm/si/2019/derived/prefixed/microweber.json new file mode 100644 index 00000000..8a376ecc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/microweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Microweber", + "description": "A multiple of weber equal to 1e-6 weber", + "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": 1e-6, + "x-symbol": "µWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millibecquerel.json b/schemas/bipm/si/2019/derived/prefixed/millibecquerel.json new file mode 100644 index 00000000..96b17a63 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millibecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millibecquerel", + "description": "A multiple of becquerel equal to 1e-3 becquerel", + "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": 0.001, + "x-symbol": "mBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millicoulomb.json b/schemas/bipm/si/2019/derived/prefixed/millicoulomb.json new file mode 100644 index 00000000..c51a5905 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millicoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millicoulomb", + "description": "A multiple of coulomb equal to 1e-3 coulomb", + "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": 0.001, + "x-symbol": "mC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millidegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/millidegree-celsius.json new file mode 100644 index 00000000..e907ca92 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millidegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millidegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-3 degree-celsius", + "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": 0.001, + "x-symbol": "m°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millifarad.json b/schemas/bipm/si/2019/derived/prefixed/millifarad.json new file mode 100644 index 00000000..5777bfa1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millifarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millifarad", + "description": "A multiple of farad equal to 1e-3 farad", + "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": 0.001, + "x-symbol": "mF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/milligray.json b/schemas/bipm/si/2019/derived/prefixed/milligray.json new file mode 100644 index 00000000..7280f949 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/milligray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milligray", + "description": "A multiple of gray equal to 1e-3 gray", + "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": 0.001, + "x-symbol": "mGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millihenry.json b/schemas/bipm/si/2019/derived/prefixed/millihenry.json new file mode 100644 index 00000000..59b39a31 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millihenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millihenry", + "description": "A multiple of henry equal to 1e-3 henry", + "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": 0.001, + "x-symbol": "mH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millihertz.json b/schemas/bipm/si/2019/derived/prefixed/millihertz.json new file mode 100644 index 00000000..9d31b3b6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millihertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millihertz", + "description": "A multiple of hertz equal to 1e-3 hertz", + "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": 0.001, + "x-symbol": "mHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millijoule.json b/schemas/bipm/si/2019/derived/prefixed/millijoule.json new file mode 100644 index 00000000..8ec9ce90 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millijoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millijoule", + "description": "A multiple of joule equal to 1e-3 joule", + "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": 0.001, + "x-symbol": "mJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millikatal.json b/schemas/bipm/si/2019/derived/prefixed/millikatal.json new file mode 100644 index 00000000..eb1574f8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millikatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millikatal", + "description": "A multiple of katal equal to 1e-3 katal", + "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": 0.001, + "x-symbol": "mkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millilumen.json b/schemas/bipm/si/2019/derived/prefixed/millilumen.json new file mode 100644 index 00000000..f734476b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millilumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millilumen", + "description": "A multiple of lumen equal to 1e-3 lumen", + "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": 0.001, + "x-symbol": "mlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millilux.json b/schemas/bipm/si/2019/derived/prefixed/millilux.json new file mode 100644 index 00000000..0e348a53 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millilux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millilux", + "description": "A multiple of lux equal to 1e-3 lux", + "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": 0.001, + "x-symbol": "mlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millinewton.json b/schemas/bipm/si/2019/derived/prefixed/millinewton.json new file mode 100644 index 00000000..89bc6238 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millinewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millinewton", + "description": "A multiple of newton equal to 1e-3 newton", + "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": 0.001, + "x-symbol": "mN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/milliohm.json b/schemas/bipm/si/2019/derived/prefixed/milliohm.json new file mode 100644 index 00000000..7d81056a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/milliohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milliohm", + "description": "A multiple of ohm equal to 1e-3 ohm", + "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": 0.001, + "x-symbol": "mΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millipascal.json b/schemas/bipm/si/2019/derived/prefixed/millipascal.json new file mode 100644 index 00000000..7cd27ee4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millipascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millipascal", + "description": "A multiple of pascal equal to 1e-3 pascal", + "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": 0.001, + "x-symbol": "mPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/milliradian.json b/schemas/bipm/si/2019/derived/prefixed/milliradian.json new file mode 100644 index 00000000..bee7418a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/milliradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milliradian", + "description": "A multiple of radian equal to 1e-3 radian", + "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": 0.001, + "x-symbol": "mrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millisiemens.json b/schemas/bipm/si/2019/derived/prefixed/millisiemens.json new file mode 100644 index 00000000..78f9d3d9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millisiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millisiemens", + "description": "A multiple of siemens equal to 1e-3 siemens", + "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": 0.001, + "x-symbol": "mS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millisievert.json b/schemas/bipm/si/2019/derived/prefixed/millisievert.json new file mode 100644 index 00000000..cff679bc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millisievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millisievert", + "description": "A multiple of sievert equal to 1e-3 sievert", + "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": 0.001, + "x-symbol": "mSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millisteradian.json b/schemas/bipm/si/2019/derived/prefixed/millisteradian.json new file mode 100644 index 00000000..90a9e5be --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millisteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millisteradian", + "description": "A multiple of steradian equal to 1e-3 steradian", + "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": 0.001, + "x-symbol": "msr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millitesla.json b/schemas/bipm/si/2019/derived/prefixed/millitesla.json new file mode 100644 index 00000000..609a3e03 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millitesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millitesla", + "description": "A multiple of tesla equal to 1e-3 tesla", + "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": 0.001, + "x-symbol": "mT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/millivolt.json b/schemas/bipm/si/2019/derived/prefixed/millivolt.json new file mode 100644 index 00000000..6e4addb5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/millivolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Millivolt", + "description": "A multiple of volt equal to 1e-3 volt", + "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": 0.001, + "x-symbol": "mV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/milliwatt.json b/schemas/bipm/si/2019/derived/prefixed/milliwatt.json new file mode 100644 index 00000000..edce8701 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/milliwatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milliwatt", + "description": "A multiple of watt equal to 1e-3 watt", + "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": 0.001, + "x-symbol": "mW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/milliweber.json b/schemas/bipm/si/2019/derived/prefixed/milliweber.json new file mode 100644 index 00000000..329567eb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/milliweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Milliweber", + "description": "A multiple of weber equal to 1e-3 weber", + "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": 0.001, + "x-symbol": "mWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/nanobecquerel.json new file mode 100644 index 00000000..dd6ebf02 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanobecquerel", + "description": "A multiple of becquerel equal to 1e-9 becquerel", + "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": 1e-9, + "x-symbol": "nBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/nanocoulomb.json new file mode 100644 index 00000000..73b490c5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanocoulomb", + "description": "A multiple of coulomb equal to 1e-9 coulomb", + "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": 1e-9, + "x-symbol": "nC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/nanodegree-celsius.json new file mode 100644 index 00000000..f0c8d1aa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-9 degree-celsius", + "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": 1e-9, + "x-symbol": "n°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanofarad.json b/schemas/bipm/si/2019/derived/prefixed/nanofarad.json new file mode 100644 index 00000000..e1a5cdab --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanofarad", + "description": "A multiple of farad equal to 1e-9 farad", + "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": 1e-9, + "x-symbol": "nF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanogray.json b/schemas/bipm/si/2019/derived/prefixed/nanogray.json new file mode 100644 index 00000000..0004d085 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanogray", + "description": "A multiple of gray equal to 1e-9 gray", + "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": 1e-9, + "x-symbol": "nGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanohenry.json b/schemas/bipm/si/2019/derived/prefixed/nanohenry.json new file mode 100644 index 00000000..6896d7d0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanohenry", + "description": "A multiple of henry equal to 1e-9 henry", + "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": 1e-9, + "x-symbol": "nH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanohertz.json b/schemas/bipm/si/2019/derived/prefixed/nanohertz.json new file mode 100644 index 00000000..a3468a4d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanohertz", + "description": "A multiple of hertz equal to 1e-9 hertz", + "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": 1e-9, + "x-symbol": "nHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanojoule.json b/schemas/bipm/si/2019/derived/prefixed/nanojoule.json new file mode 100644 index 00000000..7fae371d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanojoule", + "description": "A multiple of joule equal to 1e-9 joule", + "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": 1e-9, + "x-symbol": "nJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanokatal.json b/schemas/bipm/si/2019/derived/prefixed/nanokatal.json new file mode 100644 index 00000000..f0ab7015 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanokatal", + "description": "A multiple of katal equal to 1e-9 katal", + "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": 1e-9, + "x-symbol": "nkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanolumen.json b/schemas/bipm/si/2019/derived/prefixed/nanolumen.json new file mode 100644 index 00000000..c2fd0056 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanolumen", + "description": "A multiple of lumen equal to 1e-9 lumen", + "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": 1e-9, + "x-symbol": "nlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanolux.json b/schemas/bipm/si/2019/derived/prefixed/nanolux.json new file mode 100644 index 00000000..1b6e6064 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanolux", + "description": "A multiple of lux equal to 1e-9 lux", + "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": 1e-9, + "x-symbol": "nlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanonewton.json b/schemas/bipm/si/2019/derived/prefixed/nanonewton.json new file mode 100644 index 00000000..50d825bd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanonewton", + "description": "A multiple of newton equal to 1e-9 newton", + "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": 1e-9, + "x-symbol": "nN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanoohm.json b/schemas/bipm/si/2019/derived/prefixed/nanoohm.json new file mode 100644 index 00000000..80c0c30a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanoohm", + "description": "A multiple of ohm equal to 1e-9 ohm", + "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": 1e-9, + "x-symbol": "nΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanopascal.json b/schemas/bipm/si/2019/derived/prefixed/nanopascal.json new file mode 100644 index 00000000..07303e78 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanopascal", + "description": "A multiple of pascal equal to 1e-9 pascal", + "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": 1e-9, + "x-symbol": "nPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanoradian.json b/schemas/bipm/si/2019/derived/prefixed/nanoradian.json new file mode 100644 index 00000000..ecacbd07 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanoradian", + "description": "A multiple of radian equal to 1e-9 radian", + "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": 1e-9, + "x-symbol": "nrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanosiemens.json b/schemas/bipm/si/2019/derived/prefixed/nanosiemens.json new file mode 100644 index 00000000..238dcef6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanosiemens", + "description": "A multiple of siemens equal to 1e-9 siemens", + "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": 1e-9, + "x-symbol": "nS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanosievert.json b/schemas/bipm/si/2019/derived/prefixed/nanosievert.json new file mode 100644 index 00000000..9c9bcc95 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanosievert", + "description": "A multiple of sievert equal to 1e-9 sievert", + "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": 1e-9, + "x-symbol": "nSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanosteradian.json b/schemas/bipm/si/2019/derived/prefixed/nanosteradian.json new file mode 100644 index 00000000..ee0c89bc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanosteradian", + "description": "A multiple of steradian equal to 1e-9 steradian", + "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": 1e-9, + "x-symbol": "nsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanotesla.json b/schemas/bipm/si/2019/derived/prefixed/nanotesla.json new file mode 100644 index 00000000..c6e1087b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanotesla", + "description": "A multiple of tesla equal to 1e-9 tesla", + "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": 1e-9, + "x-symbol": "nT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanovolt.json b/schemas/bipm/si/2019/derived/prefixed/nanovolt.json new file mode 100644 index 00000000..a1fed02e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanovolt", + "description": "A multiple of volt equal to 1e-9 volt", + "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": 1e-9, + "x-symbol": "nV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanowatt.json b/schemas/bipm/si/2019/derived/prefixed/nanowatt.json new file mode 100644 index 00000000..395f1feb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanowatt", + "description": "A multiple of watt equal to 1e-9 watt", + "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": 1e-9, + "x-symbol": "nW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/nanoweber.json b/schemas/bipm/si/2019/derived/prefixed/nanoweber.json new file mode 100644 index 00000000..6130b0e8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/nanoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Nanoweber", + "description": "A multiple of weber equal to 1e-9 weber", + "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": 1e-9, + "x-symbol": "nWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/petabecquerel.json new file mode 100644 index 00000000..489429ba --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petabecquerel", + "description": "A multiple of becquerel equal to 1e15 becquerel", + "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-symbol": "PBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/petacoulomb.json new file mode 100644 index 00000000..e9763f5f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petacoulomb", + "description": "A multiple of coulomb equal to 1e15 coulomb", + "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-symbol": "PC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/petadegree-celsius.json new file mode 100644 index 00000000..85279770 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e15 degree-celsius", + "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-symbol": "P°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petafarad.json b/schemas/bipm/si/2019/derived/prefixed/petafarad.json new file mode 100644 index 00000000..a2caeecd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petafarad", + "description": "A multiple of farad equal to 1e15 farad", + "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-symbol": "PF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petagray.json b/schemas/bipm/si/2019/derived/prefixed/petagray.json new file mode 100644 index 00000000..6cbcd062 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petagray", + "description": "A multiple of gray equal to 1e15 gray", + "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-symbol": "PGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petahenry.json b/schemas/bipm/si/2019/derived/prefixed/petahenry.json new file mode 100644 index 00000000..b17eaad3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petahenry", + "description": "A multiple of henry equal to 1e15 henry", + "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-symbol": "PH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petahertz.json b/schemas/bipm/si/2019/derived/prefixed/petahertz.json new file mode 100644 index 00000000..0811b5e6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petahertz", + "description": "A multiple of hertz equal to 1e15 hertz", + "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-symbol": "PHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petajoule.json b/schemas/bipm/si/2019/derived/prefixed/petajoule.json new file mode 100644 index 00000000..ce0a0c13 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petajoule", + "description": "A multiple of joule equal to 1e15 joule", + "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-symbol": "PJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petakatal.json b/schemas/bipm/si/2019/derived/prefixed/petakatal.json new file mode 100644 index 00000000..ca13acd7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petakatal", + "description": "A multiple of katal equal to 1e15 katal", + "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-symbol": "Pkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petalumen.json b/schemas/bipm/si/2019/derived/prefixed/petalumen.json new file mode 100644 index 00000000..d26b56b2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petalumen", + "description": "A multiple of lumen equal to 1e15 lumen", + "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-symbol": "Plm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petalux.json b/schemas/bipm/si/2019/derived/prefixed/petalux.json new file mode 100644 index 00000000..aca821c3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petalux", + "description": "A multiple of lux equal to 1e15 lux", + "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-symbol": "Plx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petanewton.json b/schemas/bipm/si/2019/derived/prefixed/petanewton.json new file mode 100644 index 00000000..9cf3fac4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petanewton", + "description": "A multiple of newton equal to 1e15 newton", + "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-symbol": "PN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petaohm.json b/schemas/bipm/si/2019/derived/prefixed/petaohm.json new file mode 100644 index 00000000..432dcea8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petaohm", + "description": "A multiple of ohm equal to 1e15 ohm", + "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-symbol": "PΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petapascal.json b/schemas/bipm/si/2019/derived/prefixed/petapascal.json new file mode 100644 index 00000000..157a2db9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petapascal", + "description": "A multiple of pascal equal to 1e15 pascal", + "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-symbol": "PPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petaradian.json b/schemas/bipm/si/2019/derived/prefixed/petaradian.json new file mode 100644 index 00000000..85e7d9aa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petaradian", + "description": "A multiple of radian equal to 1e15 radian", + "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-symbol": "Prad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petasiemens.json b/schemas/bipm/si/2019/derived/prefixed/petasiemens.json new file mode 100644 index 00000000..590be8bd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petasiemens", + "description": "A multiple of siemens equal to 1e15 siemens", + "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-symbol": "PS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petasievert.json b/schemas/bipm/si/2019/derived/prefixed/petasievert.json new file mode 100644 index 00000000..ac3e7def --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petasievert", + "description": "A multiple of sievert equal to 1e15 sievert", + "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-symbol": "PSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petasteradian.json b/schemas/bipm/si/2019/derived/prefixed/petasteradian.json new file mode 100644 index 00000000..2e023bc8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petasteradian", + "description": "A multiple of steradian equal to 1e15 steradian", + "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-symbol": "Psr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petatesla.json b/schemas/bipm/si/2019/derived/prefixed/petatesla.json new file mode 100644 index 00000000..44930699 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petatesla", + "description": "A multiple of tesla equal to 1e15 tesla", + "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-symbol": "PT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petavolt.json b/schemas/bipm/si/2019/derived/prefixed/petavolt.json new file mode 100644 index 00000000..031af638 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petavolt", + "description": "A multiple of volt equal to 1e15 volt", + "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-symbol": "PV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petawatt.json b/schemas/bipm/si/2019/derived/prefixed/petawatt.json new file mode 100644 index 00000000..199119d0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petawatt", + "description": "A multiple of watt equal to 1e15 watt", + "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-symbol": "PW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/petaweber.json b/schemas/bipm/si/2019/derived/prefixed/petaweber.json new file mode 100644 index 00000000..7f8c754d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/petaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Petaweber", + "description": "A multiple of weber equal to 1e15 weber", + "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-symbol": "PWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/picobecquerel.json new file mode 100644 index 00000000..adf266d8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picobecquerel", + "description": "A multiple of becquerel equal to 1e-12 becquerel", + "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": 1e-12, + "x-symbol": "pBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/picocoulomb.json new file mode 100644 index 00000000..c3fe7b11 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picocoulomb", + "description": "A multiple of coulomb equal to 1e-12 coulomb", + "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": 1e-12, + "x-symbol": "pC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/picodegree-celsius.json new file mode 100644 index 00000000..c48dbe01 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-12 degree-celsius", + "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": 1e-12, + "x-symbol": "p°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picofarad.json b/schemas/bipm/si/2019/derived/prefixed/picofarad.json new file mode 100644 index 00000000..c0645429 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picofarad", + "description": "A multiple of farad equal to 1e-12 farad", + "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": 1e-12, + "x-symbol": "pF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picogray.json b/schemas/bipm/si/2019/derived/prefixed/picogray.json new file mode 100644 index 00000000..eacf1c66 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picogray", + "description": "A multiple of gray equal to 1e-12 gray", + "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": 1e-12, + "x-symbol": "pGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picohenry.json b/schemas/bipm/si/2019/derived/prefixed/picohenry.json new file mode 100644 index 00000000..7ba79f9d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picohenry", + "description": "A multiple of henry equal to 1e-12 henry", + "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": 1e-12, + "x-symbol": "pH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picohertz.json b/schemas/bipm/si/2019/derived/prefixed/picohertz.json new file mode 100644 index 00000000..69b7f335 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picohertz", + "description": "A multiple of hertz equal to 1e-12 hertz", + "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": 1e-12, + "x-symbol": "pHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picojoule.json b/schemas/bipm/si/2019/derived/prefixed/picojoule.json new file mode 100644 index 00000000..025a1887 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picojoule", + "description": "A multiple of joule equal to 1e-12 joule", + "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": 1e-12, + "x-symbol": "pJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picokatal.json b/schemas/bipm/si/2019/derived/prefixed/picokatal.json new file mode 100644 index 00000000..ed4bc56e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picokatal", + "description": "A multiple of katal equal to 1e-12 katal", + "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": 1e-12, + "x-symbol": "pkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picolumen.json b/schemas/bipm/si/2019/derived/prefixed/picolumen.json new file mode 100644 index 00000000..b1d95d62 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picolumen", + "description": "A multiple of lumen equal to 1e-12 lumen", + "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": 1e-12, + "x-symbol": "plm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picolux.json b/schemas/bipm/si/2019/derived/prefixed/picolux.json new file mode 100644 index 00000000..939284a3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picolux", + "description": "A multiple of lux equal to 1e-12 lux", + "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": 1e-12, + "x-symbol": "plx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/piconewton.json b/schemas/bipm/si/2019/derived/prefixed/piconewton.json new file mode 100644 index 00000000..60bd267f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/piconewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Piconewton", + "description": "A multiple of newton equal to 1e-12 newton", + "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": 1e-12, + "x-symbol": "pN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picoohm.json b/schemas/bipm/si/2019/derived/prefixed/picoohm.json new file mode 100644 index 00000000..14d26c40 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picoohm", + "description": "A multiple of ohm equal to 1e-12 ohm", + "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": 1e-12, + "x-symbol": "pΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picopascal.json b/schemas/bipm/si/2019/derived/prefixed/picopascal.json new file mode 100644 index 00000000..b2ce626b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picopascal", + "description": "A multiple of pascal equal to 1e-12 pascal", + "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": 1e-12, + "x-symbol": "pPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picoradian.json b/schemas/bipm/si/2019/derived/prefixed/picoradian.json new file mode 100644 index 00000000..febbf717 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picoradian", + "description": "A multiple of radian equal to 1e-12 radian", + "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": 1e-12, + "x-symbol": "prad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picosiemens.json b/schemas/bipm/si/2019/derived/prefixed/picosiemens.json new file mode 100644 index 00000000..346aa362 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picosiemens", + "description": "A multiple of siemens equal to 1e-12 siemens", + "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": 1e-12, + "x-symbol": "pS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picosievert.json b/schemas/bipm/si/2019/derived/prefixed/picosievert.json new file mode 100644 index 00000000..ca476799 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picosievert", + "description": "A multiple of sievert equal to 1e-12 sievert", + "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": 1e-12, + "x-symbol": "pSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picosteradian.json b/schemas/bipm/si/2019/derived/prefixed/picosteradian.json new file mode 100644 index 00000000..ce9cafe7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picosteradian", + "description": "A multiple of steradian equal to 1e-12 steradian", + "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": 1e-12, + "x-symbol": "psr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picotesla.json b/schemas/bipm/si/2019/derived/prefixed/picotesla.json new file mode 100644 index 00000000..3a9882cb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picotesla", + "description": "A multiple of tesla equal to 1e-12 tesla", + "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": 1e-12, + "x-symbol": "pT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picovolt.json b/schemas/bipm/si/2019/derived/prefixed/picovolt.json new file mode 100644 index 00000000..ede517af --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picovolt", + "description": "A multiple of volt equal to 1e-12 volt", + "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": 1e-12, + "x-symbol": "pV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picowatt.json b/schemas/bipm/si/2019/derived/prefixed/picowatt.json new file mode 100644 index 00000000..75bd7aa3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picowatt", + "description": "A multiple of watt equal to 1e-12 watt", + "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": 1e-12, + "x-symbol": "pW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/picoweber.json b/schemas/bipm/si/2019/derived/prefixed/picoweber.json new file mode 100644 index 00000000..3e33bcf7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/picoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Picoweber", + "description": "A multiple of weber equal to 1e-12 weber", + "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": 1e-12, + "x-symbol": "pWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/quectobecquerel.json new file mode 100644 index 00000000..039eacd0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectobecquerel", + "description": "A multiple of becquerel equal to 1e-30 becquerel", + "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": 1e-30, + "x-symbol": "qBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/quectocoulomb.json new file mode 100644 index 00000000..aeff946e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectocoulomb", + "description": "A multiple of coulomb equal to 1e-30 coulomb", + "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": 1e-30, + "x-symbol": "qC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/quectodegree-celsius.json new file mode 100644 index 00000000..6edb695a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-30 degree-celsius", + "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": 1e-30, + "x-symbol": "q°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectofarad.json b/schemas/bipm/si/2019/derived/prefixed/quectofarad.json new file mode 100644 index 00000000..3f6aa9d4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectofarad", + "description": "A multiple of farad equal to 1e-30 farad", + "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": 1e-30, + "x-symbol": "qF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectogray.json b/schemas/bipm/si/2019/derived/prefixed/quectogray.json new file mode 100644 index 00000000..ffb63f69 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectogray", + "description": "A multiple of gray equal to 1e-30 gray", + "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": 1e-30, + "x-symbol": "qGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectohenry.json b/schemas/bipm/si/2019/derived/prefixed/quectohenry.json new file mode 100644 index 00000000..aa49df27 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectohenry", + "description": "A multiple of henry equal to 1e-30 henry", + "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": 1e-30, + "x-symbol": "qH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectohertz.json b/schemas/bipm/si/2019/derived/prefixed/quectohertz.json new file mode 100644 index 00000000..40feda1a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectohertz", + "description": "A multiple of hertz equal to 1e-30 hertz", + "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": 1e-30, + "x-symbol": "qHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectojoule.json b/schemas/bipm/si/2019/derived/prefixed/quectojoule.json new file mode 100644 index 00000000..8d7bc1fa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectojoule", + "description": "A multiple of joule equal to 1e-30 joule", + "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": 1e-30, + "x-symbol": "qJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectokatal.json b/schemas/bipm/si/2019/derived/prefixed/quectokatal.json new file mode 100644 index 00000000..fe1f813f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectokatal", + "description": "A multiple of katal equal to 1e-30 katal", + "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": 1e-30, + "x-symbol": "qkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectolumen.json b/schemas/bipm/si/2019/derived/prefixed/quectolumen.json new file mode 100644 index 00000000..c9e446ed --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectolumen", + "description": "A multiple of lumen equal to 1e-30 lumen", + "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": 1e-30, + "x-symbol": "qlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectolux.json b/schemas/bipm/si/2019/derived/prefixed/quectolux.json new file mode 100644 index 00000000..08a7b50d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectolux", + "description": "A multiple of lux equal to 1e-30 lux", + "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": 1e-30, + "x-symbol": "qlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectonewton.json b/schemas/bipm/si/2019/derived/prefixed/quectonewton.json new file mode 100644 index 00000000..b8ea3b6f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectonewton", + "description": "A multiple of newton equal to 1e-30 newton", + "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": 1e-30, + "x-symbol": "qN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectoohm.json b/schemas/bipm/si/2019/derived/prefixed/quectoohm.json new file mode 100644 index 00000000..f6b6d6ef --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectoohm", + "description": "A multiple of ohm equal to 1e-30 ohm", + "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": 1e-30, + "x-symbol": "qΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectopascal.json b/schemas/bipm/si/2019/derived/prefixed/quectopascal.json new file mode 100644 index 00000000..199653b8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectopascal", + "description": "A multiple of pascal equal to 1e-30 pascal", + "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": 1e-30, + "x-symbol": "qPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectoradian.json b/schemas/bipm/si/2019/derived/prefixed/quectoradian.json new file mode 100644 index 00000000..4473bd53 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectoradian", + "description": "A multiple of radian equal to 1e-30 radian", + "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": 1e-30, + "x-symbol": "qrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectosiemens.json b/schemas/bipm/si/2019/derived/prefixed/quectosiemens.json new file mode 100644 index 00000000..51030d4b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectosiemens", + "description": "A multiple of siemens equal to 1e-30 siemens", + "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": 1e-30, + "x-symbol": "qS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectosievert.json b/schemas/bipm/si/2019/derived/prefixed/quectosievert.json new file mode 100644 index 00000000..a84c3d8e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectosievert", + "description": "A multiple of sievert equal to 1e-30 sievert", + "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": 1e-30, + "x-symbol": "qSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectosteradian.json b/schemas/bipm/si/2019/derived/prefixed/quectosteradian.json new file mode 100644 index 00000000..f0709ee9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectosteradian", + "description": "A multiple of steradian equal to 1e-30 steradian", + "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": 1e-30, + "x-symbol": "qsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectotesla.json b/schemas/bipm/si/2019/derived/prefixed/quectotesla.json new file mode 100644 index 00000000..e0fa4c38 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectotesla", + "description": "A multiple of tesla equal to 1e-30 tesla", + "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": 1e-30, + "x-symbol": "qT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectovolt.json b/schemas/bipm/si/2019/derived/prefixed/quectovolt.json new file mode 100644 index 00000000..7f0fd880 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectovolt", + "description": "A multiple of volt equal to 1e-30 volt", + "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": 1e-30, + "x-symbol": "qV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectowatt.json b/schemas/bipm/si/2019/derived/prefixed/quectowatt.json new file mode 100644 index 00000000..6958fb1a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectowatt", + "description": "A multiple of watt equal to 1e-30 watt", + "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": 1e-30, + "x-symbol": "qW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quectoweber.json b/schemas/bipm/si/2019/derived/prefixed/quectoweber.json new file mode 100644 index 00000000..290dd89a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quectoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quectoweber", + "description": "A multiple of weber equal to 1e-30 weber", + "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": 1e-30, + "x-symbol": "qWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/quettabecquerel.json new file mode 100644 index 00000000..68ac780b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettabecquerel", + "description": "A multiple of becquerel equal to 1e30 becquerel", + "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": 1e+30, + "x-symbol": "QBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/quettacoulomb.json new file mode 100644 index 00000000..e0664ca2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettacoulomb", + "description": "A multiple of coulomb equal to 1e30 coulomb", + "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": 1e+30, + "x-symbol": "QC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/quettadegree-celsius.json new file mode 100644 index 00000000..54c94108 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e30 degree-celsius", + "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": 1e+30, + "x-symbol": "Q°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettafarad.json b/schemas/bipm/si/2019/derived/prefixed/quettafarad.json new file mode 100644 index 00000000..26cd3d2a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettafarad", + "description": "A multiple of farad equal to 1e30 farad", + "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": 1e+30, + "x-symbol": "QF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettagray.json b/schemas/bipm/si/2019/derived/prefixed/quettagray.json new file mode 100644 index 00000000..2727f585 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettagray", + "description": "A multiple of gray equal to 1e30 gray", + "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": 1e+30, + "x-symbol": "QGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettahenry.json b/schemas/bipm/si/2019/derived/prefixed/quettahenry.json new file mode 100644 index 00000000..5d4d3f8f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettahenry", + "description": "A multiple of henry equal to 1e30 henry", + "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": 1e+30, + "x-symbol": "QH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettahertz.json b/schemas/bipm/si/2019/derived/prefixed/quettahertz.json new file mode 100644 index 00000000..7e95f371 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettahertz", + "description": "A multiple of hertz equal to 1e30 hertz", + "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": 1e+30, + "x-symbol": "QHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettajoule.json b/schemas/bipm/si/2019/derived/prefixed/quettajoule.json new file mode 100644 index 00000000..92a0b303 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettajoule", + "description": "A multiple of joule equal to 1e30 joule", + "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": 1e+30, + "x-symbol": "QJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettakatal.json b/schemas/bipm/si/2019/derived/prefixed/quettakatal.json new file mode 100644 index 00000000..e5540d81 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettakatal", + "description": "A multiple of katal equal to 1e30 katal", + "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": 1e+30, + "x-symbol": "Qkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettalumen.json b/schemas/bipm/si/2019/derived/prefixed/quettalumen.json new file mode 100644 index 00000000..784cd123 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettalumen", + "description": "A multiple of lumen equal to 1e30 lumen", + "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": 1e+30, + "x-symbol": "Qlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettalux.json b/schemas/bipm/si/2019/derived/prefixed/quettalux.json new file mode 100644 index 00000000..88a91409 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettalux", + "description": "A multiple of lux equal to 1e30 lux", + "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": 1e+30, + "x-symbol": "Qlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettanewton.json b/schemas/bipm/si/2019/derived/prefixed/quettanewton.json new file mode 100644 index 00000000..6ecd2720 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettanewton", + "description": "A multiple of newton equal to 1e30 newton", + "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": 1e+30, + "x-symbol": "QN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettaohm.json b/schemas/bipm/si/2019/derived/prefixed/quettaohm.json new file mode 100644 index 00000000..0dddf066 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettaohm", + "description": "A multiple of ohm equal to 1e30 ohm", + "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": 1e+30, + "x-symbol": "QΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettapascal.json b/schemas/bipm/si/2019/derived/prefixed/quettapascal.json new file mode 100644 index 00000000..fbec32d3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettapascal", + "description": "A multiple of pascal equal to 1e30 pascal", + "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": 1e+30, + "x-symbol": "QPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettaradian.json b/schemas/bipm/si/2019/derived/prefixed/quettaradian.json new file mode 100644 index 00000000..17e839fd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettaradian", + "description": "A multiple of radian equal to 1e30 radian", + "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": 1e+30, + "x-symbol": "Qrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettasiemens.json b/schemas/bipm/si/2019/derived/prefixed/quettasiemens.json new file mode 100644 index 00000000..51e63ceb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettasiemens", + "description": "A multiple of siemens equal to 1e30 siemens", + "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": 1e+30, + "x-symbol": "QS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettasievert.json b/schemas/bipm/si/2019/derived/prefixed/quettasievert.json new file mode 100644 index 00000000..76539d7c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettasievert", + "description": "A multiple of sievert equal to 1e30 sievert", + "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": 1e+30, + "x-symbol": "QSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettasteradian.json b/schemas/bipm/si/2019/derived/prefixed/quettasteradian.json new file mode 100644 index 00000000..c21f62a2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettasteradian", + "description": "A multiple of steradian equal to 1e30 steradian", + "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": 1e+30, + "x-symbol": "Qsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettatesla.json b/schemas/bipm/si/2019/derived/prefixed/quettatesla.json new file mode 100644 index 00000000..11afc226 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettatesla", + "description": "A multiple of tesla equal to 1e30 tesla", + "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": 1e+30, + "x-symbol": "QT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettavolt.json b/schemas/bipm/si/2019/derived/prefixed/quettavolt.json new file mode 100644 index 00000000..83dfa709 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettavolt", + "description": "A multiple of volt equal to 1e30 volt", + "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": 1e+30, + "x-symbol": "QV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettawatt.json b/schemas/bipm/si/2019/derived/prefixed/quettawatt.json new file mode 100644 index 00000000..76d049f4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettawatt", + "description": "A multiple of watt equal to 1e30 watt", + "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": 1e+30, + "x-symbol": "QW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/quettaweber.json b/schemas/bipm/si/2019/derived/prefixed/quettaweber.json new file mode 100644 index 00000000..1bcad4e1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/quettaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Quettaweber", + "description": "A multiple of weber equal to 1e30 weber", + "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": 1e+30, + "x-symbol": "QWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/ronnabecquerel.json new file mode 100644 index 00000000..88b7cf51 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnabecquerel", + "description": "A multiple of becquerel equal to 1e27 becquerel", + "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": 1e+27, + "x-symbol": "RBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/ronnacoulomb.json new file mode 100644 index 00000000..c3054a7e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnacoulomb", + "description": "A multiple of coulomb equal to 1e27 coulomb", + "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": 1e+27, + "x-symbol": "RC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/ronnadegree-celsius.json new file mode 100644 index 00000000..daa46475 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e27 degree-celsius", + "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": 1e+27, + "x-symbol": "R°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnafarad.json b/schemas/bipm/si/2019/derived/prefixed/ronnafarad.json new file mode 100644 index 00000000..529e4bfe --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnafarad", + "description": "A multiple of farad equal to 1e27 farad", + "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": 1e+27, + "x-symbol": "RF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnagray.json b/schemas/bipm/si/2019/derived/prefixed/ronnagray.json new file mode 100644 index 00000000..5c3cb8dc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnagray", + "description": "A multiple of gray equal to 1e27 gray", + "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": 1e+27, + "x-symbol": "RGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnahenry.json b/schemas/bipm/si/2019/derived/prefixed/ronnahenry.json new file mode 100644 index 00000000..d0ecd5a0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnahenry", + "description": "A multiple of henry equal to 1e27 henry", + "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": 1e+27, + "x-symbol": "RH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnahertz.json b/schemas/bipm/si/2019/derived/prefixed/ronnahertz.json new file mode 100644 index 00000000..a9e64f45 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnahertz", + "description": "A multiple of hertz equal to 1e27 hertz", + "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": 1e+27, + "x-symbol": "RHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnajoule.json b/schemas/bipm/si/2019/derived/prefixed/ronnajoule.json new file mode 100644 index 00000000..20e354ed --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnajoule", + "description": "A multiple of joule equal to 1e27 joule", + "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": 1e+27, + "x-symbol": "RJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnakatal.json b/schemas/bipm/si/2019/derived/prefixed/ronnakatal.json new file mode 100644 index 00000000..01193472 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnakatal", + "description": "A multiple of katal equal to 1e27 katal", + "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": 1e+27, + "x-symbol": "Rkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnalumen.json b/schemas/bipm/si/2019/derived/prefixed/ronnalumen.json new file mode 100644 index 00000000..ed40cc12 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnalumen", + "description": "A multiple of lumen equal to 1e27 lumen", + "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": 1e+27, + "x-symbol": "Rlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnalux.json b/schemas/bipm/si/2019/derived/prefixed/ronnalux.json new file mode 100644 index 00000000..f37324bb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnalux", + "description": "A multiple of lux equal to 1e27 lux", + "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": 1e+27, + "x-symbol": "Rlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnanewton.json b/schemas/bipm/si/2019/derived/prefixed/ronnanewton.json new file mode 100644 index 00000000..b400fd94 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnanewton", + "description": "A multiple of newton equal to 1e27 newton", + "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": 1e+27, + "x-symbol": "RN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnaohm.json b/schemas/bipm/si/2019/derived/prefixed/ronnaohm.json new file mode 100644 index 00000000..ea72f34b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnaohm", + "description": "A multiple of ohm equal to 1e27 ohm", + "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": 1e+27, + "x-symbol": "RΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnapascal.json b/schemas/bipm/si/2019/derived/prefixed/ronnapascal.json new file mode 100644 index 00000000..e93b8cf7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnapascal", + "description": "A multiple of pascal equal to 1e27 pascal", + "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": 1e+27, + "x-symbol": "RPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnaradian.json b/schemas/bipm/si/2019/derived/prefixed/ronnaradian.json new file mode 100644 index 00000000..add29ab8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnaradian", + "description": "A multiple of radian equal to 1e27 radian", + "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": 1e+27, + "x-symbol": "Rrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnasiemens.json b/schemas/bipm/si/2019/derived/prefixed/ronnasiemens.json new file mode 100644 index 00000000..bd193c9e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnasiemens", + "description": "A multiple of siemens equal to 1e27 siemens", + "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": 1e+27, + "x-symbol": "RS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnasievert.json b/schemas/bipm/si/2019/derived/prefixed/ronnasievert.json new file mode 100644 index 00000000..88fad575 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnasievert", + "description": "A multiple of sievert equal to 1e27 sievert", + "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": 1e+27, + "x-symbol": "RSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnasteradian.json b/schemas/bipm/si/2019/derived/prefixed/ronnasteradian.json new file mode 100644 index 00000000..ba9071e2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnasteradian", + "description": "A multiple of steradian equal to 1e27 steradian", + "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": 1e+27, + "x-symbol": "Rsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnatesla.json b/schemas/bipm/si/2019/derived/prefixed/ronnatesla.json new file mode 100644 index 00000000..3f6febfc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnatesla", + "description": "A multiple of tesla equal to 1e27 tesla", + "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": 1e+27, + "x-symbol": "RT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnavolt.json b/schemas/bipm/si/2019/derived/prefixed/ronnavolt.json new file mode 100644 index 00000000..d9206a0e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnavolt", + "description": "A multiple of volt equal to 1e27 volt", + "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": 1e+27, + "x-symbol": "RV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnawatt.json b/schemas/bipm/si/2019/derived/prefixed/ronnawatt.json new file mode 100644 index 00000000..e2abccf5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnawatt", + "description": "A multiple of watt equal to 1e27 watt", + "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": 1e+27, + "x-symbol": "RW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/ronnaweber.json b/schemas/bipm/si/2019/derived/prefixed/ronnaweber.json new file mode 100644 index 00000000..2a10e298 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/ronnaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ronnaweber", + "description": "A multiple of weber equal to 1e27 weber", + "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": 1e+27, + "x-symbol": "RWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/rontobecquerel.json new file mode 100644 index 00000000..a525324e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontobecquerel", + "description": "A multiple of becquerel equal to 1e-27 becquerel", + "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": 1e-27, + "x-symbol": "rBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/rontocoulomb.json new file mode 100644 index 00000000..4fe3ab5d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontocoulomb", + "description": "A multiple of coulomb equal to 1e-27 coulomb", + "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": 1e-27, + "x-symbol": "rC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/rontodegree-celsius.json new file mode 100644 index 00000000..2e36aac0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-27 degree-celsius", + "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": 1e-27, + "x-symbol": "r°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontofarad.json b/schemas/bipm/si/2019/derived/prefixed/rontofarad.json new file mode 100644 index 00000000..a2aa984b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontofarad", + "description": "A multiple of farad equal to 1e-27 farad", + "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": 1e-27, + "x-symbol": "rF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontogray.json b/schemas/bipm/si/2019/derived/prefixed/rontogray.json new file mode 100644 index 00000000..1829bd6c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontogray", + "description": "A multiple of gray equal to 1e-27 gray", + "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": 1e-27, + "x-symbol": "rGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontohenry.json b/schemas/bipm/si/2019/derived/prefixed/rontohenry.json new file mode 100644 index 00000000..fffd868a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontohenry", + "description": "A multiple of henry equal to 1e-27 henry", + "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": 1e-27, + "x-symbol": "rH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontohertz.json b/schemas/bipm/si/2019/derived/prefixed/rontohertz.json new file mode 100644 index 00000000..1dc828f7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontohertz", + "description": "A multiple of hertz equal to 1e-27 hertz", + "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": 1e-27, + "x-symbol": "rHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontojoule.json b/schemas/bipm/si/2019/derived/prefixed/rontojoule.json new file mode 100644 index 00000000..70a1c581 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontojoule", + "description": "A multiple of joule equal to 1e-27 joule", + "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": 1e-27, + "x-symbol": "rJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontokatal.json b/schemas/bipm/si/2019/derived/prefixed/rontokatal.json new file mode 100644 index 00000000..c32a3348 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontokatal", + "description": "A multiple of katal equal to 1e-27 katal", + "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": 1e-27, + "x-symbol": "rkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontolumen.json b/schemas/bipm/si/2019/derived/prefixed/rontolumen.json new file mode 100644 index 00000000..3a475617 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontolumen", + "description": "A multiple of lumen equal to 1e-27 lumen", + "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": 1e-27, + "x-symbol": "rlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontolux.json b/schemas/bipm/si/2019/derived/prefixed/rontolux.json new file mode 100644 index 00000000..d578515e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontolux", + "description": "A multiple of lux equal to 1e-27 lux", + "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": 1e-27, + "x-symbol": "rlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontonewton.json b/schemas/bipm/si/2019/derived/prefixed/rontonewton.json new file mode 100644 index 00000000..e823084c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontonewton", + "description": "A multiple of newton equal to 1e-27 newton", + "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": 1e-27, + "x-symbol": "rN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontoohm.json b/schemas/bipm/si/2019/derived/prefixed/rontoohm.json new file mode 100644 index 00000000..db50761e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontoohm", + "description": "A multiple of ohm equal to 1e-27 ohm", + "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": 1e-27, + "x-symbol": "rΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontopascal.json b/schemas/bipm/si/2019/derived/prefixed/rontopascal.json new file mode 100644 index 00000000..c9cf70be --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontopascal", + "description": "A multiple of pascal equal to 1e-27 pascal", + "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": 1e-27, + "x-symbol": "rPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontoradian.json b/schemas/bipm/si/2019/derived/prefixed/rontoradian.json new file mode 100644 index 00000000..59b0413a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontoradian", + "description": "A multiple of radian equal to 1e-27 radian", + "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": 1e-27, + "x-symbol": "rrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontosiemens.json b/schemas/bipm/si/2019/derived/prefixed/rontosiemens.json new file mode 100644 index 00000000..80f8a7b5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontosiemens", + "description": "A multiple of siemens equal to 1e-27 siemens", + "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": 1e-27, + "x-symbol": "rS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontosievert.json b/schemas/bipm/si/2019/derived/prefixed/rontosievert.json new file mode 100644 index 00000000..831cd180 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontosievert", + "description": "A multiple of sievert equal to 1e-27 sievert", + "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": 1e-27, + "x-symbol": "rSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontosteradian.json b/schemas/bipm/si/2019/derived/prefixed/rontosteradian.json new file mode 100644 index 00000000..5e4b0d26 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontosteradian", + "description": "A multiple of steradian equal to 1e-27 steradian", + "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": 1e-27, + "x-symbol": "rsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontotesla.json b/schemas/bipm/si/2019/derived/prefixed/rontotesla.json new file mode 100644 index 00000000..a1214b61 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontotesla", + "description": "A multiple of tesla equal to 1e-27 tesla", + "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": 1e-27, + "x-symbol": "rT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontovolt.json b/schemas/bipm/si/2019/derived/prefixed/rontovolt.json new file mode 100644 index 00000000..decb3bf1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontovolt", + "description": "A multiple of volt equal to 1e-27 volt", + "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": 1e-27, + "x-symbol": "rV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontowatt.json b/schemas/bipm/si/2019/derived/prefixed/rontowatt.json new file mode 100644 index 00000000..f503b3b0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontowatt", + "description": "A multiple of watt equal to 1e-27 watt", + "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": 1e-27, + "x-symbol": "rW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/rontoweber.json b/schemas/bipm/si/2019/derived/prefixed/rontoweber.json new file mode 100644 index 00000000..011b48d8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/rontoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Rontoweber", + "description": "A multiple of weber equal to 1e-27 weber", + "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": 1e-27, + "x-symbol": "rWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/terabecquerel.json new file mode 100644 index 00000000..98821b12 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terabecquerel", + "description": "A multiple of becquerel equal to 1e12 becquerel", + "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": 1000000000000.0, + "x-symbol": "TBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teracoulomb.json b/schemas/bipm/si/2019/derived/prefixed/teracoulomb.json new file mode 100644 index 00000000..c4eda528 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teracoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teracoulomb", + "description": "A multiple of coulomb equal to 1e12 coulomb", + "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": 1000000000000.0, + "x-symbol": "TC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teradegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/teradegree-celsius.json new file mode 100644 index 00000000..c584b874 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teradegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teradegreecelsius", + "description": "A multiple of degree-celsius equal to 1e12 degree-celsius", + "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": 1000000000000.0, + "x-symbol": "T°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terafarad.json b/schemas/bipm/si/2019/derived/prefixed/terafarad.json new file mode 100644 index 00000000..c9cd770f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terafarad", + "description": "A multiple of farad equal to 1e12 farad", + "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": 1000000000000.0, + "x-symbol": "TF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teragray.json b/schemas/bipm/si/2019/derived/prefixed/teragray.json new file mode 100644 index 00000000..1e0155f0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teragray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teragray", + "description": "A multiple of gray equal to 1e12 gray", + "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": 1000000000000.0, + "x-symbol": "TGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terahenry.json b/schemas/bipm/si/2019/derived/prefixed/terahenry.json new file mode 100644 index 00000000..1bef3f61 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terahenry", + "description": "A multiple of henry equal to 1e12 henry", + "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": 1000000000000.0, + "x-symbol": "TH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terahertz.json b/schemas/bipm/si/2019/derived/prefixed/terahertz.json new file mode 100644 index 00000000..7ef1e01f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terahertz", + "description": "A multiple of hertz equal to 1e12 hertz", + "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": 1000000000000.0, + "x-symbol": "THz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terajoule.json b/schemas/bipm/si/2019/derived/prefixed/terajoule.json new file mode 100644 index 00000000..2f8c1ec9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terajoule", + "description": "A multiple of joule equal to 1e12 joule", + "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": 1000000000000.0, + "x-symbol": "TJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terakatal.json b/schemas/bipm/si/2019/derived/prefixed/terakatal.json new file mode 100644 index 00000000..17956dfc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terakatal", + "description": "A multiple of katal equal to 1e12 katal", + "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": 1000000000000.0, + "x-symbol": "Tkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teralumen.json b/schemas/bipm/si/2019/derived/prefixed/teralumen.json new file mode 100644 index 00000000..c284a1c8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teralumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teralumen", + "description": "A multiple of lumen equal to 1e12 lumen", + "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": 1000000000000.0, + "x-symbol": "Tlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teralux.json b/schemas/bipm/si/2019/derived/prefixed/teralux.json new file mode 100644 index 00000000..09bc7240 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teralux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teralux", + "description": "A multiple of lux equal to 1e12 lux", + "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": 1000000000000.0, + "x-symbol": "Tlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teranewton.json b/schemas/bipm/si/2019/derived/prefixed/teranewton.json new file mode 100644 index 00000000..64bf68a0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teranewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teranewton", + "description": "A multiple of newton equal to 1e12 newton", + "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": 1000000000000.0, + "x-symbol": "TN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teraohm.json b/schemas/bipm/si/2019/derived/prefixed/teraohm.json new file mode 100644 index 00000000..22484c2e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teraohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teraohm", + "description": "A multiple of ohm equal to 1e12 ohm", + "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": 1000000000000.0, + "x-symbol": "TΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terapascal.json b/schemas/bipm/si/2019/derived/prefixed/terapascal.json new file mode 100644 index 00000000..0dfdd87e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terapascal", + "description": "A multiple of pascal equal to 1e12 pascal", + "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": 1000000000000.0, + "x-symbol": "TPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teraradian.json b/schemas/bipm/si/2019/derived/prefixed/teraradian.json new file mode 100644 index 00000000..ec7e9ae3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teraradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teraradian", + "description": "A multiple of radian equal to 1e12 radian", + "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": 1000000000000.0, + "x-symbol": "Trad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terasiemens.json b/schemas/bipm/si/2019/derived/prefixed/terasiemens.json new file mode 100644 index 00000000..a62e7597 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terasiemens", + "description": "A multiple of siemens equal to 1e12 siemens", + "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": 1000000000000.0, + "x-symbol": "TS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terasievert.json b/schemas/bipm/si/2019/derived/prefixed/terasievert.json new file mode 100644 index 00000000..6decc3e1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terasievert", + "description": "A multiple of sievert equal to 1e12 sievert", + "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": 1000000000000.0, + "x-symbol": "TSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terasteradian.json b/schemas/bipm/si/2019/derived/prefixed/terasteradian.json new file mode 100644 index 00000000..810df45d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terasteradian", + "description": "A multiple of steradian equal to 1e12 steradian", + "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": 1000000000000.0, + "x-symbol": "Tsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teratesla.json b/schemas/bipm/si/2019/derived/prefixed/teratesla.json new file mode 100644 index 00000000..9ea93323 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teratesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teratesla", + "description": "A multiple of tesla equal to 1e12 tesla", + "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": 1000000000000.0, + "x-symbol": "TT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teravolt.json b/schemas/bipm/si/2019/derived/prefixed/teravolt.json new file mode 100644 index 00000000..2be8e2d1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teravolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teravolt", + "description": "A multiple of volt equal to 1e12 volt", + "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": 1000000000000.0, + "x-symbol": "TV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/terawatt.json b/schemas/bipm/si/2019/derived/prefixed/terawatt.json new file mode 100644 index 00000000..b1815690 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/terawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Terawatt", + "description": "A multiple of watt equal to 1e12 watt", + "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": 1000000000000.0, + "x-symbol": "TW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/teraweber.json b/schemas/bipm/si/2019/derived/prefixed/teraweber.json new file mode 100644 index 00000000..98315ceb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/teraweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Teraweber", + "description": "A multiple of weber equal to 1e12 weber", + "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": 1000000000000.0, + "x-symbol": "TWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/yoctobecquerel.json new file mode 100644 index 00000000..56c9be97 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctobecquerel", + "description": "A multiple of becquerel equal to 1e-24 becquerel", + "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": 1e-24, + "x-symbol": "yBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/yoctocoulomb.json new file mode 100644 index 00000000..866b234b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctocoulomb", + "description": "A multiple of coulomb equal to 1e-24 coulomb", + "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": 1e-24, + "x-symbol": "yC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/yoctodegree-celsius.json new file mode 100644 index 00000000..40834295 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-24 degree-celsius", + "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": 1e-24, + "x-symbol": "y°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctofarad.json b/schemas/bipm/si/2019/derived/prefixed/yoctofarad.json new file mode 100644 index 00000000..dfc31bd2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctofarad", + "description": "A multiple of farad equal to 1e-24 farad", + "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": 1e-24, + "x-symbol": "yF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctogray.json b/schemas/bipm/si/2019/derived/prefixed/yoctogray.json new file mode 100644 index 00000000..d3848ed6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctogray", + "description": "A multiple of gray equal to 1e-24 gray", + "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": 1e-24, + "x-symbol": "yGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctohenry.json b/schemas/bipm/si/2019/derived/prefixed/yoctohenry.json new file mode 100644 index 00000000..bab96782 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctohenry", + "description": "A multiple of henry equal to 1e-24 henry", + "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": 1e-24, + "x-symbol": "yH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctohertz.json b/schemas/bipm/si/2019/derived/prefixed/yoctohertz.json new file mode 100644 index 00000000..dc06ccf8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctohertz", + "description": "A multiple of hertz equal to 1e-24 hertz", + "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": 1e-24, + "x-symbol": "yHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctojoule.json b/schemas/bipm/si/2019/derived/prefixed/yoctojoule.json new file mode 100644 index 00000000..d11e0cd4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctojoule", + "description": "A multiple of joule equal to 1e-24 joule", + "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": 1e-24, + "x-symbol": "yJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctokatal.json b/schemas/bipm/si/2019/derived/prefixed/yoctokatal.json new file mode 100644 index 00000000..745939d0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctokatal", + "description": "A multiple of katal equal to 1e-24 katal", + "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": 1e-24, + "x-symbol": "ykat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctolumen.json b/schemas/bipm/si/2019/derived/prefixed/yoctolumen.json new file mode 100644 index 00000000..8a6e40de --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctolumen", + "description": "A multiple of lumen equal to 1e-24 lumen", + "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": 1e-24, + "x-symbol": "ylm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctolux.json b/schemas/bipm/si/2019/derived/prefixed/yoctolux.json new file mode 100644 index 00000000..60ab84fb --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctolux", + "description": "A multiple of lux equal to 1e-24 lux", + "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": 1e-24, + "x-symbol": "ylx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctonewton.json b/schemas/bipm/si/2019/derived/prefixed/yoctonewton.json new file mode 100644 index 00000000..80e483a4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctonewton", + "description": "A multiple of newton equal to 1e-24 newton", + "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": 1e-24, + "x-symbol": "yN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctoohm.json b/schemas/bipm/si/2019/derived/prefixed/yoctoohm.json new file mode 100644 index 00000000..514e851c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctoohm", + "description": "A multiple of ohm equal to 1e-24 ohm", + "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": 1e-24, + "x-symbol": "yΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctopascal.json b/schemas/bipm/si/2019/derived/prefixed/yoctopascal.json new file mode 100644 index 00000000..a5da4681 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctopascal", + "description": "A multiple of pascal equal to 1e-24 pascal", + "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": 1e-24, + "x-symbol": "yPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctoradian.json b/schemas/bipm/si/2019/derived/prefixed/yoctoradian.json new file mode 100644 index 00000000..f5f82383 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctoradian", + "description": "A multiple of radian equal to 1e-24 radian", + "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": 1e-24, + "x-symbol": "yrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctosiemens.json b/schemas/bipm/si/2019/derived/prefixed/yoctosiemens.json new file mode 100644 index 00000000..917979e6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctosiemens", + "description": "A multiple of siemens equal to 1e-24 siemens", + "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": 1e-24, + "x-symbol": "yS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctosievert.json b/schemas/bipm/si/2019/derived/prefixed/yoctosievert.json new file mode 100644 index 00000000..52ee92de --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctosievert", + "description": "A multiple of sievert equal to 1e-24 sievert", + "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": 1e-24, + "x-symbol": "ySv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctosteradian.json b/schemas/bipm/si/2019/derived/prefixed/yoctosteradian.json new file mode 100644 index 00000000..0c1a247c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctosteradian", + "description": "A multiple of steradian equal to 1e-24 steradian", + "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": 1e-24, + "x-symbol": "ysr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctotesla.json b/schemas/bipm/si/2019/derived/prefixed/yoctotesla.json new file mode 100644 index 00000000..c132b3c6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctotesla", + "description": "A multiple of tesla equal to 1e-24 tesla", + "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": 1e-24, + "x-symbol": "yT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctovolt.json b/schemas/bipm/si/2019/derived/prefixed/yoctovolt.json new file mode 100644 index 00000000..4d1cd31e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctovolt", + "description": "A multiple of volt equal to 1e-24 volt", + "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": 1e-24, + "x-symbol": "yV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctowatt.json b/schemas/bipm/si/2019/derived/prefixed/yoctowatt.json new file mode 100644 index 00000000..8640ce27 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctowatt", + "description": "A multiple of watt equal to 1e-24 watt", + "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": 1e-24, + "x-symbol": "yW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yoctoweber.json b/schemas/bipm/si/2019/derived/prefixed/yoctoweber.json new file mode 100644 index 00000000..26570724 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yoctoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yoctoweber", + "description": "A multiple of weber equal to 1e-24 weber", + "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": 1e-24, + "x-symbol": "yWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/yottabecquerel.json new file mode 100644 index 00000000..d2a756ac --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottabecquerel", + "description": "A multiple of becquerel equal to 1e24 becquerel", + "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": 1e+24, + "x-symbol": "YBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/yottacoulomb.json new file mode 100644 index 00000000..4812b106 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottacoulomb", + "description": "A multiple of coulomb equal to 1e24 coulomb", + "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": 1e+24, + "x-symbol": "YC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/yottadegree-celsius.json new file mode 100644 index 00000000..67552f4b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e24 degree-celsius", + "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": 1e+24, + "x-symbol": "Y°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottafarad.json b/schemas/bipm/si/2019/derived/prefixed/yottafarad.json new file mode 100644 index 00000000..7d350978 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottafarad", + "description": "A multiple of farad equal to 1e24 farad", + "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": 1e+24, + "x-symbol": "YF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottagray.json b/schemas/bipm/si/2019/derived/prefixed/yottagray.json new file mode 100644 index 00000000..50ba4bb9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottagray", + "description": "A multiple of gray equal to 1e24 gray", + "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": 1e+24, + "x-symbol": "YGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottahenry.json b/schemas/bipm/si/2019/derived/prefixed/yottahenry.json new file mode 100644 index 00000000..73f6dd04 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottahenry", + "description": "A multiple of henry equal to 1e24 henry", + "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": 1e+24, + "x-symbol": "YH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottahertz.json b/schemas/bipm/si/2019/derived/prefixed/yottahertz.json new file mode 100644 index 00000000..0c756fd0 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottahertz", + "description": "A multiple of hertz equal to 1e24 hertz", + "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": 1e+24, + "x-symbol": "YHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottajoule.json b/schemas/bipm/si/2019/derived/prefixed/yottajoule.json new file mode 100644 index 00000000..59b59aa7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottajoule", + "description": "A multiple of joule equal to 1e24 joule", + "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": 1e+24, + "x-symbol": "YJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottakatal.json b/schemas/bipm/si/2019/derived/prefixed/yottakatal.json new file mode 100644 index 00000000..9a9d6af9 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottakatal", + "description": "A multiple of katal equal to 1e24 katal", + "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": 1e+24, + "x-symbol": "Ykat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottalumen.json b/schemas/bipm/si/2019/derived/prefixed/yottalumen.json new file mode 100644 index 00000000..ba71a970 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottalumen", + "description": "A multiple of lumen equal to 1e24 lumen", + "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": 1e+24, + "x-symbol": "Ylm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottalux.json b/schemas/bipm/si/2019/derived/prefixed/yottalux.json new file mode 100644 index 00000000..4aff4cd2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottalux", + "description": "A multiple of lux equal to 1e24 lux", + "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": 1e+24, + "x-symbol": "Ylx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottanewton.json b/schemas/bipm/si/2019/derived/prefixed/yottanewton.json new file mode 100644 index 00000000..3c77bf7a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottanewton", + "description": "A multiple of newton equal to 1e24 newton", + "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": 1e+24, + "x-symbol": "YN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottaohm.json b/schemas/bipm/si/2019/derived/prefixed/yottaohm.json new file mode 100644 index 00000000..a058d2de --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottaohm", + "description": "A multiple of ohm equal to 1e24 ohm", + "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": 1e+24, + "x-symbol": "YΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottapascal.json b/schemas/bipm/si/2019/derived/prefixed/yottapascal.json new file mode 100644 index 00000000..d5084d33 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottapascal", + "description": "A multiple of pascal equal to 1e24 pascal", + "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": 1e+24, + "x-symbol": "YPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottaradian.json b/schemas/bipm/si/2019/derived/prefixed/yottaradian.json new file mode 100644 index 00000000..25b9677f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottaradian", + "description": "A multiple of radian equal to 1e24 radian", + "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": 1e+24, + "x-symbol": "Yrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottasiemens.json b/schemas/bipm/si/2019/derived/prefixed/yottasiemens.json new file mode 100644 index 00000000..283dc320 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottasiemens", + "description": "A multiple of siemens equal to 1e24 siemens", + "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": 1e+24, + "x-symbol": "YS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottasievert.json b/schemas/bipm/si/2019/derived/prefixed/yottasievert.json new file mode 100644 index 00000000..be5bf8aa --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottasievert", + "description": "A multiple of sievert equal to 1e24 sievert", + "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": 1e+24, + "x-symbol": "YSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottasteradian.json b/schemas/bipm/si/2019/derived/prefixed/yottasteradian.json new file mode 100644 index 00000000..193cd26c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottasteradian", + "description": "A multiple of steradian equal to 1e24 steradian", + "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": 1e+24, + "x-symbol": "Ysr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottatesla.json b/schemas/bipm/si/2019/derived/prefixed/yottatesla.json new file mode 100644 index 00000000..58e4d705 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottatesla", + "description": "A multiple of tesla equal to 1e24 tesla", + "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": 1e+24, + "x-symbol": "YT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottavolt.json b/schemas/bipm/si/2019/derived/prefixed/yottavolt.json new file mode 100644 index 00000000..1bc2d6b8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottavolt", + "description": "A multiple of volt equal to 1e24 volt", + "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": 1e+24, + "x-symbol": "YV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottawatt.json b/schemas/bipm/si/2019/derived/prefixed/yottawatt.json new file mode 100644 index 00000000..355b8961 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottawatt", + "description": "A multiple of watt equal to 1e24 watt", + "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": 1e+24, + "x-symbol": "YW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/yottaweber.json b/schemas/bipm/si/2019/derived/prefixed/yottaweber.json new file mode 100644 index 00000000..dd2c6af4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/yottaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Yottaweber", + "description": "A multiple of weber equal to 1e24 weber", + "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": 1e+24, + "x-symbol": "YWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptobecquerel.json b/schemas/bipm/si/2019/derived/prefixed/zeptobecquerel.json new file mode 100644 index 00000000..c37afa6b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptobecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptobecquerel", + "description": "A multiple of becquerel equal to 1e-21 becquerel", + "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": 1e-21, + "x-symbol": "zBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptocoulomb.json b/schemas/bipm/si/2019/derived/prefixed/zeptocoulomb.json new file mode 100644 index 00000000..99aba86d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptocoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptocoulomb", + "description": "A multiple of coulomb equal to 1e-21 coulomb", + "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": 1e-21, + "x-symbol": "zC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptodegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/zeptodegree-celsius.json new file mode 100644 index 00000000..b1831cc3 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptodegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptodegreecelsius", + "description": "A multiple of degree-celsius equal to 1e-21 degree-celsius", + "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": 1e-21, + "x-symbol": "z°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptofarad.json b/schemas/bipm/si/2019/derived/prefixed/zeptofarad.json new file mode 100644 index 00000000..3040f46d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptofarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptofarad", + "description": "A multiple of farad equal to 1e-21 farad", + "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": 1e-21, + "x-symbol": "zF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptogray.json b/schemas/bipm/si/2019/derived/prefixed/zeptogray.json new file mode 100644 index 00000000..ce1f7dca --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptogray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptogray", + "description": "A multiple of gray equal to 1e-21 gray", + "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": 1e-21, + "x-symbol": "zGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptohenry.json b/schemas/bipm/si/2019/derived/prefixed/zeptohenry.json new file mode 100644 index 00000000..ac4d031c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptohenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptohenry", + "description": "A multiple of henry equal to 1e-21 henry", + "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": 1e-21, + "x-symbol": "zH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptohertz.json b/schemas/bipm/si/2019/derived/prefixed/zeptohertz.json new file mode 100644 index 00000000..5bf01482 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptohertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptohertz", + "description": "A multiple of hertz equal to 1e-21 hertz", + "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": 1e-21, + "x-symbol": "zHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptojoule.json b/schemas/bipm/si/2019/derived/prefixed/zeptojoule.json new file mode 100644 index 00000000..2020b1cc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptojoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptojoule", + "description": "A multiple of joule equal to 1e-21 joule", + "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": 1e-21, + "x-symbol": "zJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptokatal.json b/schemas/bipm/si/2019/derived/prefixed/zeptokatal.json new file mode 100644 index 00000000..84815dfc --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptokatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptokatal", + "description": "A multiple of katal equal to 1e-21 katal", + "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": 1e-21, + "x-symbol": "zkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptolumen.json b/schemas/bipm/si/2019/derived/prefixed/zeptolumen.json new file mode 100644 index 00000000..418048f6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptolumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptolumen", + "description": "A multiple of lumen equal to 1e-21 lumen", + "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": 1e-21, + "x-symbol": "zlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptolux.json b/schemas/bipm/si/2019/derived/prefixed/zeptolux.json new file mode 100644 index 00000000..86a48a68 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptolux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptolux", + "description": "A multiple of lux equal to 1e-21 lux", + "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": 1e-21, + "x-symbol": "zlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptonewton.json b/schemas/bipm/si/2019/derived/prefixed/zeptonewton.json new file mode 100644 index 00000000..d7bfef34 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptonewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptonewton", + "description": "A multiple of newton equal to 1e-21 newton", + "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": 1e-21, + "x-symbol": "zN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptoohm.json b/schemas/bipm/si/2019/derived/prefixed/zeptoohm.json new file mode 100644 index 00000000..31010927 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptoohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptoohm", + "description": "A multiple of ohm equal to 1e-21 ohm", + "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": 1e-21, + "x-symbol": "zΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptopascal.json b/schemas/bipm/si/2019/derived/prefixed/zeptopascal.json new file mode 100644 index 00000000..4146525e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptopascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptopascal", + "description": "A multiple of pascal equal to 1e-21 pascal", + "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": 1e-21, + "x-symbol": "zPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptoradian.json b/schemas/bipm/si/2019/derived/prefixed/zeptoradian.json new file mode 100644 index 00000000..79e2755f --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptoradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptoradian", + "description": "A multiple of radian equal to 1e-21 radian", + "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": 1e-21, + "x-symbol": "zrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptosiemens.json b/schemas/bipm/si/2019/derived/prefixed/zeptosiemens.json new file mode 100644 index 00000000..cb905855 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptosiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptosiemens", + "description": "A multiple of siemens equal to 1e-21 siemens", + "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": 1e-21, + "x-symbol": "zS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptosievert.json b/schemas/bipm/si/2019/derived/prefixed/zeptosievert.json new file mode 100644 index 00000000..a7fdb109 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptosievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptosievert", + "description": "A multiple of sievert equal to 1e-21 sievert", + "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": 1e-21, + "x-symbol": "zSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptosteradian.json b/schemas/bipm/si/2019/derived/prefixed/zeptosteradian.json new file mode 100644 index 00000000..e6764e31 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptosteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptosteradian", + "description": "A multiple of steradian equal to 1e-21 steradian", + "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": 1e-21, + "x-symbol": "zsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptotesla.json b/schemas/bipm/si/2019/derived/prefixed/zeptotesla.json new file mode 100644 index 00000000..ab8fd39b --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptotesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptotesla", + "description": "A multiple of tesla equal to 1e-21 tesla", + "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": 1e-21, + "x-symbol": "zT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptovolt.json b/schemas/bipm/si/2019/derived/prefixed/zeptovolt.json new file mode 100644 index 00000000..17088cf1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptovolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptovolt", + "description": "A multiple of volt equal to 1e-21 volt", + "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": 1e-21, + "x-symbol": "zV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptowatt.json b/schemas/bipm/si/2019/derived/prefixed/zeptowatt.json new file mode 100644 index 00000000..480b69d4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptowatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptowatt", + "description": "A multiple of watt equal to 1e-21 watt", + "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": 1e-21, + "x-symbol": "zW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zeptoweber.json b/schemas/bipm/si/2019/derived/prefixed/zeptoweber.json new file mode 100644 index 00000000..400b1d2c --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zeptoweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zeptoweber", + "description": "A multiple of weber equal to 1e-21 weber", + "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": 1e-21, + "x-symbol": "zWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettabecquerel.json b/schemas/bipm/si/2019/derived/prefixed/zettabecquerel.json new file mode 100644 index 00000000..9a7094db --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettabecquerel.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettabecquerel", + "description": "A multiple of becquerel equal to 1e21 becquerel", + "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": 1e+21, + "x-symbol": "ZBq", + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettacoulomb.json b/schemas/bipm/si/2019/derived/prefixed/zettacoulomb.json new file mode 100644 index 00000000..6be89d10 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettacoulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettacoulomb", + "description": "A multiple of coulomb equal to 1e21 coulomb", + "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": 1e+21, + "x-symbol": "ZC", + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettadegree-celsius.json b/schemas/bipm/si/2019/derived/prefixed/zettadegree-celsius.json new file mode 100644 index 00000000..b7ebf0ca --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettadegree-celsius.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettadegreecelsius", + "description": "A multiple of degree-celsius equal to 1e21 degree-celsius", + "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": 1e+21, + "x-symbol": "Z°C", + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettafarad.json b/schemas/bipm/si/2019/derived/prefixed/zettafarad.json new file mode 100644 index 00000000..a8e3bca5 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettafarad.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettafarad", + "description": "A multiple of farad equal to 1e21 farad", + "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": 1e+21, + "x-symbol": "ZF", + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettagray.json b/schemas/bipm/si/2019/derived/prefixed/zettagray.json new file mode 100644 index 00000000..205f0bc6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettagray.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettagray", + "description": "A multiple of gray equal to 1e21 gray", + "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": 1e+21, + "x-symbol": "ZGy", + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettahenry.json b/schemas/bipm/si/2019/derived/prefixed/zettahenry.json new file mode 100644 index 00000000..d4fca32d --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettahenry.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettahenry", + "description": "A multiple of henry equal to 1e21 henry", + "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": 1e+21, + "x-symbol": "ZH", + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettahertz.json b/schemas/bipm/si/2019/derived/prefixed/zettahertz.json new file mode 100644 index 00000000..234eaf39 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettahertz.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettahertz", + "description": "A multiple of hertz equal to 1e21 hertz", + "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": 1e+21, + "x-symbol": "ZHz", + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettajoule.json b/schemas/bipm/si/2019/derived/prefixed/zettajoule.json new file mode 100644 index 00000000..7043c9f2 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettajoule.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettajoule", + "description": "A multiple of joule equal to 1e21 joule", + "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": 1e+21, + "x-symbol": "ZJ", + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettakatal.json b/schemas/bipm/si/2019/derived/prefixed/zettakatal.json new file mode 100644 index 00000000..22ac5556 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettakatal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettakatal", + "description": "A multiple of katal equal to 1e21 katal", + "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": 1e+21, + "x-symbol": "Zkat", + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettalumen.json b/schemas/bipm/si/2019/derived/prefixed/zettalumen.json new file mode 100644 index 00000000..9139a4dd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettalumen.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettalumen", + "description": "A multiple of lumen equal to 1e21 lumen", + "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": 1e+21, + "x-symbol": "Zlm", + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettalux.json b/schemas/bipm/si/2019/derived/prefixed/zettalux.json new file mode 100644 index 00000000..09585489 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettalux.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettalux", + "description": "A multiple of lux equal to 1e21 lux", + "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": 1e+21, + "x-symbol": "Zlx", + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettanewton.json b/schemas/bipm/si/2019/derived/prefixed/zettanewton.json new file mode 100644 index 00000000..f9eaac6a --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettanewton.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettanewton", + "description": "A multiple of newton equal to 1e21 newton", + "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": 1e+21, + "x-symbol": "ZN", + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettaohm.json b/schemas/bipm/si/2019/derived/prefixed/zettaohm.json new file mode 100644 index 00000000..c0b3a466 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettaohm.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettaohm", + "description": "A multiple of ohm equal to 1e21 ohm", + "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": 1e+21, + "x-symbol": "ZΩ", + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettapascal.json b/schemas/bipm/si/2019/derived/prefixed/zettapascal.json new file mode 100644 index 00000000..5e80f998 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettapascal.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettapascal", + "description": "A multiple of pascal equal to 1e21 pascal", + "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": 1e+21, + "x-symbol": "ZPa", + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettaradian.json b/schemas/bipm/si/2019/derived/prefixed/zettaradian.json new file mode 100644 index 00000000..2649facd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettaradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettaradian", + "description": "A multiple of radian equal to 1e21 radian", + "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": 1e+21, + "x-symbol": "Zrad", + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettasiemens.json b/schemas/bipm/si/2019/derived/prefixed/zettasiemens.json new file mode 100644 index 00000000..271c3d93 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettasiemens.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettasiemens", + "description": "A multiple of siemens equal to 1e21 siemens", + "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": 1e+21, + "x-symbol": "ZS", + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettasievert.json b/schemas/bipm/si/2019/derived/prefixed/zettasievert.json new file mode 100644 index 00000000..737be1fd --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettasievert.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettasievert", + "description": "A multiple of sievert equal to 1e21 sievert", + "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": 1e+21, + "x-symbol": "ZSv", + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettasteradian.json b/schemas/bipm/si/2019/derived/prefixed/zettasteradian.json new file mode 100644 index 00000000..c647d7ba --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettasteradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettasteradian", + "description": "A multiple of steradian equal to 1e21 steradian", + "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": 1e+21, + "x-symbol": "Zsr", + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettatesla.json b/schemas/bipm/si/2019/derived/prefixed/zettatesla.json new file mode 100644 index 00000000..a6629861 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettatesla.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettatesla", + "description": "A multiple of tesla equal to 1e21 tesla", + "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": 1e+21, + "x-symbol": "ZT", + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettavolt.json b/schemas/bipm/si/2019/derived/prefixed/zettavolt.json new file mode 100644 index 00000000..eaff189e --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettavolt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettavolt", + "description": "A multiple of volt equal to 1e21 volt", + "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": 1e+21, + "x-symbol": "ZV", + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettawatt.json b/schemas/bipm/si/2019/derived/prefixed/zettawatt.json new file mode 100644 index 00000000..fb3ddbf1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettawatt.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettawatt", + "description": "A multiple of watt equal to 1e21 watt", + "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": 1e+21, + "x-symbol": "ZW", + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/prefixed/zettaweber.json b/schemas/bipm/si/2019/derived/prefixed/zettaweber.json new file mode 100644 index 00000000..ec51a057 --- /dev/null +++ b/schemas/bipm/si/2019/derived/prefixed/zettaweber.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Zettaweber", + "description": "A multiple of weber equal to 1e21 weber", + "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": 1e+21, + "x-symbol": "ZWb", + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/absorbed-dose.json b/schemas/bipm/si/2019/derived/quantity/absorbed-dose.json new file mode 100644 index 00000000..db4577a6 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/absorbed-dose.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Absorbed dose", + "description": "A derived quantity measured in grays", + "examples": [ 0, 0.001, 0.01, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.json b/schemas/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.json new file mode 100644 index 00000000..2e5d868f --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Activity referred to a radionuclide", + "description": "A derived quantity measured in becquerels", + "examples": [ 1, 1000, 1000000.0, 37000000000.0, 1000000000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/becquerel.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/amount-of-heat.json b/schemas/bipm/si/2019/derived/quantity/amount-of-heat.json new file mode 100644 index 00000000..fd84a68f --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/amount-of-heat.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Amount of heat", + "description": "A derived quantity measured in joules", + "examples": [ 0, 1, 100, 1000, 4184, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/capacitance.json b/schemas/bipm/si/2019/derived/quantity/capacitance.json new file mode 100644 index 00000000..f4e415be --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/capacitance.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Capacitance", + "description": "A derived quantity measured in farads", + "examples": [ 1e-12, 1e-9, 1e-6, 0.001, 1, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/farad.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/catalytic-activity.json b/schemas/bipm/si/2019/derived/quantity/catalytic-activity.json new file mode 100644 index 00000000..1c40bf84 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/catalytic-activity.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Catalytic activity", + "description": "A derived quantity measured in katals", + "examples": [ 1e-9, 1e-6, 0.001, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/katal.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/celsius-temperature.json b/schemas/bipm/si/2019/derived/quantity/celsius-temperature.json new file mode 100644 index 00000000..ec4e37f1 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/celsius-temperature.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Celsius temperature", + "description": "A derived quantity measured in degrees Celsius", + "examples": [ -273.15, 0, 20, 37, 100, -40 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/degree-celsius.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/dose-equivalent.json b/schemas/bipm/si/2019/derived/quantity/dose-equivalent.json new file mode 100644 index 00000000..a7187fd8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/dose-equivalent.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Dose equivalent", + "description": "A derived quantity measured in sieverts", + "examples": [ 0, 0.001, 0.01, 0.1, 1, 10 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/sievert.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/electric-charge.json b/schemas/bipm/si/2019/derived/quantity/electric-charge.json new file mode 100644 index 00000000..7f3bf283 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/electric-charge.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Electric charge", + "description": "A derived quantity measured in coulombs", + "examples": [ 0, 1, -1, 1.602e-19, 96485, 0.001 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/coulomb.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/electric-conductance.json b/schemas/bipm/si/2019/derived/quantity/electric-conductance.json new file mode 100644 index 00000000..6a15d68b --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/electric-conductance.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Electric conductance", + "description": "A derived quantity measured in siemens", + "examples": [ 0.001, 0.01, 0.1, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/siemens.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/electric-potential-difference.json b/schemas/bipm/si/2019/derived/quantity/electric-potential-difference.json new file mode 100644 index 00000000..3a19f0b7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/electric-potential-difference.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Electric potential difference", + "description": "A derived quantity measured in volts", + "examples": [ 0, 1.5, 9, 12, 120, 240, -12 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/volt.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/electric-resistance.json b/schemas/bipm/si/2019/derived/quantity/electric-resistance.json new file mode 100644 index 00000000..2f6f2ed4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/electric-resistance.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Electric resistance", + "description": "A derived quantity measured in ohms", + "examples": [ 1, 10, 100, 1000, 10000, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/ohm.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/energy.json b/schemas/bipm/si/2019/derived/quantity/energy.json new file mode 100644 index 00000000..7839e115 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/energy.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Energy", + "description": "A derived quantity measured in joules", + "examples": [ 0, 1, 100, 1000, 4184, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/force.json b/schemas/bipm/si/2019/derived/quantity/force.json new file mode 100644 index 00000000..43adb291 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/force.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Force", + "description": "A derived quantity measured in newtons", + "examples": [ 0, 1, 9.8, 100, 1000, -50 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/newton.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/frequency.json b/schemas/bipm/si/2019/derived/quantity/frequency.json new file mode 100644 index 00000000..4b16994e --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/frequency.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Frequency", + "description": "A derived quantity measured in hertz", + "examples": [ 1, 50, 60, 1000, 1000000, 2400000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/hertz.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/illuminance.json b/schemas/bipm/si/2019/derived/quantity/illuminance.json new file mode 100644 index 00000000..37c9e855 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/illuminance.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Illuminance", + "description": "A derived quantity measured in lux", + "examples": [ 0, 1, 100, 400, 1000, 10000 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/lux.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/inductance.json b/schemas/bipm/si/2019/derived/quantity/inductance.json new file mode 100644 index 00000000..00885f24 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/inductance.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Inductance", + "description": "A derived quantity measured in henries", + "examples": [ 1e-9, 1e-6, 0.001, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/henry.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/kerma.json b/schemas/bipm/si/2019/derived/quantity/kerma.json new file mode 100644 index 00000000..ea117794 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/kerma.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Kerma", + "description": "A derived quantity measured in grays", + "examples": [ 0, 0.001, 0.01, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/gray.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/luminous-flux.json b/schemas/bipm/si/2019/derived/quantity/luminous-flux.json new file mode 100644 index 00000000..68ffe536 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/luminous-flux.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Luminous flux", + "description": "A derived quantity measured in lumens", + "examples": [ 0, 100, 800, 1500, 5000, 10000 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/lumen.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/magnetic-flux-density.json b/schemas/bipm/si/2019/derived/quantity/magnetic-flux-density.json new file mode 100644 index 00000000..cb7a2c42 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/magnetic-flux-density.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Magnetic flux density", + "description": "A derived quantity measured in teslas", + "examples": [ 0, 5e-5, 0.001, 1, 10, -0.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/tesla.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/magnetic-flux.json b/schemas/bipm/si/2019/derived/quantity/magnetic-flux.json new file mode 100644 index 00000000..d201bae7 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/magnetic-flux.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Magnetic flux", + "description": "A derived quantity measured in webers", + "examples": [ 0, 0.001, 0.1, 1, 10, -1 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/weber.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/plane-angle.json b/schemas/bipm/si/2019/derived/quantity/plane-angle.json new file mode 100644 index 00000000..9fccb90c --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/plane-angle.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Plane angle", + "description": "A derived quantity measured in radians", + "examples": [ 0, 1, 3.14159, 6.28318, 1.5708, -1.5708 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/radian.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/power.json b/schemas/bipm/si/2019/derived/quantity/power.json new file mode 100644 index 00000000..6d5c3f10 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/power.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Power", + "description": "A derived quantity measured in watts", + "examples": [ 0, 1, 100, 1000, 1500, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/pressure.json b/schemas/bipm/si/2019/derived/quantity/pressure.json new file mode 100644 index 00000000..823ca963 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/pressure.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Pressure", + "description": "A derived quantity measured in pascals", + "examples": [ 0, 101325, 1000, 100000, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/radiant-flux.json b/schemas/bipm/si/2019/derived/quantity/radiant-flux.json new file mode 100644 index 00000000..997e4e93 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/radiant-flux.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Radiant flux", + "description": "A derived quantity measured in watts", + "examples": [ 0, 1, 100, 1000, 1500, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/watt.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/solid-angle.json b/schemas/bipm/si/2019/derived/quantity/solid-angle.json new file mode 100644 index 00000000..eefb9852 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/solid-angle.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Solid angle", + "description": "A derived quantity measured in steradians", + "examples": [ 0, 1, 12.5664, 4.18879, 0.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/steradian.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/stress.json b/schemas/bipm/si/2019/derived/quantity/stress.json new file mode 100644 index 00000000..66789361 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/stress.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Stress", + "description": "A derived quantity measured in pascals", + "examples": [ 0, 101325, 1000, 100000, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/pascal.json" +} diff --git a/schemas/bipm/si/2019/derived/quantity/work.json b/schemas/bipm/si/2019/derived/quantity/work.json new file mode 100644 index 00000000..16b86956 --- /dev/null +++ b/schemas/bipm/si/2019/derived/quantity/work.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Work", + "description": "A derived quantity measured in joules", + "examples": [ 0, 1, 100, 1000, 4184, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "$ref": "../unit/joule.json" +} diff --git a/schemas/bipm/si/2019/derived/symbol.json b/schemas/bipm/si/2019/derived/symbol.json new file mode 100644 index 00000000..4ece8664 --- /dev/null +++ b/schemas/bipm/si/2019/derived/symbol.json @@ -0,0 +1,2222 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Derived unit symbol", + "description": "The symbol of an SI derived unit with a special name or prefixed derived unit", + "examples": [ + "Hz", + "N", + "Pa", + "J", + "W", + "V", + "Ω", + "°C", + "mHz", + "kN", + "µΩ" + ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "anyOf": [ + { + "title": "Radian", + "const": "rad" + }, + { + "title": "Steradian", + "const": "sr" + }, + { + "title": "Hertz", + "const": "Hz" + }, + { + "title": "Newton", + "const": "N" + }, + { + "title": "Pascal", + "const": "Pa" + }, + { + "title": "Joule", + "const": "J" + }, + { + "title": "Watt", + "const": "W" + }, + { + "title": "Coulomb", + "const": "C" + }, + { + "title": "Volt", + "const": "V" + }, + { + "title": "Farad", + "const": "F" + }, + { + "title": "Ohm", + "const": "Ω" + }, + { + "title": "Siemens", + "const": "S" + }, + { + "title": "Weber", + "const": "Wb" + }, + { + "title": "Tesla", + "const": "T" + }, + { + "title": "Henry", + "const": "H" + }, + { + "title": "Degree Celsius", + "const": "°C" + }, + { + "title": "Lumen", + "const": "lm" + }, + { + "title": "Lux", + "const": "lx" + }, + { + "title": "Becquerel", + "const": "Bq" + }, + { + "title": "Gray", + "const": "Gy" + }, + { + "title": "Sievert", + "const": "Sv" + }, + { + "title": "Katal", + "const": "kat" + }, + { + "title": "Attobecquerel", + "const": "aBq" + }, + { + "title": "Attocoulomb", + "const": "aC" + }, + { + "title": "Attodegreecelsius", + "const": "a°C" + }, + { + "title": "Attofarad", + "const": "aF" + }, + { + "title": "Attogray", + "const": "aGy" + }, + { + "title": "Attohenry", + "const": "aH" + }, + { + "title": "Attohertz", + "const": "aHz" + }, + { + "title": "Attojoule", + "const": "aJ" + }, + { + "title": "Attokatal", + "const": "akat" + }, + { + "title": "Attolumen", + "const": "alm" + }, + { + "title": "Attolux", + "const": "alx" + }, + { + "title": "Attonewton", + "const": "aN" + }, + { + "title": "Attoohm", + "const": "aΩ" + }, + { + "title": "Attopascal", + "const": "aPa" + }, + { + "title": "Attoradian", + "const": "arad" + }, + { + "title": "Attosiemens", + "const": "aS" + }, + { + "title": "Attosievert", + "const": "aSv" + }, + { + "title": "Attosteradian", + "const": "asr" + }, + { + "title": "Attotesla", + "const": "aT" + }, + { + "title": "Attovolt", + "const": "aV" + }, + { + "title": "Attowatt", + "const": "aW" + }, + { + "title": "Attoweber", + "const": "aWb" + }, + { + "title": "Centibecquerel", + "const": "cBq" + }, + { + "title": "Centicoulomb", + "const": "cC" + }, + { + "title": "Centidegreecelsius", + "const": "c°C" + }, + { + "title": "Centifarad", + "const": "cF" + }, + { + "title": "Centigray", + "const": "cGy" + }, + { + "title": "Centihenry", + "const": "cH" + }, + { + "title": "Centihertz", + "const": "cHz" + }, + { + "title": "Centijoule", + "const": "cJ" + }, + { + "title": "Centikatal", + "const": "ckat" + }, + { + "title": "Centilumen", + "const": "clm" + }, + { + "title": "Centilux", + "const": "clx" + }, + { + "title": "Centinewton", + "const": "cN" + }, + { + "title": "Centiohm", + "const": "cΩ" + }, + { + "title": "Centipascal", + "const": "cPa" + }, + { + "title": "Centiradian", + "const": "crad" + }, + { + "title": "Centisiemens", + "const": "cS" + }, + { + "title": "Centisievert", + "const": "cSv" + }, + { + "title": "Centisteradian", + "const": "csr" + }, + { + "title": "Centitesla", + "const": "cT" + }, + { + "title": "Centivolt", + "const": "cV" + }, + { + "title": "Centiwatt", + "const": "cW" + }, + { + "title": "Centiweber", + "const": "cWb" + }, + { + "title": "Decabecquerel", + "const": "daBq" + }, + { + "title": "Decacoulomb", + "const": "daC" + }, + { + "title": "Decadegreecelsius", + "const": "da°C" + }, + { + "title": "Decafarad", + "const": "daF" + }, + { + "title": "Decagray", + "const": "daGy" + }, + { + "title": "Decahenry", + "const": "daH" + }, + { + "title": "Decahertz", + "const": "daHz" + }, + { + "title": "Decajoule", + "const": "daJ" + }, + { + "title": "Decakatal", + "const": "dakat" + }, + { + "title": "Decalumen", + "const": "dalm" + }, + { + "title": "Decalux", + "const": "dalx" + }, + { + "title": "Decanewton", + "const": "daN" + }, + { + "title": "Decaohm", + "const": "daΩ" + }, + { + "title": "Decapascal", + "const": "daPa" + }, + { + "title": "Decaradian", + "const": "darad" + }, + { + "title": "Decasiemens", + "const": "daS" + }, + { + "title": "Decasievert", + "const": "daSv" + }, + { + "title": "Decasteradian", + "const": "dasr" + }, + { + "title": "Decatesla", + "const": "daT" + }, + { + "title": "Decavolt", + "const": "daV" + }, + { + "title": "Decawatt", + "const": "daW" + }, + { + "title": "Decaweber", + "const": "daWb" + }, + { + "title": "Decibecquerel", + "const": "dBq" + }, + { + "title": "Decicoulomb", + "const": "dC" + }, + { + "title": "Decidegreecelsius", + "const": "d°C" + }, + { + "title": "Decifarad", + "const": "dF" + }, + { + "title": "Decigray", + "const": "dGy" + }, + { + "title": "Decihenry", + "const": "dH" + }, + { + "title": "Decihertz", + "const": "dHz" + }, + { + "title": "Decijoule", + "const": "dJ" + }, + { + "title": "Decikatal", + "const": "dkat" + }, + { + "title": "Decilumen", + "const": "dlm" + }, + { + "title": "Decilux", + "const": "dlx" + }, + { + "title": "Decinewton", + "const": "dN" + }, + { + "title": "Deciohm", + "const": "dΩ" + }, + { + "title": "Decipascal", + "const": "dPa" + }, + { + "title": "Deciradian", + "const": "drad" + }, + { + "title": "Decisiemens", + "const": "dS" + }, + { + "title": "Decisievert", + "const": "dSv" + }, + { + "title": "Decisteradian", + "const": "dsr" + }, + { + "title": "Decitesla", + "const": "dT" + }, + { + "title": "Decivolt", + "const": "dV" + }, + { + "title": "Deciwatt", + "const": "dW" + }, + { + "title": "Deciweber", + "const": "dWb" + }, + { + "title": "Exabecquerel", + "const": "EBq" + }, + { + "title": "Exacoulomb", + "const": "EC" + }, + { + "title": "Exadegreecelsius", + "const": "E°C" + }, + { + "title": "Exafarad", + "const": "EF" + }, + { + "title": "Exagray", + "const": "EGy" + }, + { + "title": "Exahenry", + "const": "EH" + }, + { + "title": "Exahertz", + "const": "EHz" + }, + { + "title": "Exajoule", + "const": "EJ" + }, + { + "title": "Exakatal", + "const": "Ekat" + }, + { + "title": "Exalumen", + "const": "Elm" + }, + { + "title": "Exalux", + "const": "Elx" + }, + { + "title": "Exanewton", + "const": "EN" + }, + { + "title": "Exaohm", + "const": "EΩ" + }, + { + "title": "Exapascal", + "const": "EPa" + }, + { + "title": "Exaradian", + "const": "Erad" + }, + { + "title": "Exasiemens", + "const": "ES" + }, + { + "title": "Exasievert", + "const": "ESv" + }, + { + "title": "Exasteradian", + "const": "Esr" + }, + { + "title": "Exatesla", + "const": "ET" + }, + { + "title": "Exavolt", + "const": "EV" + }, + { + "title": "Exawatt", + "const": "EW" + }, + { + "title": "Exaweber", + "const": "EWb" + }, + { + "title": "Femtobecquerel", + "const": "fBq" + }, + { + "title": "Femtocoulomb", + "const": "fC" + }, + { + "title": "Femtodegreecelsius", + "const": "f°C" + }, + { + "title": "Femtofarad", + "const": "fF" + }, + { + "title": "Femtogray", + "const": "fGy" + }, + { + "title": "Femtohenry", + "const": "fH" + }, + { + "title": "Femtohertz", + "const": "fHz" + }, + { + "title": "Femtojoule", + "const": "fJ" + }, + { + "title": "Femtokatal", + "const": "fkat" + }, + { + "title": "Femtolumen", + "const": "flm" + }, + { + "title": "Femtolux", + "const": "flx" + }, + { + "title": "Femtonewton", + "const": "fN" + }, + { + "title": "Femtoohm", + "const": "fΩ" + }, + { + "title": "Femtopascal", + "const": "fPa" + }, + { + "title": "Femtoradian", + "const": "frad" + }, + { + "title": "Femtosiemens", + "const": "fS" + }, + { + "title": "Femtosievert", + "const": "fSv" + }, + { + "title": "Femtosteradian", + "const": "fsr" + }, + { + "title": "Femtotesla", + "const": "fT" + }, + { + "title": "Femtovolt", + "const": "fV" + }, + { + "title": "Femtowatt", + "const": "fW" + }, + { + "title": "Femtoweber", + "const": "fWb" + }, + { + "title": "Gigabecquerel", + "const": "GBq" + }, + { + "title": "Gigacoulomb", + "const": "GC" + }, + { + "title": "Gigadegreecelsius", + "const": "G°C" + }, + { + "title": "Gigafarad", + "const": "GF" + }, + { + "title": "Gigagray", + "const": "GGy" + }, + { + "title": "Gigahenry", + "const": "GH" + }, + { + "title": "Gigahertz", + "const": "GHz" + }, + { + "title": "Gigajoule", + "const": "GJ" + }, + { + "title": "Gigakatal", + "const": "Gkat" + }, + { + "title": "Gigalumen", + "const": "Glm" + }, + { + "title": "Gigalux", + "const": "Glx" + }, + { + "title": "Giganewton", + "const": "GN" + }, + { + "title": "Gigaohm", + "const": "GΩ" + }, + { + "title": "Gigapascal", + "const": "GPa" + }, + { + "title": "Gigaradian", + "const": "Grad" + }, + { + "title": "Gigasiemens", + "const": "GS" + }, + { + "title": "Gigasievert", + "const": "GSv" + }, + { + "title": "Gigasteradian", + "const": "Gsr" + }, + { + "title": "Gigatesla", + "const": "GT" + }, + { + "title": "Gigavolt", + "const": "GV" + }, + { + "title": "Gigawatt", + "const": "GW" + }, + { + "title": "Gigaweber", + "const": "GWb" + }, + { + "title": "Hectobecquerel", + "const": "hBq" + }, + { + "title": "Hectocoulomb", + "const": "hC" + }, + { + "title": "Hectodegreecelsius", + "const": "h°C" + }, + { + "title": "Hectofarad", + "const": "hF" + }, + { + "title": "Hectogray", + "const": "hGy" + }, + { + "title": "Hectohenry", + "const": "hH" + }, + { + "title": "Hectohertz", + "const": "hHz" + }, + { + "title": "Hectojoule", + "const": "hJ" + }, + { + "title": "Hectokatal", + "const": "hkat" + }, + { + "title": "Hectolumen", + "const": "hlm" + }, + { + "title": "Hectolux", + "const": "hlx" + }, + { + "title": "Hectonewton", + "const": "hN" + }, + { + "title": "Hectoohm", + "const": "hΩ" + }, + { + "title": "Hectopascal", + "const": "hPa" + }, + { + "title": "Hectoradian", + "const": "hrad" + }, + { + "title": "Hectosiemens", + "const": "hS" + }, + { + "title": "Hectosievert", + "const": "hSv" + }, + { + "title": "Hectosteradian", + "const": "hsr" + }, + { + "title": "Hectotesla", + "const": "hT" + }, + { + "title": "Hectovolt", + "const": "hV" + }, + { + "title": "Hectowatt", + "const": "hW" + }, + { + "title": "Hectoweber", + "const": "hWb" + }, + { + "title": "Kilobecquerel", + "const": "kBq" + }, + { + "title": "Kilocoulomb", + "const": "kC" + }, + { + "title": "Kilodegreecelsius", + "const": "k°C" + }, + { + "title": "Kilofarad", + "const": "kF" + }, + { + "title": "Kilogray", + "const": "kGy" + }, + { + "title": "Kilohenry", + "const": "kH" + }, + { + "title": "Kilohertz", + "const": "kHz" + }, + { + "title": "Kilojoule", + "const": "kJ" + }, + { + "title": "Kilokatal", + "const": "kkat" + }, + { + "title": "Kilolumen", + "const": "klm" + }, + { + "title": "Kilolux", + "const": "klx" + }, + { + "title": "Kilonewton", + "const": "kN" + }, + { + "title": "Kiloohm", + "const": "kΩ" + }, + { + "title": "Kilopascal", + "const": "kPa" + }, + { + "title": "Kiloradian", + "const": "krad" + }, + { + "title": "Kilosiemens", + "const": "kS" + }, + { + "title": "Kilosievert", + "const": "kSv" + }, + { + "title": "Kilosteradian", + "const": "ksr" + }, + { + "title": "Kilotesla", + "const": "kT" + }, + { + "title": "Kilovolt", + "const": "kV" + }, + { + "title": "Kilowatt", + "const": "kW" + }, + { + "title": "Kiloweber", + "const": "kWb" + }, + { + "title": "Megabecquerel", + "const": "MBq" + }, + { + "title": "Megacoulomb", + "const": "MC" + }, + { + "title": "Megadegreecelsius", + "const": "M°C" + }, + { + "title": "Megafarad", + "const": "MF" + }, + { + "title": "Megagray", + "const": "MGy" + }, + { + "title": "Megahenry", + "const": "MH" + }, + { + "title": "Megahertz", + "const": "MHz" + }, + { + "title": "Megajoule", + "const": "MJ" + }, + { + "title": "Megakatal", + "const": "Mkat" + }, + { + "title": "Megalumen", + "const": "Mlm" + }, + { + "title": "Megalux", + "const": "Mlx" + }, + { + "title": "Meganewton", + "const": "MN" + }, + { + "title": "Megaohm", + "const": "MΩ" + }, + { + "title": "Megapascal", + "const": "MPa" + }, + { + "title": "Megaradian", + "const": "Mrad" + }, + { + "title": "Megasiemens", + "const": "MS" + }, + { + "title": "Megasievert", + "const": "MSv" + }, + { + "title": "Megasteradian", + "const": "Msr" + }, + { + "title": "Megatesla", + "const": "MT" + }, + { + "title": "Megavolt", + "const": "MV" + }, + { + "title": "Megawatt", + "const": "MW" + }, + { + "title": "Megaweber", + "const": "MWb" + }, + { + "title": "Microbecquerel", + "const": "µBq" + }, + { + "title": "Microcoulomb", + "const": "µC" + }, + { + "title": "Microdegreecelsius", + "const": "µ°C" + }, + { + "title": "Microfarad", + "const": "µF" + }, + { + "title": "Microgray", + "const": "µGy" + }, + { + "title": "Microhenry", + "const": "µH" + }, + { + "title": "Microhertz", + "const": "µHz" + }, + { + "title": "Microjoule", + "const": "µJ" + }, + { + "title": "Microkatal", + "const": "µkat" + }, + { + "title": "Microlumen", + "const": "µlm" + }, + { + "title": "Microlux", + "const": "µlx" + }, + { + "title": "Micronewton", + "const": "µN" + }, + { + "title": "Microohm", + "const": "µΩ" + }, + { + "title": "Micropascal", + "const": "µPa" + }, + { + "title": "Microradian", + "const": "µrad" + }, + { + "title": "Microsiemens", + "const": "µS" + }, + { + "title": "Microsievert", + "const": "µSv" + }, + { + "title": "Microsteradian", + "const": "µsr" + }, + { + "title": "Microtesla", + "const": "µT" + }, + { + "title": "Microvolt", + "const": "µV" + }, + { + "title": "Microwatt", + "const": "µW" + }, + { + "title": "Microweber", + "const": "µWb" + }, + { + "title": "Millibecquerel", + "const": "mBq" + }, + { + "title": "Millicoulomb", + "const": "mC" + }, + { + "title": "Millidegreecelsius", + "const": "m°C" + }, + { + "title": "Millifarad", + "const": "mF" + }, + { + "title": "Milligray", + "const": "mGy" + }, + { + "title": "Millihenry", + "const": "mH" + }, + { + "title": "Millihertz", + "const": "mHz" + }, + { + "title": "Millijoule", + "const": "mJ" + }, + { + "title": "Millikatal", + "const": "mkat" + }, + { + "title": "Millilumen", + "const": "mlm" + }, + { + "title": "Millilux", + "const": "mlx" + }, + { + "title": "Millinewton", + "const": "mN" + }, + { + "title": "Milliohm", + "const": "mΩ" + }, + { + "title": "Millipascal", + "const": "mPa" + }, + { + "title": "Milliradian", + "const": "mrad" + }, + { + "title": "Millisiemens", + "const": "mS" + }, + { + "title": "Millisievert", + "const": "mSv" + }, + { + "title": "Millisteradian", + "const": "msr" + }, + { + "title": "Millitesla", + "const": "mT" + }, + { + "title": "Millivolt", + "const": "mV" + }, + { + "title": "Milliwatt", + "const": "mW" + }, + { + "title": "Milliweber", + "const": "mWb" + }, + { + "title": "Nanobecquerel", + "const": "nBq" + }, + { + "title": "Nanocoulomb", + "const": "nC" + }, + { + "title": "Nanodegreecelsius", + "const": "n°C" + }, + { + "title": "Nanofarad", + "const": "nF" + }, + { + "title": "Nanogray", + "const": "nGy" + }, + { + "title": "Nanohenry", + "const": "nH" + }, + { + "title": "Nanohertz", + "const": "nHz" + }, + { + "title": "Nanojoule", + "const": "nJ" + }, + { + "title": "Nanokatal", + "const": "nkat" + }, + { + "title": "Nanolumen", + "const": "nlm" + }, + { + "title": "Nanolux", + "const": "nlx" + }, + { + "title": "Nanonewton", + "const": "nN" + }, + { + "title": "Nanoohm", + "const": "nΩ" + }, + { + "title": "Nanopascal", + "const": "nPa" + }, + { + "title": "Nanoradian", + "const": "nrad" + }, + { + "title": "Nanosiemens", + "const": "nS" + }, + { + "title": "Nanosievert", + "const": "nSv" + }, + { + "title": "Nanosteradian", + "const": "nsr" + }, + { + "title": "Nanotesla", + "const": "nT" + }, + { + "title": "Nanovolt", + "const": "nV" + }, + { + "title": "Nanowatt", + "const": "nW" + }, + { + "title": "Nanoweber", + "const": "nWb" + }, + { + "title": "Petabecquerel", + "const": "PBq" + }, + { + "title": "Petacoulomb", + "const": "PC" + }, + { + "title": "Petadegreecelsius", + "const": "P°C" + }, + { + "title": "Petafarad", + "const": "PF" + }, + { + "title": "Petagray", + "const": "PGy" + }, + { + "title": "Petahenry", + "const": "PH" + }, + { + "title": "Petahertz", + "const": "PHz" + }, + { + "title": "Petajoule", + "const": "PJ" + }, + { + "title": "Petakatal", + "const": "Pkat" + }, + { + "title": "Petalumen", + "const": "Plm" + }, + { + "title": "Petalux", + "const": "Plx" + }, + { + "title": "Petanewton", + "const": "PN" + }, + { + "title": "Petaohm", + "const": "PΩ" + }, + { + "title": "Petapascal", + "const": "PPa" + }, + { + "title": "Petaradian", + "const": "Prad" + }, + { + "title": "Petasiemens", + "const": "PS" + }, + { + "title": "Petasievert", + "const": "PSv" + }, + { + "title": "Petasteradian", + "const": "Psr" + }, + { + "title": "Petatesla", + "const": "PT" + }, + { + "title": "Petavolt", + "const": "PV" + }, + { + "title": "Petawatt", + "const": "PW" + }, + { + "title": "Petaweber", + "const": "PWb" + }, + { + "title": "Picobecquerel", + "const": "pBq" + }, + { + "title": "Picocoulomb", + "const": "pC" + }, + { + "title": "Picodegreecelsius", + "const": "p°C" + }, + { + "title": "Picofarad", + "const": "pF" + }, + { + "title": "Picogray", + "const": "pGy" + }, + { + "title": "Picohenry", + "const": "pH" + }, + { + "title": "Picohertz", + "const": "pHz" + }, + { + "title": "Picojoule", + "const": "pJ" + }, + { + "title": "Picokatal", + "const": "pkat" + }, + { + "title": "Picolumen", + "const": "plm" + }, + { + "title": "Picolux", + "const": "plx" + }, + { + "title": "Piconewton", + "const": "pN" + }, + { + "title": "Picoohm", + "const": "pΩ" + }, + { + "title": "Picopascal", + "const": "pPa" + }, + { + "title": "Picoradian", + "const": "prad" + }, + { + "title": "Picosiemens", + "const": "pS" + }, + { + "title": "Picosievert", + "const": "pSv" + }, + { + "title": "Picosteradian", + "const": "psr" + }, + { + "title": "Picotesla", + "const": "pT" + }, + { + "title": "Picovolt", + "const": "pV" + }, + { + "title": "Picowatt", + "const": "pW" + }, + { + "title": "Picoweber", + "const": "pWb" + }, + { + "title": "Quectobecquerel", + "const": "qBq" + }, + { + "title": "Quectocoulomb", + "const": "qC" + }, + { + "title": "Quectodegreecelsius", + "const": "q°C" + }, + { + "title": "Quectofarad", + "const": "qF" + }, + { + "title": "Quectogray", + "const": "qGy" + }, + { + "title": "Quectohenry", + "const": "qH" + }, + { + "title": "Quectohertz", + "const": "qHz" + }, + { + "title": "Quectojoule", + "const": "qJ" + }, + { + "title": "Quectokatal", + "const": "qkat" + }, + { + "title": "Quectolumen", + "const": "qlm" + }, + { + "title": "Quectolux", + "const": "qlx" + }, + { + "title": "Quectonewton", + "const": "qN" + }, + { + "title": "Quectoohm", + "const": "qΩ" + }, + { + "title": "Quectopascal", + "const": "qPa" + }, + { + "title": "Quectoradian", + "const": "qrad" + }, + { + "title": "Quectosiemens", + "const": "qS" + }, + { + "title": "Quectosievert", + "const": "qSv" + }, + { + "title": "Quectosteradian", + "const": "qsr" + }, + { + "title": "Quectotesla", + "const": "qT" + }, + { + "title": "Quectovolt", + "const": "qV" + }, + { + "title": "Quectowatt", + "const": "qW" + }, + { + "title": "Quectoweber", + "const": "qWb" + }, + { + "title": "Quettabecquerel", + "const": "QBq" + }, + { + "title": "Quettacoulomb", + "const": "QC" + }, + { + "title": "Quettadegreecelsius", + "const": "Q°C" + }, + { + "title": "Quettafarad", + "const": "QF" + }, + { + "title": "Quettagray", + "const": "QGy" + }, + { + "title": "Quettahenry", + "const": "QH" + }, + { + "title": "Quettahertz", + "const": "QHz" + }, + { + "title": "Quettajoule", + "const": "QJ" + }, + { + "title": "Quettakatal", + "const": "Qkat" + }, + { + "title": "Quettalumen", + "const": "Qlm" + }, + { + "title": "Quettalux", + "const": "Qlx" + }, + { + "title": "Quettanewton", + "const": "QN" + }, + { + "title": "Quettaohm", + "const": "QΩ" + }, + { + "title": "Quettapascal", + "const": "QPa" + }, + { + "title": "Quettaradian", + "const": "Qrad" + }, + { + "title": "Quettasiemens", + "const": "QS" + }, + { + "title": "Quettasievert", + "const": "QSv" + }, + { + "title": "Quettasteradian", + "const": "Qsr" + }, + { + "title": "Quettatesla", + "const": "QT" + }, + { + "title": "Quettavolt", + "const": "QV" + }, + { + "title": "Quettawatt", + "const": "QW" + }, + { + "title": "Quettaweber", + "const": "QWb" + }, + { + "title": "Ronnabecquerel", + "const": "RBq" + }, + { + "title": "Ronnacoulomb", + "const": "RC" + }, + { + "title": "Ronnadegreecelsius", + "const": "R°C" + }, + { + "title": "Ronnafarad", + "const": "RF" + }, + { + "title": "Ronnagray", + "const": "RGy" + }, + { + "title": "Ronnahenry", + "const": "RH" + }, + { + "title": "Ronnahertz", + "const": "RHz" + }, + { + "title": "Ronnajoule", + "const": "RJ" + }, + { + "title": "Ronnakatal", + "const": "Rkat" + }, + { + "title": "Ronnalumen", + "const": "Rlm" + }, + { + "title": "Ronnalux", + "const": "Rlx" + }, + { + "title": "Ronnanewton", + "const": "RN" + }, + { + "title": "Ronnaohm", + "const": "RΩ" + }, + { + "title": "Ronnapascal", + "const": "RPa" + }, + { + "title": "Ronnaradian", + "const": "Rrad" + }, + { + "title": "Ronnasiemens", + "const": "RS" + }, + { + "title": "Ronnasievert", + "const": "RSv" + }, + { + "title": "Ronnasteradian", + "const": "Rsr" + }, + { + "title": "Ronnatesla", + "const": "RT" + }, + { + "title": "Ronnavolt", + "const": "RV" + }, + { + "title": "Ronnawatt", + "const": "RW" + }, + { + "title": "Ronnaweber", + "const": "RWb" + }, + { + "title": "Rontobecquerel", + "const": "rBq" + }, + { + "title": "Rontocoulomb", + "const": "rC" + }, + { + "title": "Rontodegreecelsius", + "const": "r°C" + }, + { + "title": "Rontofarad", + "const": "rF" + }, + { + "title": "Rontogray", + "const": "rGy" + }, + { + "title": "Rontohenry", + "const": "rH" + }, + { + "title": "Rontohertz", + "const": "rHz" + }, + { + "title": "Rontojoule", + "const": "rJ" + }, + { + "title": "Rontokatal", + "const": "rkat" + }, + { + "title": "Rontolumen", + "const": "rlm" + }, + { + "title": "Rontolux", + "const": "rlx" + }, + { + "title": "Rontonewton", + "const": "rN" + }, + { + "title": "Rontoohm", + "const": "rΩ" + }, + { + "title": "Rontopascal", + "const": "rPa" + }, + { + "title": "Rontoradian", + "const": "rrad" + }, + { + "title": "Rontosiemens", + "const": "rS" + }, + { + "title": "Rontosievert", + "const": "rSv" + }, + { + "title": "Rontosteradian", + "const": "rsr" + }, + { + "title": "Rontotesla", + "const": "rT" + }, + { + "title": "Rontovolt", + "const": "rV" + }, + { + "title": "Rontowatt", + "const": "rW" + }, + { + "title": "Rontoweber", + "const": "rWb" + }, + { + "title": "Terabecquerel", + "const": "TBq" + }, + { + "title": "Teracoulomb", + "const": "TC" + }, + { + "title": "Teradegreecelsius", + "const": "T°C" + }, + { + "title": "Terafarad", + "const": "TF" + }, + { + "title": "Teragray", + "const": "TGy" + }, + { + "title": "Terahenry", + "const": "TH" + }, + { + "title": "Terahertz", + "const": "THz" + }, + { + "title": "Terajoule", + "const": "TJ" + }, + { + "title": "Terakatal", + "const": "Tkat" + }, + { + "title": "Teralumen", + "const": "Tlm" + }, + { + "title": "Teralux", + "const": "Tlx" + }, + { + "title": "Teranewton", + "const": "TN" + }, + { + "title": "Teraohm", + "const": "TΩ" + }, + { + "title": "Terapascal", + "const": "TPa" + }, + { + "title": "Teraradian", + "const": "Trad" + }, + { + "title": "Terasiemens", + "const": "TS" + }, + { + "title": "Terasievert", + "const": "TSv" + }, + { + "title": "Terasteradian", + "const": "Tsr" + }, + { + "title": "Teratesla", + "const": "TT" + }, + { + "title": "Teravolt", + "const": "TV" + }, + { + "title": "Terawatt", + "const": "TW" + }, + { + "title": "Teraweber", + "const": "TWb" + }, + { + "title": "Yoctobecquerel", + "const": "yBq" + }, + { + "title": "Yoctocoulomb", + "const": "yC" + }, + { + "title": "Yoctodegreecelsius", + "const": "y°C" + }, + { + "title": "Yoctofarad", + "const": "yF" + }, + { + "title": "Yoctogray", + "const": "yGy" + }, + { + "title": "Yoctohenry", + "const": "yH" + }, + { + "title": "Yoctohertz", + "const": "yHz" + }, + { + "title": "Yoctojoule", + "const": "yJ" + }, + { + "title": "Yoctokatal", + "const": "ykat" + }, + { + "title": "Yoctolumen", + "const": "ylm" + }, + { + "title": "Yoctolux", + "const": "ylx" + }, + { + "title": "Yoctonewton", + "const": "yN" + }, + { + "title": "Yoctoohm", + "const": "yΩ" + }, + { + "title": "Yoctopascal", + "const": "yPa" + }, + { + "title": "Yoctoradian", + "const": "yrad" + }, + { + "title": "Yoctosiemens", + "const": "yS" + }, + { + "title": "Yoctosievert", + "const": "ySv" + }, + { + "title": "Yoctosteradian", + "const": "ysr" + }, + { + "title": "Yoctotesla", + "const": "yT" + }, + { + "title": "Yoctovolt", + "const": "yV" + }, + { + "title": "Yoctowatt", + "const": "yW" + }, + { + "title": "Yoctoweber", + "const": "yWb" + }, + { + "title": "Yottabecquerel", + "const": "YBq" + }, + { + "title": "Yottacoulomb", + "const": "YC" + }, + { + "title": "Yottadegreecelsius", + "const": "Y°C" + }, + { + "title": "Yottafarad", + "const": "YF" + }, + { + "title": "Yottagray", + "const": "YGy" + }, + { + "title": "Yottahenry", + "const": "YH" + }, + { + "title": "Yottahertz", + "const": "YHz" + }, + { + "title": "Yottajoule", + "const": "YJ" + }, + { + "title": "Yottakatal", + "const": "Ykat" + }, + { + "title": "Yottalumen", + "const": "Ylm" + }, + { + "title": "Yottalux", + "const": "Ylx" + }, + { + "title": "Yottanewton", + "const": "YN" + }, + { + "title": "Yottaohm", + "const": "YΩ" + }, + { + "title": "Yottapascal", + "const": "YPa" + }, + { + "title": "Yottaradian", + "const": "Yrad" + }, + { + "title": "Yottasiemens", + "const": "YS" + }, + { + "title": "Yottasievert", + "const": "YSv" + }, + { + "title": "Yottasteradian", + "const": "Ysr" + }, + { + "title": "Yottatesla", + "const": "YT" + }, + { + "title": "Yottavolt", + "const": "YV" + }, + { + "title": "Yottawatt", + "const": "YW" + }, + { + "title": "Yottaweber", + "const": "YWb" + }, + { + "title": "Zeptobecquerel", + "const": "zBq" + }, + { + "title": "Zeptocoulomb", + "const": "zC" + }, + { + "title": "Zeptodegreecelsius", + "const": "z°C" + }, + { + "title": "Zeptofarad", + "const": "zF" + }, + { + "title": "Zeptogray", + "const": "zGy" + }, + { + "title": "Zeptohenry", + "const": "zH" + }, + { + "title": "Zeptohertz", + "const": "zHz" + }, + { + "title": "Zeptojoule", + "const": "zJ" + }, + { + "title": "Zeptokatal", + "const": "zkat" + }, + { + "title": "Zeptolumen", + "const": "zlm" + }, + { + "title": "Zeptolux", + "const": "zlx" + }, + { + "title": "Zeptonewton", + "const": "zN" + }, + { + "title": "Zeptoohm", + "const": "zΩ" + }, + { + "title": "Zeptopascal", + "const": "zPa" + }, + { + "title": "Zeptoradian", + "const": "zrad" + }, + { + "title": "Zeptosiemens", + "const": "zS" + }, + { + "title": "Zeptosievert", + "const": "zSv" + }, + { + "title": "Zeptosteradian", + "const": "zsr" + }, + { + "title": "Zeptotesla", + "const": "zT" + }, + { + "title": "Zeptovolt", + "const": "zV" + }, + { + "title": "Zeptowatt", + "const": "zW" + }, + { + "title": "Zeptoweber", + "const": "zWb" + }, + { + "title": "Zettabecquerel", + "const": "ZBq" + }, + { + "title": "Zettacoulomb", + "const": "ZC" + }, + { + "title": "Zettadegreecelsius", + "const": "Z°C" + }, + { + "title": "Zettafarad", + "const": "ZF" + }, + { + "title": "Zettagray", + "const": "ZGy" + }, + { + "title": "Zettahenry", + "const": "ZH" + }, + { + "title": "Zettahertz", + "const": "ZHz" + }, + { + "title": "Zettajoule", + "const": "ZJ" + }, + { + "title": "Zettakatal", + "const": "Zkat" + }, + { + "title": "Zettalumen", + "const": "Zlm" + }, + { + "title": "Zettalux", + "const": "Zlx" + }, + { + "title": "Zettanewton", + "const": "ZN" + }, + { + "title": "Zettaohm", + "const": "ZΩ" + }, + { + "title": "Zettapascal", + "const": "ZPa" + }, + { + "title": "Zettaradian", + "const": "Zrad" + }, + { + "title": "Zettasiemens", + "const": "ZS" + }, + { + "title": "Zettasievert", + "const": "ZSv" + }, + { + "title": "Zettasteradian", + "const": "Zsr" + }, + { + "title": "Zettatesla", + "const": "ZT" + }, + { + "title": "Zettavolt", + "const": "ZV" + }, + { + "title": "Zettawatt", + "const": "ZW" + }, + { + "title": "Zettaweber", + "const": "ZWb" + } + ] +} diff --git a/schemas/bipm/si/2019/derived/unit/becquerel.json b/schemas/bipm/si/2019/derived/unit/becquerel.json new file mode 100644 index 00000000..6ffb811e --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/becquerel.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Becquerel", + "description": "The SI unit of activity referred to a radionuclide. It is equal to s^-1. The becquerel is used only for stochastic processes in radioactive decay", + "examples": [ 1, 1000, 1000000.0, 37000000000.0, 1000000000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Bq", + "x-units": [ "../../base/unit/second.json" ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/coulomb.json b/schemas/bipm/si/2019/derived/unit/coulomb.json new file mode 100644 index 00000000..0b80d106 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/coulomb.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Coulomb", + "description": "The SI unit of electric charge. It is equal to A s", + "examples": [ 0, 1, -1, 1.602e-19, 96485, 0.001 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "C", + "x-units": [ "../../base/unit/ampere.json", "../../base/unit/second.json" ], + "type": "number" +} diff --git a/schemas/bipm/si/2019/derived/unit/degree-celsius.json b/schemas/bipm/si/2019/derived/unit/degree-celsius.json new file mode 100644 index 00000000..05796ce4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/degree-celsius.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Degree Celsius", + "description": "The SI unit of Celsius temperature. It is equal in magnitude to the kelvin. The quantity Celsius temperature t is related to thermodynamic temperature T by the equation t/°C = T/K - 273.15", + "examples": [ -273.15, 0, 20, 37, 100, -40 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "°C", + "x-units": [ "../../base/unit/kelvin.json" ], + "type": "number", + "minimum": -273.15 +} diff --git a/schemas/bipm/si/2019/derived/unit/farad.json b/schemas/bipm/si/2019/derived/unit/farad.json new file mode 100644 index 00000000..cdfb29b4 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/farad.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Farad", + "description": "The SI unit of capacitance. It is equal to C/V, which is equal to kg^-1 m^-2 s^4 A^2", + "examples": [ 1e-12, 1e-9, 1e-6, 0.001, 1, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "F", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/gray.json b/schemas/bipm/si/2019/derived/unit/gray.json new file mode 100644 index 00000000..73a5100f --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/gray.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Gray", + "description": "The SI unit of absorbed dose and kerma. It is equal to J/kg, which is equal to m^2 s^-2", + "examples": [ 0, 0.001, 0.01, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Gy", + "x-units": [ "../../base/unit/metre.json", "../../base/unit/second.json" ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/henry.json b/schemas/bipm/si/2019/derived/unit/henry.json new file mode 100644 index 00000000..14fe7176 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/henry.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Henry", + "description": "The SI unit of inductance. It is equal to Wb/A, which is equal to kg m^2 s^-2 A^-2", + "examples": [ 1e-9, 1e-6, 0.001, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "H", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/hertz.json b/schemas/bipm/si/2019/derived/unit/hertz.json new file mode 100644 index 00000000..69363669 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/hertz.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Hertz", + "description": "The SI unit of frequency. It is equal to s^-1. The hertz is used only for periodic phenomena", + "examples": [ 1, 50, 60, 1000, 1000000, 2400000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Hz", + "x-units": [ "../../base/unit/second.json" ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/joule.json b/schemas/bipm/si/2019/derived/unit/joule.json new file mode 100644 index 00000000..cb513d02 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/joule.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Joule", + "description": "The SI unit of energy, work, and amount of heat. It is equal to N m, which is equal to kg m^2 s^-2", + "examples": [ 0, 1, 100, 1000, 4184, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "J", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json" + ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/katal.json b/schemas/bipm/si/2019/derived/unit/katal.json new file mode 100644 index 00000000..eb4847a8 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/katal.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Katal", + "description": "The SI unit of catalytic activity. It is equal to mol s^-1", + "examples": [ 1e-9, 1e-6, 0.001, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "kat", + "x-units": [ "../../base/unit/mole.json", "../../base/unit/second.json" ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/lumen.json b/schemas/bipm/si/2019/derived/unit/lumen.json new file mode 100644 index 00000000..9729c0eb --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/lumen.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Lumen", + "description": "The SI unit of luminous flux. It is equal to cd sr", + "examples": [ 0, 100, 800, 1500, 5000, 10000 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "lm", + "x-units": [ "../../base/unit/candela.json" ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/lux.json b/schemas/bipm/si/2019/derived/unit/lux.json new file mode 100644 index 00000000..59887f5c --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/lux.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Lux", + "description": "The SI unit of illuminance. It is equal to lm/m^2, which is equal to cd sr m^-2", + "examples": [ 0, 1, 100, 400, 1000, 10000 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "lx", + "x-units": [ "../../base/unit/candela.json", "../../base/unit/metre.json" ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/newton.json b/schemas/bipm/si/2019/derived/unit/newton.json new file mode 100644 index 00000000..ab258d35 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/newton.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Newton", + "description": "The SI unit of force. It is equal to kg m s^-2", + "examples": [ 0, 1, 9.8, 100, 1000, -50 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "N", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json" + ], + "type": "number" +} diff --git a/schemas/bipm/si/2019/derived/unit/ohm.json b/schemas/bipm/si/2019/derived/unit/ohm.json new file mode 100644 index 00000000..6de39744 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/ohm.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Ohm", + "description": "The SI unit of electric resistance. It is equal to V/A, which is equal to kg m^2 s^-3 A^-2", + "examples": [ 1, 10, 100, 1000, 10000, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Ω", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/pascal.json b/schemas/bipm/si/2019/derived/unit/pascal.json new file mode 100644 index 00000000..6f3a1b2b --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/pascal.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Pascal", + "description": "The SI unit of pressure and stress. It is equal to N/m^2, which is equal to kg m^-1 s^-2", + "examples": [ 0, 101325, 1000, 100000, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Pa", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json" + ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/radian.json b/schemas/bipm/si/2019/derived/unit/radian.json new file mode 100644 index 00000000..2d633f6b --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/radian.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Radian", + "description": "The SI unit of plane angle. It is dimensionless", + "examples": [ 0, 1, 3.14159, 6.28318, 1.5708, -1.5708 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "rad", + "type": "number" +} diff --git a/schemas/bipm/si/2019/derived/unit/siemens.json b/schemas/bipm/si/2019/derived/unit/siemens.json new file mode 100644 index 00000000..44eec79d --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/siemens.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Siemens", + "description": "The SI unit of electric conductance. It is equal to A/V, which is equal to kg^-1 m^-2 s^3 A^2", + "examples": [ 0.001, 0.01, 0.1, 1, 10, 100 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "S", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number", + "exclusiveMinimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/sievert.json b/schemas/bipm/si/2019/derived/unit/sievert.json new file mode 100644 index 00000000..e0935d23 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/sievert.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Sievert", + "description": "The SI unit of dose equivalent. It is equal to J/kg, which is equal to m^2 s^-2. The sievert is also used for the quantities directional dose equivalent and personal dose equivalent", + "examples": [ 0, 0.001, 0.01, 0.1, 1, 10 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Sv", + "x-units": [ "../../base/unit/metre.json", "../../base/unit/second.json" ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/steradian.json b/schemas/bipm/si/2019/derived/unit/steradian.json new file mode 100644 index 00000000..10e5ac2d --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/steradian.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Steradian", + "description": "The SI unit of solid angle. It is dimensionless", + "examples": [ 0, 1, 12.5664, 4.18879, 0.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "sr", + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/tesla.json b/schemas/bipm/si/2019/derived/unit/tesla.json new file mode 100644 index 00000000..6d665518 --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/tesla.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Tesla", + "description": "The SI unit of magnetic flux density. It is equal to Wb/m^2, which is equal to kg s^-2 A^-1", + "examples": [ 0, 5e-5, 0.001, 1, 10, -0.5 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "T", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number" +} diff --git a/schemas/bipm/si/2019/derived/unit/volt.json b/schemas/bipm/si/2019/derived/unit/volt.json new file mode 100644 index 00000000..25a9a2cc --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/volt.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Volt", + "description": "The SI unit of electric potential difference. It is equal to W/A, which is equal to kg m^2 s^-3 A^-1", + "examples": [ 0, 1.5, 9, 12, 120, 240, -12 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "V", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number" +} diff --git a/schemas/bipm/si/2019/derived/unit/watt.json b/schemas/bipm/si/2019/derived/unit/watt.json new file mode 100644 index 00000000..f05f144e --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/watt.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Watt", + "description": "The SI unit of power and radiant flux. It is equal to J/s, which is equal to kg m^2 s^-3", + "examples": [ 0, 1, 100, 1000, 1500, 1000000.0 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "W", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json" + ], + "type": "number", + "minimum": 0 +} diff --git a/schemas/bipm/si/2019/derived/unit/weber.json b/schemas/bipm/si/2019/derived/unit/weber.json new file mode 100644 index 00000000..09a5b57c --- /dev/null +++ b/schemas/bipm/si/2019/derived/unit/weber.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Weber", + "description": "The SI unit of magnetic flux. It is equal to V s, which is equal to kg m^2 s^-2 A^-1", + "examples": [ 0, 0.001, 0.1, 1, 10, -1 ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "x-symbol": "Wb", + "x-units": [ + "../../base/unit/kilogram.json", + "../../base/unit/metre.json", + "../../base/unit/second.json", + "../../base/unit/ampere.json" + ], + "type": "number" +} diff --git a/schemas/bipm/si/2019/symbol.json b/schemas/bipm/si/2019/symbol.json new file mode 100644 index 00000000..381c6953 --- /dev/null +++ b/schemas/bipm/si/2019/symbol.json @@ -0,0 +1,30 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "Unit symbol", + "description": "The symbol of an SI unit", + "examples": [ + "s", + "m", + "kg", + "A", + "K", + "Hz", + "N", + "Pa", + "J", + "W", + "V", + "Ω", + "°C" + ], + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "x-links": [ "https://www.bipm.org/en/publications/si-brochure" ], + "anyOf": [ + { + "$ref": "base/symbol.json" + }, + { + "$ref": "derived/symbol.json" + } + ] +} diff --git a/schemas/ieee/floating-point/2019/binary16.json b/schemas/ieee/floating-point/2019/binary16.json index 436b9cef..4c493b93 100644 --- a/schemas/ieee/floating-point/2019/binary16.json +++ b/schemas/ieee/floating-point/2019/binary16.json @@ -2,7 +2,7 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "IEEE 754-2019 Half Precision Binary Floating-Point (binary16)", "description": "A 16-bit binary floating-point format. Also known as half precision", - "examples": [ 0.0, 1.0, -1.0, 3.14, 65504.0, -65504.0, 6.10352e-05 ], + "examples": [ 0.0, 1.0, -1.0, 3.14, 65504.0, -65504.0, 6.10352e-5 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://ieeexplore.ieee.org/document/8766229" ], "type": "number", diff --git a/schemas/iso/c/2024/uint64.json b/schemas/iso/c/2024/uint64.json index cb0ee3f5..3d78c9bc 100644 --- a/schemas/iso/c/2024/uint64.json +++ b/schemas/iso/c/2024/uint64.json @@ -3,10 +3,10 @@ "title": "ISO/IEC 9899:2024 Unsigned 64-bit Integer (uint64_t)", "description": "An unsigned integer type with width of exactly 64 bits", "$comment": "This schema requires a JSON Schema evaluator that supports big integers beyond the 64-bit signed integer interoperability guidelines defined in RFC 8259 for the JSON grammar", - "examples": [ 0, 1, 18446744073709551615, 9223372036854775808, 42 ], + "examples": [ 0, 1, 1.8446744073709551615e+19, 9.223372036854775808e+18, 42 ], "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", "x-links": [ "https://www.iso.org/standard/82075.html" ], "type": "integer", - "maximum": 18446744073709551615, + "maximum": 1.8446744073709551615e+19, "minimum": 0 } diff --git a/test/bipm/si/2019/base/prefixed/attoampere.test.json b/test/bipm/si/2019/base/prefixed/attoampere.test.json new file mode 100644 index 00000000..64e5813d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/attocandela.test.json b/test/bipm/si/2019/base/prefixed/attocandela.test.json new file mode 100644 index 00000000..def5b406 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/attogram.test.json b/test/bipm/si/2019/base/prefixed/attogram.test.json new file mode 100644 index 00000000..8e2a5c25 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/attokelvin.test.json b/test/bipm/si/2019/base/prefixed/attokelvin.test.json new file mode 100644 index 00000000..0628b354 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/attometre.test.json b/test/bipm/si/2019/base/prefixed/attometre.test.json new file mode 100644 index 00000000..dcb6cc13 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/attomole.test.json b/test/bipm/si/2019/base/prefixed/attomole.test.json new file mode 100644 index 00000000..b63c070a --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/attosecond.test.json b/test/bipm/si/2019/base/prefixed/attosecond.test.json new file mode 100644 index 00000000..7dd27289 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/attosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/attosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centiampere.test.json b/test/bipm/si/2019/base/prefixed/centiampere.test.json new file mode 100644 index 00000000..c407bd65 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centiampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centiampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centicandela.test.json b/test/bipm/si/2019/base/prefixed/centicandela.test.json new file mode 100644 index 00000000..c44359cc --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centicandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centicandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centigram.test.json b/test/bipm/si/2019/base/prefixed/centigram.test.json new file mode 100644 index 00000000..96f6cae8 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centigram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centigram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centikelvin.test.json b/test/bipm/si/2019/base/prefixed/centikelvin.test.json new file mode 100644 index 00000000..df3f8c91 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centikelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centikelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centimetre.test.json b/test/bipm/si/2019/base/prefixed/centimetre.test.json new file mode 100644 index 00000000..abcc7ee4 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centimetre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centimetre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centimole.test.json b/test/bipm/si/2019/base/prefixed/centimole.test.json new file mode 100644 index 00000000..4c36d4ec --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centimole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centimole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/centisecond.test.json b/test/bipm/si/2019/base/prefixed/centisecond.test.json new file mode 100644 index 00000000..e3c8af86 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/centisecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/centisecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decaampere.test.json b/test/bipm/si/2019/base/prefixed/decaampere.test.json new file mode 100644 index 00000000..deca7196 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decacandela.test.json b/test/bipm/si/2019/base/prefixed/decacandela.test.json new file mode 100644 index 00000000..a866923c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decagram.test.json b/test/bipm/si/2019/base/prefixed/decagram.test.json new file mode 100644 index 00000000..02ae4b58 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decakelvin.test.json b/test/bipm/si/2019/base/prefixed/decakelvin.test.json new file mode 100644 index 00000000..b176e229 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decametre.test.json b/test/bipm/si/2019/base/prefixed/decametre.test.json new file mode 100644 index 00000000..623f013f --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decamole.test.json b/test/bipm/si/2019/base/prefixed/decamole.test.json new file mode 100644 index 00000000..1ae21ccc --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decasecond.test.json b/test/bipm/si/2019/base/prefixed/decasecond.test.json new file mode 100644 index 00000000..c506fedf --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/deciampere.test.json b/test/bipm/si/2019/base/prefixed/deciampere.test.json new file mode 100644 index 00000000..eb7b1893 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/deciampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/deciampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decicandela.test.json b/test/bipm/si/2019/base/prefixed/decicandela.test.json new file mode 100644 index 00000000..327ac849 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decicandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decicandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decigram.test.json b/test/bipm/si/2019/base/prefixed/decigram.test.json new file mode 100644 index 00000000..90978777 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decigram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decigram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decikelvin.test.json b/test/bipm/si/2019/base/prefixed/decikelvin.test.json new file mode 100644 index 00000000..a6c3329c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decikelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decikelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decimetre.test.json b/test/bipm/si/2019/base/prefixed/decimetre.test.json new file mode 100644 index 00000000..90789a12 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decimetre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decimetre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decimole.test.json b/test/bipm/si/2019/base/prefixed/decimole.test.json new file mode 100644 index 00000000..49815b19 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decimole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decimole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/decisecond.test.json b/test/bipm/si/2019/base/prefixed/decisecond.test.json new file mode 100644 index 00000000..3d8be455 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/decisecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/decisecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/exaampere.test.json b/test/bipm/si/2019/base/prefixed/exaampere.test.json new file mode 100644 index 00000000..6c2b0c96 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/exaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/exaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/exacandela.test.json b/test/bipm/si/2019/base/prefixed/exacandela.test.json new file mode 100644 index 00000000..b2756fc7 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/exacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/exacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/exagram.test.json b/test/bipm/si/2019/base/prefixed/exagram.test.json new file mode 100644 index 00000000..ffe161be --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/exagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/exagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/exakelvin.test.json b/test/bipm/si/2019/base/prefixed/exakelvin.test.json new file mode 100644 index 00000000..7d192fd9 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/exakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/exakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/exametre.test.json b/test/bipm/si/2019/base/prefixed/exametre.test.json new file mode 100644 index 00000000..a6889f3a --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/exametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/exametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/examole.test.json b/test/bipm/si/2019/base/prefixed/examole.test.json new file mode 100644 index 00000000..0b104990 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/examole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/examole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/exasecond.test.json b/test/bipm/si/2019/base/prefixed/exasecond.test.json new file mode 100644 index 00000000..fd80573d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/exasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/exasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtoampere.test.json b/test/bipm/si/2019/base/prefixed/femtoampere.test.json new file mode 100644 index 00000000..bb2d3068 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtocandela.test.json b/test/bipm/si/2019/base/prefixed/femtocandela.test.json new file mode 100644 index 00000000..52f3be1c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtogram.test.json b/test/bipm/si/2019/base/prefixed/femtogram.test.json new file mode 100644 index 00000000..956570fb --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtokelvin.test.json b/test/bipm/si/2019/base/prefixed/femtokelvin.test.json new file mode 100644 index 00000000..8f26bece --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtometre.test.json b/test/bipm/si/2019/base/prefixed/femtometre.test.json new file mode 100644 index 00000000..be2ead1d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtomole.test.json b/test/bipm/si/2019/base/prefixed/femtomole.test.json new file mode 100644 index 00000000..c6d2deed --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/femtosecond.test.json b/test/bipm/si/2019/base/prefixed/femtosecond.test.json new file mode 100644 index 00000000..221dbd70 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/femtosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/femtosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigaampere.test.json b/test/bipm/si/2019/base/prefixed/gigaampere.test.json new file mode 100644 index 00000000..0bfa0966 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigacandela.test.json b/test/bipm/si/2019/base/prefixed/gigacandela.test.json new file mode 100644 index 00000000..84b1a426 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigagram.test.json b/test/bipm/si/2019/base/prefixed/gigagram.test.json new file mode 100644 index 00000000..c5354650 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigakelvin.test.json b/test/bipm/si/2019/base/prefixed/gigakelvin.test.json new file mode 100644 index 00000000..a1037f25 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigametre.test.json b/test/bipm/si/2019/base/prefixed/gigametre.test.json new file mode 100644 index 00000000..1505257c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigamole.test.json b/test/bipm/si/2019/base/prefixed/gigamole.test.json new file mode 100644 index 00000000..c1a50437 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gigasecond.test.json b/test/bipm/si/2019/base/prefixed/gigasecond.test.json new file mode 100644 index 00000000..33d14d92 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gigasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gigasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/gram.test.json b/test/bipm/si/2019/base/prefixed/gram.test.json new file mode 100644 index 00000000..9e80fdf8 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/gram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/gram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectoampere.test.json b/test/bipm/si/2019/base/prefixed/hectoampere.test.json new file mode 100644 index 00000000..d9993f9e --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectocandela.test.json b/test/bipm/si/2019/base/prefixed/hectocandela.test.json new file mode 100644 index 00000000..2868a4b9 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectogram.test.json b/test/bipm/si/2019/base/prefixed/hectogram.test.json new file mode 100644 index 00000000..5c070781 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectokelvin.test.json b/test/bipm/si/2019/base/prefixed/hectokelvin.test.json new file mode 100644 index 00000000..d57ff61a --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectometre.test.json b/test/bipm/si/2019/base/prefixed/hectometre.test.json new file mode 100644 index 00000000..da7ce8e8 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectomole.test.json b/test/bipm/si/2019/base/prefixed/hectomole.test.json new file mode 100644 index 00000000..1074fee9 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/hectosecond.test.json b/test/bipm/si/2019/base/prefixed/hectosecond.test.json new file mode 100644 index 00000000..bc2d4b34 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/hectosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/hectosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/kiloampere.test.json b/test/bipm/si/2019/base/prefixed/kiloampere.test.json new file mode 100644 index 00000000..46e36eaa --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/kiloampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/kiloampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/kilocandela.test.json b/test/bipm/si/2019/base/prefixed/kilocandela.test.json new file mode 100644 index 00000000..3463762c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/kilocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/kilocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/kilokelvin.test.json b/test/bipm/si/2019/base/prefixed/kilokelvin.test.json new file mode 100644 index 00000000..94a6c6a5 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/kilokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/kilokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/kilometre.test.json b/test/bipm/si/2019/base/prefixed/kilometre.test.json new file mode 100644 index 00000000..50fa68da --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/kilometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/kilometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/kilomole.test.json b/test/bipm/si/2019/base/prefixed/kilomole.test.json new file mode 100644 index 00000000..7bf47c8d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/kilomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/kilomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/kilosecond.test.json b/test/bipm/si/2019/base/prefixed/kilosecond.test.json new file mode 100644 index 00000000..28343385 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/kilosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/kilosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megaampere.test.json b/test/bipm/si/2019/base/prefixed/megaampere.test.json new file mode 100644 index 00000000..fec0b3be --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megacandela.test.json b/test/bipm/si/2019/base/prefixed/megacandela.test.json new file mode 100644 index 00000000..8c9f32d6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megagram.test.json b/test/bipm/si/2019/base/prefixed/megagram.test.json new file mode 100644 index 00000000..5b0f93aa --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megakelvin.test.json b/test/bipm/si/2019/base/prefixed/megakelvin.test.json new file mode 100644 index 00000000..333afbf6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megametre.test.json b/test/bipm/si/2019/base/prefixed/megametre.test.json new file mode 100644 index 00000000..2c59258c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megamole.test.json b/test/bipm/si/2019/base/prefixed/megamole.test.json new file mode 100644 index 00000000..38be5e07 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/megasecond.test.json b/test/bipm/si/2019/base/prefixed/megasecond.test.json new file mode 100644 index 00000000..37a57267 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/megasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/megasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/microampere.test.json b/test/bipm/si/2019/base/prefixed/microampere.test.json new file mode 100644 index 00000000..a7384f8c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/microampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/microampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/microcandela.test.json b/test/bipm/si/2019/base/prefixed/microcandela.test.json new file mode 100644 index 00000000..0c610cd7 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/microcandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/microcandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/microgram.test.json b/test/bipm/si/2019/base/prefixed/microgram.test.json new file mode 100644 index 00000000..9535b9a2 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/microgram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/microgram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/microkelvin.test.json b/test/bipm/si/2019/base/prefixed/microkelvin.test.json new file mode 100644 index 00000000..8d32f351 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/microkelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/microkelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/micrometre.test.json b/test/bipm/si/2019/base/prefixed/micrometre.test.json new file mode 100644 index 00000000..101a86bb --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/micrometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/micrometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/micromole.test.json b/test/bipm/si/2019/base/prefixed/micromole.test.json new file mode 100644 index 00000000..0c0a9fc6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/micromole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/micromole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/microsecond.test.json b/test/bipm/si/2019/base/prefixed/microsecond.test.json new file mode 100644 index 00000000..6624f549 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/microsecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/microsecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/milliampere.test.json b/test/bipm/si/2019/base/prefixed/milliampere.test.json new file mode 100644 index 00000000..99278e83 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/milliampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/milliampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/millicandela.test.json b/test/bipm/si/2019/base/prefixed/millicandela.test.json new file mode 100644 index 00000000..0ab4a88d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/millicandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/millicandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/milligram.test.json b/test/bipm/si/2019/base/prefixed/milligram.test.json new file mode 100644 index 00000000..d08efb25 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/milligram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/milligram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/millikelvin.test.json b/test/bipm/si/2019/base/prefixed/millikelvin.test.json new file mode 100644 index 00000000..aa5ca71c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/millikelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/millikelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/millimetre.test.json b/test/bipm/si/2019/base/prefixed/millimetre.test.json new file mode 100644 index 00000000..114a368b --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/millimetre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/millimetre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/millimole.test.json b/test/bipm/si/2019/base/prefixed/millimole.test.json new file mode 100644 index 00000000..ba9905fa --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/millimole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/millimole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/millisecond.test.json b/test/bipm/si/2019/base/prefixed/millisecond.test.json new file mode 100644 index 00000000..a6171757 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/millisecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/millisecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanoampere.test.json b/test/bipm/si/2019/base/prefixed/nanoampere.test.json new file mode 100644 index 00000000..7879de78 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanocandela.test.json b/test/bipm/si/2019/base/prefixed/nanocandela.test.json new file mode 100644 index 00000000..6108ec8b --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanogram.test.json b/test/bipm/si/2019/base/prefixed/nanogram.test.json new file mode 100644 index 00000000..214d4e66 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanokelvin.test.json b/test/bipm/si/2019/base/prefixed/nanokelvin.test.json new file mode 100644 index 00000000..85341e08 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanometre.test.json b/test/bipm/si/2019/base/prefixed/nanometre.test.json new file mode 100644 index 00000000..cb954714 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanomole.test.json b/test/bipm/si/2019/base/prefixed/nanomole.test.json new file mode 100644 index 00000000..b9a7afcd --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/nanosecond.test.json b/test/bipm/si/2019/base/prefixed/nanosecond.test.json new file mode 100644 index 00000000..74c54126 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/nanosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/nanosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petaampere.test.json b/test/bipm/si/2019/base/prefixed/petaampere.test.json new file mode 100644 index 00000000..777630df --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petacandela.test.json b/test/bipm/si/2019/base/prefixed/petacandela.test.json new file mode 100644 index 00000000..731cac21 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petagram.test.json b/test/bipm/si/2019/base/prefixed/petagram.test.json new file mode 100644 index 00000000..df17fafc --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petakelvin.test.json b/test/bipm/si/2019/base/prefixed/petakelvin.test.json new file mode 100644 index 00000000..85e754cf --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petametre.test.json b/test/bipm/si/2019/base/prefixed/petametre.test.json new file mode 100644 index 00000000..d18fd8e1 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petamole.test.json b/test/bipm/si/2019/base/prefixed/petamole.test.json new file mode 100644 index 00000000..2bbb2cd0 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/petasecond.test.json b/test/bipm/si/2019/base/prefixed/petasecond.test.json new file mode 100644 index 00000000..bef258c0 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/petasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/petasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picoampere.test.json b/test/bipm/si/2019/base/prefixed/picoampere.test.json new file mode 100644 index 00000000..6569bb7c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picocandela.test.json b/test/bipm/si/2019/base/prefixed/picocandela.test.json new file mode 100644 index 00000000..7e2a2408 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picogram.test.json b/test/bipm/si/2019/base/prefixed/picogram.test.json new file mode 100644 index 00000000..740e71a6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picokelvin.test.json b/test/bipm/si/2019/base/prefixed/picokelvin.test.json new file mode 100644 index 00000000..e0a2d3ff --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picometre.test.json b/test/bipm/si/2019/base/prefixed/picometre.test.json new file mode 100644 index 00000000..d6db3ea1 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picomole.test.json b/test/bipm/si/2019/base/prefixed/picomole.test.json new file mode 100644 index 00000000..d49bd981 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/picosecond.test.json b/test/bipm/si/2019/base/prefixed/picosecond.test.json new file mode 100644 index 00000000..e217a2bd --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/picosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/picosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectoampere.test.json b/test/bipm/si/2019/base/prefixed/quectoampere.test.json new file mode 100644 index 00000000..833b27fe --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectocandela.test.json b/test/bipm/si/2019/base/prefixed/quectocandela.test.json new file mode 100644 index 00000000..02bb456c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectogram.test.json b/test/bipm/si/2019/base/prefixed/quectogram.test.json new file mode 100644 index 00000000..61df14b7 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectokelvin.test.json b/test/bipm/si/2019/base/prefixed/quectokelvin.test.json new file mode 100644 index 00000000..e6c96b12 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectometre.test.json b/test/bipm/si/2019/base/prefixed/quectometre.test.json new file mode 100644 index 00000000..83aeb67e --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectomole.test.json b/test/bipm/si/2019/base/prefixed/quectomole.test.json new file mode 100644 index 00000000..eb9b7f0e --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quectosecond.test.json b/test/bipm/si/2019/base/prefixed/quectosecond.test.json new file mode 100644 index 00000000..875e496f --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quectosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quectosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettaampere.test.json b/test/bipm/si/2019/base/prefixed/quettaampere.test.json new file mode 100644 index 00000000..dc151b92 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettacandela.test.json b/test/bipm/si/2019/base/prefixed/quettacandela.test.json new file mode 100644 index 00000000..a60bc156 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettagram.test.json b/test/bipm/si/2019/base/prefixed/quettagram.test.json new file mode 100644 index 00000000..fbcac9e8 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettakelvin.test.json b/test/bipm/si/2019/base/prefixed/quettakelvin.test.json new file mode 100644 index 00000000..adfefcc6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettametre.test.json b/test/bipm/si/2019/base/prefixed/quettametre.test.json new file mode 100644 index 00000000..8e8234fd --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettamole.test.json b/test/bipm/si/2019/base/prefixed/quettamole.test.json new file mode 100644 index 00000000..51626a8e --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/quettasecond.test.json b/test/bipm/si/2019/base/prefixed/quettasecond.test.json new file mode 100644 index 00000000..48c87ed7 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/quettasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/quettasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnaampere.test.json b/test/bipm/si/2019/base/prefixed/ronnaampere.test.json new file mode 100644 index 00000000..6579b17b --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnacandela.test.json b/test/bipm/si/2019/base/prefixed/ronnacandela.test.json new file mode 100644 index 00000000..b05632f3 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnagram.test.json b/test/bipm/si/2019/base/prefixed/ronnagram.test.json new file mode 100644 index 00000000..d354c3a5 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnakelvin.test.json b/test/bipm/si/2019/base/prefixed/ronnakelvin.test.json new file mode 100644 index 00000000..900d7a4e --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnametre.test.json b/test/bipm/si/2019/base/prefixed/ronnametre.test.json new file mode 100644 index 00000000..c2e6d948 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnamole.test.json b/test/bipm/si/2019/base/prefixed/ronnamole.test.json new file mode 100644 index 00000000..e63e9ca7 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/ronnasecond.test.json b/test/bipm/si/2019/base/prefixed/ronnasecond.test.json new file mode 100644 index 00000000..eeed3056 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/ronnasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/ronnasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontoampere.test.json b/test/bipm/si/2019/base/prefixed/rontoampere.test.json new file mode 100644 index 00000000..c60b476c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontocandela.test.json b/test/bipm/si/2019/base/prefixed/rontocandela.test.json new file mode 100644 index 00000000..8d6601b0 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontogram.test.json b/test/bipm/si/2019/base/prefixed/rontogram.test.json new file mode 100644 index 00000000..de94f726 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontokelvin.test.json b/test/bipm/si/2019/base/prefixed/rontokelvin.test.json new file mode 100644 index 00000000..f460e59f --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontometre.test.json b/test/bipm/si/2019/base/prefixed/rontometre.test.json new file mode 100644 index 00000000..c3724466 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontomole.test.json b/test/bipm/si/2019/base/prefixed/rontomole.test.json new file mode 100644 index 00000000..63a0c6a6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/rontosecond.test.json b/test/bipm/si/2019/base/prefixed/rontosecond.test.json new file mode 100644 index 00000000..fbdc96ef --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/rontosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/rontosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/teraampere.test.json b/test/bipm/si/2019/base/prefixed/teraampere.test.json new file mode 100644 index 00000000..54a71046 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/teraampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/teraampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/teracandela.test.json b/test/bipm/si/2019/base/prefixed/teracandela.test.json new file mode 100644 index 00000000..d1cc33f7 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/teracandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/teracandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/teragram.test.json b/test/bipm/si/2019/base/prefixed/teragram.test.json new file mode 100644 index 00000000..8652e45a --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/teragram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/teragram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/terakelvin.test.json b/test/bipm/si/2019/base/prefixed/terakelvin.test.json new file mode 100644 index 00000000..1cafc494 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/terakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/terakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/terametre.test.json b/test/bipm/si/2019/base/prefixed/terametre.test.json new file mode 100644 index 00000000..8efa6f61 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/terametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/terametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/teramole.test.json b/test/bipm/si/2019/base/prefixed/teramole.test.json new file mode 100644 index 00000000..8a9abfd2 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/teramole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/teramole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/terasecond.test.json b/test/bipm/si/2019/base/prefixed/terasecond.test.json new file mode 100644 index 00000000..90afbe51 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/terasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/terasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctoampere.test.json b/test/bipm/si/2019/base/prefixed/yoctoampere.test.json new file mode 100644 index 00000000..a34c82d3 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctocandela.test.json b/test/bipm/si/2019/base/prefixed/yoctocandela.test.json new file mode 100644 index 00000000..4ff4312d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctogram.test.json b/test/bipm/si/2019/base/prefixed/yoctogram.test.json new file mode 100644 index 00000000..08835896 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctokelvin.test.json b/test/bipm/si/2019/base/prefixed/yoctokelvin.test.json new file mode 100644 index 00000000..a60386af --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctometre.test.json b/test/bipm/si/2019/base/prefixed/yoctometre.test.json new file mode 100644 index 00000000..f6ca1d52 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctomole.test.json b/test/bipm/si/2019/base/prefixed/yoctomole.test.json new file mode 100644 index 00000000..ac7036df --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yoctosecond.test.json b/test/bipm/si/2019/base/prefixed/yoctosecond.test.json new file mode 100644 index 00000000..80ca8eba --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yoctosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yoctosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottaampere.test.json b/test/bipm/si/2019/base/prefixed/yottaampere.test.json new file mode 100644 index 00000000..c720396b --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottacandela.test.json b/test/bipm/si/2019/base/prefixed/yottacandela.test.json new file mode 100644 index 00000000..07cd207f --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottagram.test.json b/test/bipm/si/2019/base/prefixed/yottagram.test.json new file mode 100644 index 00000000..78a46c0d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottakelvin.test.json b/test/bipm/si/2019/base/prefixed/yottakelvin.test.json new file mode 100644 index 00000000..0ea71611 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottametre.test.json b/test/bipm/si/2019/base/prefixed/yottametre.test.json new file mode 100644 index 00000000..d85aa26e --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottamole.test.json b/test/bipm/si/2019/base/prefixed/yottamole.test.json new file mode 100644 index 00000000..5c32088c --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/yottasecond.test.json b/test/bipm/si/2019/base/prefixed/yottasecond.test.json new file mode 100644 index 00000000..0d5ddb4a --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/yottasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/yottasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptoampere.test.json b/test/bipm/si/2019/base/prefixed/zeptoampere.test.json new file mode 100644 index 00000000..ca286538 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptoampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptoampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptocandela.test.json b/test/bipm/si/2019/base/prefixed/zeptocandela.test.json new file mode 100644 index 00000000..60ee4648 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptocandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptocandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptogram.test.json b/test/bipm/si/2019/base/prefixed/zeptogram.test.json new file mode 100644 index 00000000..53937ff1 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptokelvin.test.json b/test/bipm/si/2019/base/prefixed/zeptokelvin.test.json new file mode 100644 index 00000000..7180c21d --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptokelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptokelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptometre.test.json b/test/bipm/si/2019/base/prefixed/zeptometre.test.json new file mode 100644 index 00000000..2cce80e8 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptometre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptometre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptomole.test.json b/test/bipm/si/2019/base/prefixed/zeptomole.test.json new file mode 100644 index 00000000..a6bcaf48 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptomole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptomole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zeptosecond.test.json b/test/bipm/si/2019/base/prefixed/zeptosecond.test.json new file mode 100644 index 00000000..104fdae4 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zeptosecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zeptosecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettaampere.test.json b/test/bipm/si/2019/base/prefixed/zettaampere.test.json new file mode 100644 index 00000000..a53d2f05 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettaampere.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettaampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettacandela.test.json b/test/bipm/si/2019/base/prefixed/zettacandela.test.json new file mode 100644 index 00000000..62a032e6 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettacandela.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettacandela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettagram.test.json b/test/bipm/si/2019/base/prefixed/zettagram.test.json new file mode 100644 index 00000000..4d30e875 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettagram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettagram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettakelvin.test.json b/test/bipm/si/2019/base/prefixed/zettakelvin.test.json new file mode 100644 index 00000000..6922df34 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettakelvin.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettakelvin.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettametre.test.json b/test/bipm/si/2019/base/prefixed/zettametre.test.json new file mode 100644 index 00000000..a03300b5 --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettametre.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettametre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettamole.test.json b/test/bipm/si/2019/base/prefixed/zettamole.test.json new file mode 100644 index 00000000..0bd16bba --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettamole.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettamole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/prefixed/zettasecond.test.json b/test/bipm/si/2019/base/prefixed/zettasecond.test.json new file mode 100644 index 00000000..7cf6951b --- /dev/null +++ b/test/bipm/si/2019/base/prefixed/zettasecond.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/prefixed/zettasecond.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/amount-of-substance.test.json b/test/bipm/si/2019/base/quantity/amount-of-substance.test.json new file mode 100644 index 00000000..923ad3fc --- /dev/null +++ b/test/bipm/si/2019/base/quantity/amount-of-substance.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/amount-of-substance.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/electric-current.test.json b/test/bipm/si/2019/base/quantity/electric-current.test.json new file mode 100644 index 00000000..c7cf5442 --- /dev/null +++ b/test/bipm/si/2019/base/quantity/electric-current.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/electric-current.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/length.test.json b/test/bipm/si/2019/base/quantity/length.test.json new file mode 100644 index 00000000..1bab66a0 --- /dev/null +++ b/test/bipm/si/2019/base/quantity/length.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/length.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/luminous-intensity.test.json b/test/bipm/si/2019/base/quantity/luminous-intensity.test.json new file mode 100644 index 00000000..707c15aa --- /dev/null +++ b/test/bipm/si/2019/base/quantity/luminous-intensity.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/luminous-intensity.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/mass.test.json b/test/bipm/si/2019/base/quantity/mass.test.json new file mode 100644 index 00000000..36b18314 --- /dev/null +++ b/test/bipm/si/2019/base/quantity/mass.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/mass.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/thermodynamic-temperature.test.json b/test/bipm/si/2019/base/quantity/thermodynamic-temperature.test.json new file mode 100644 index 00000000..ced706f1 --- /dev/null +++ b/test/bipm/si/2019/base/quantity/thermodynamic-temperature.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/thermodynamic-temperature.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/quantity/time.test.json b/test/bipm/si/2019/base/quantity/time.test.json new file mode 100644 index 00000000..064dd787 --- /dev/null +++ b/test/bipm/si/2019/base/quantity/time.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/quantity/time.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/symbol.test.json b/test/bipm/si/2019/base/symbol.test.json new file mode 100644 index 00000000..f6655a25 --- /dev/null +++ b/test/bipm/si/2019/base/symbol.test.json @@ -0,0 +1,146 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/base/symbol.json", + "tests": [ + { + "description": "Valid - second", + "data": "s", + "valid": true + }, + { + "description": "Valid - metre", + "data": "m", + "valid": true + }, + { + "description": "Valid - kilogram", + "data": "kg", + "valid": true + }, + { + "description": "Valid - ampere", + "data": "A", + "valid": true + }, + { + "description": "Valid - kelvin", + "data": "K", + "valid": true + }, + { + "description": "Valid - mole", + "data": "mol", + "valid": true + }, + { + "description": "Valid - candela", + "data": "cd", + "valid": true + }, + { + "description": "Valid - millisecond", + "data": "ms", + "valid": true + }, + { + "description": "Valid - kilometre", + "data": "km", + "valid": true + }, + { + "description": "Valid - gram", + "data": "g", + "valid": true + }, + { + "description": "Valid - milligram", + "data": "mg", + "valid": true + }, + { + "description": "Valid - microampere", + "data": "µA", + "valid": true + }, + { + "description": "Valid - milliampere", + "data": "mA", + "valid": true + }, + { + "description": "Valid - millikelvin", + "data": "mK", + "valid": true + }, + { + "description": "Valid - micromole", + "data": "µmol", + "valid": true + }, + { + "description": "Valid - millicandela", + "data": "mcd", + "valid": true + }, + { + "description": "Valid - nanosecond", + "data": "ns", + "valid": true + }, + { + "description": "Valid - centimetre", + "data": "cm", + "valid": true + }, + { + "description": "Valid - megagram", + "data": "Mg", + "valid": true + }, + { + "description": "Valid - quettametre", + "data": "Qm", + "valid": true + }, + { + "description": "Valid - quectosecond", + "data": "qs", + "valid": true + }, + { + "description": "Invalid - derived unit symbol", + "data": "Hz", + "valid": false + }, + { + "description": "Invalid - unknown symbol", + "data": "xyz", + "valid": false + }, + { + "description": "Invalid type - number", + "data": 1, + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/ampere.test.json b/test/bipm/si/2019/base/unit/ampere.test.json new file mode 100644 index 00000000..c200568d --- /dev/null +++ b/test/bipm/si/2019/base/unit/ampere.test.json @@ -0,0 +1,66 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/ampere.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 5, + "valid": true + }, + { + "description": "Valid - negative", + "data": -1.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - small negative", + "data": -0.001, + "valid": true + }, + { + "description": "Valid - large positive", + "data": 100, + "valid": true + }, + { + "description": "Valid - large negative", + "data": -100, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "2", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/candela.test.json b/test/bipm/si/2019/base/unit/candela.test.json new file mode 100644 index 00000000..d4e36126 --- /dev/null +++ b/test/bipm/si/2019/base/unit/candela.test.json @@ -0,0 +1,66 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/candela.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.1, + "valid": true + }, + { + "description": "Valid - one candela", + "data": 1, + "valid": true + }, + { + "description": "Valid - typical bulb", + "data": 100, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 12.5, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -5, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/kelvin.test.json b/test/bipm/si/2019/base/unit/kelvin.test.json new file mode 100644 index 00000000..4a26f0ed --- /dev/null +++ b/test/bipm/si/2019/base/unit/kelvin.test.json @@ -0,0 +1,71 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/kelvin.json", + "tests": [ + { + "description": "Valid - absolute zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - room temperature", + "data": 293.15, + "valid": true + }, + { + "description": "Valid - water freezing point", + "data": 273.15, + "valid": true + }, + { + "description": "Valid - water boiling point", + "data": 373.15, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.01, + "valid": true + }, + { + "description": "Valid - high temperature", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - negative (below absolute zero)", + "data": -1, + "valid": false + }, + { + "description": "Invalid - negative decimal", + "data": -0.01, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "273.15", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/kilogram.test.json b/test/bipm/si/2019/base/unit/kilogram.test.json new file mode 100644 index 00000000..e048a484 --- /dev/null +++ b/test/bipm/si/2019/base/unit/kilogram.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/kilogram.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive integer", + "data": 70, + "valid": true + }, + { + "description": "Valid - positive decimal", + "data": 1.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - large value", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -10, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "50", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/metre.test.json b/test/bipm/si/2019/base/unit/metre.test.json new file mode 100644 index 00000000..8f2455bb --- /dev/null +++ b/test/bipm/si/2019/base/unit/metre.test.json @@ -0,0 +1,63 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/metre.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive integer", + "data": 100, + "valid": true + }, + { + "description": "Valid - positive decimal", + "data": 1.75, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - large value", + "data": 1000000, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -5, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [ 1 ], + "valid": false + }, + { + "description": "Invalid type - object", + "data": { + "value": 1 + }, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/mole.test.json b/test/bipm/si/2019/base/unit/mole.test.json new file mode 100644 index 00000000..7a389d1f --- /dev/null +++ b/test/bipm/si/2019/base/unit/mole.test.json @@ -0,0 +1,66 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/mole.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - one mole", + "data": 1, + "valid": true + }, + { + "description": "Valid - multiple moles", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 2.5, + "valid": true + }, + { + "description": "Valid - large value", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -1, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "1", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/base/unit/second.test.json b/test/bipm/si/2019/base/unit/second.test.json new file mode 100644 index 00000000..fb72dddd --- /dev/null +++ b/test/bipm/si/2019/base/unit/second.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/base/unit/second.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive integer", + "data": 60, + "valid": true + }, + { + "description": "Valid - positive decimal", + "data": 1.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - large value", + "data": 86400, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -1, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "1", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/compound/joule-per-kelvin.test.json b/test/bipm/si/2019/compound/joule-per-kelvin.test.json new file mode 100644 index 00000000..6fa51128 --- /dev/null +++ b/test/bipm/si/2019/compound/joule-per-kelvin.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/compound/joule-per-kelvin.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/compound/joule-second.test.json b/test/bipm/si/2019/compound/joule-second.test.json new file mode 100644 index 00000000..cf5f9387 --- /dev/null +++ b/test/bipm/si/2019/compound/joule-second.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/compound/joule-second.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/compound/lumen-per-watt.test.json b/test/bipm/si/2019/compound/lumen-per-watt.test.json new file mode 100644 index 00000000..98108eb8 --- /dev/null +++ b/test/bipm/si/2019/compound/lumen-per-watt.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/compound/lumen-per-watt.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/compound/metre-per-second.test.json b/test/bipm/si/2019/compound/metre-per-second.test.json new file mode 100644 index 00000000..f2131d45 --- /dev/null +++ b/test/bipm/si/2019/compound/metre-per-second.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/compound/metre-per-second.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/avogadro.test.json b/test/bipm/si/2019/constant/avogadro.test.json new file mode 100644 index 00000000..a75f4c91 --- /dev/null +++ b/test/bipm/si/2019/constant/avogadro.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/avogadro.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 6.02214076000000000000000e+23, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 6.02214077000000000000000e+23, + "valid": false + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "6.02214076e23", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/boltzmann.test.json b/test/bipm/si/2019/constant/boltzmann.test.json new file mode 100644 index 00000000..df0af162 --- /dev/null +++ b/test/bipm/si/2019/constant/boltzmann.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/boltzmann.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 1.380649e-23, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 1.380650e-23, + "valid": false + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "1.380649e-23", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/caesium-frequency.test.json b/test/bipm/si/2019/constant/caesium-frequency.test.json new file mode 100644 index 00000000..4f0dc51e --- /dev/null +++ b/test/bipm/si/2019/constant/caesium-frequency.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/caesium-frequency.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 9192631770, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 9192631771, + "valid": false + }, + { + "description": "Invalid - decimal", + "data": 9192630000.0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "9192631770", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/elementary-charge.test.json b/test/bipm/si/2019/constant/elementary-charge.test.json new file mode 100644 index 00000000..3cbe2bd8 --- /dev/null +++ b/test/bipm/si/2019/constant/elementary-charge.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/elementary-charge.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 1.602176634e-19, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 1.602176635e-19, + "valid": false + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "1.602176634e-19", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/light-speed.test.json b/test/bipm/si/2019/constant/light-speed.test.json new file mode 100644 index 00000000..014b4db6 --- /dev/null +++ b/test/bipm/si/2019/constant/light-speed.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/light-speed.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 299792458, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 299792459, + "valid": false + }, + { + "description": "Invalid - decimal", + "data": 299792000.0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "299792458", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/luminous-efficacy.test.json b/test/bipm/si/2019/constant/luminous-efficacy.test.json new file mode 100644 index 00000000..50d2d48a --- /dev/null +++ b/test/bipm/si/2019/constant/luminous-efficacy.test.json @@ -0,0 +1,51 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/luminous-efficacy.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 683, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 684, + "valid": false + }, + { + "description": "Invalid - decimal", + "data": 683.5, + "valid": false + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "683", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/constant/planck.test.json b/test/bipm/si/2019/constant/planck.test.json new file mode 100644 index 00000000..bc975e29 --- /dev/null +++ b/test/bipm/si/2019/constant/planck.test.json @@ -0,0 +1,46 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/constant/planck.json", + "tests": [ + { + "description": "Valid - exact value", + "data": 6.62607015e-34, + "valid": true + }, + { + "description": "Invalid - different value", + "data": 6.62607016e-34, + "valid": false + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "6.62607015e-34", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/attobecquerel.test.json new file mode 100644 index 00000000..a9d30ebb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/attocoulomb.test.json new file mode 100644 index 00000000..d27cb8be --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/attodegree-celsius.test.json new file mode 100644 index 00000000..54d4828b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attofarad.test.json b/test/bipm/si/2019/derived/prefixed/attofarad.test.json new file mode 100644 index 00000000..1e0610bf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attogray.test.json b/test/bipm/si/2019/derived/prefixed/attogray.test.json new file mode 100644 index 00000000..dfde0938 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attohenry.test.json b/test/bipm/si/2019/derived/prefixed/attohenry.test.json new file mode 100644 index 00000000..58166dc0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attohertz.test.json b/test/bipm/si/2019/derived/prefixed/attohertz.test.json new file mode 100644 index 00000000..a20f5dff --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attojoule.test.json b/test/bipm/si/2019/derived/prefixed/attojoule.test.json new file mode 100644 index 00000000..b65794c1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attokatal.test.json b/test/bipm/si/2019/derived/prefixed/attokatal.test.json new file mode 100644 index 00000000..0885d169 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attolumen.test.json b/test/bipm/si/2019/derived/prefixed/attolumen.test.json new file mode 100644 index 00000000..4c652700 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attolux.test.json b/test/bipm/si/2019/derived/prefixed/attolux.test.json new file mode 100644 index 00000000..7865a269 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attonewton.test.json b/test/bipm/si/2019/derived/prefixed/attonewton.test.json new file mode 100644 index 00000000..33c64108 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attoohm.test.json b/test/bipm/si/2019/derived/prefixed/attoohm.test.json new file mode 100644 index 00000000..bb3dd7b3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attopascal.test.json b/test/bipm/si/2019/derived/prefixed/attopascal.test.json new file mode 100644 index 00000000..c227c5f0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attoradian.test.json b/test/bipm/si/2019/derived/prefixed/attoradian.test.json new file mode 100644 index 00000000..619cc733 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attosiemens.test.json b/test/bipm/si/2019/derived/prefixed/attosiemens.test.json new file mode 100644 index 00000000..543125f6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attosievert.test.json b/test/bipm/si/2019/derived/prefixed/attosievert.test.json new file mode 100644 index 00000000..82dfadbf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attosteradian.test.json b/test/bipm/si/2019/derived/prefixed/attosteradian.test.json new file mode 100644 index 00000000..6ca6531d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attotesla.test.json b/test/bipm/si/2019/derived/prefixed/attotesla.test.json new file mode 100644 index 00000000..fca8270d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attovolt.test.json b/test/bipm/si/2019/derived/prefixed/attovolt.test.json new file mode 100644 index 00000000..ca133294 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attowatt.test.json b/test/bipm/si/2019/derived/prefixed/attowatt.test.json new file mode 100644 index 00000000..58289650 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/attoweber.test.json b/test/bipm/si/2019/derived/prefixed/attoweber.test.json new file mode 100644 index 00000000..485c6489 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/attoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/attoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centibecquerel.test.json b/test/bipm/si/2019/derived/prefixed/centibecquerel.test.json new file mode 100644 index 00000000..657a2f18 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centibecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centibecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centicoulomb.test.json b/test/bipm/si/2019/derived/prefixed/centicoulomb.test.json new file mode 100644 index 00000000..92c2a080 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centicoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centicoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centidegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/centidegree-celsius.test.json new file mode 100644 index 00000000..04a266a5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centidegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centidegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centifarad.test.json b/test/bipm/si/2019/derived/prefixed/centifarad.test.json new file mode 100644 index 00000000..55a70603 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centifarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centifarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centigray.test.json b/test/bipm/si/2019/derived/prefixed/centigray.test.json new file mode 100644 index 00000000..28c120fa --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centigray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centigray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centihenry.test.json b/test/bipm/si/2019/derived/prefixed/centihenry.test.json new file mode 100644 index 00000000..322dee75 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centihenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centihenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centihertz.test.json b/test/bipm/si/2019/derived/prefixed/centihertz.test.json new file mode 100644 index 00000000..8af07b63 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centihertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centihertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centijoule.test.json b/test/bipm/si/2019/derived/prefixed/centijoule.test.json new file mode 100644 index 00000000..5b786f9f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centijoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centijoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centikatal.test.json b/test/bipm/si/2019/derived/prefixed/centikatal.test.json new file mode 100644 index 00000000..676969e9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centikatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centikatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centilumen.test.json b/test/bipm/si/2019/derived/prefixed/centilumen.test.json new file mode 100644 index 00000000..c5e506b6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centilumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centilumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centilux.test.json b/test/bipm/si/2019/derived/prefixed/centilux.test.json new file mode 100644 index 00000000..fc8c61c7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centilux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centilux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centinewton.test.json b/test/bipm/si/2019/derived/prefixed/centinewton.test.json new file mode 100644 index 00000000..0b39f9e7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centinewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centinewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centiohm.test.json b/test/bipm/si/2019/derived/prefixed/centiohm.test.json new file mode 100644 index 00000000..85f730aa --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centiohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centiohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centipascal.test.json b/test/bipm/si/2019/derived/prefixed/centipascal.test.json new file mode 100644 index 00000000..8ddaf92c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centipascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centipascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centiradian.test.json b/test/bipm/si/2019/derived/prefixed/centiradian.test.json new file mode 100644 index 00000000..03b53d20 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centiradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centiradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centisiemens.test.json b/test/bipm/si/2019/derived/prefixed/centisiemens.test.json new file mode 100644 index 00000000..3fbc00a7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centisiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centisiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centisievert.test.json b/test/bipm/si/2019/derived/prefixed/centisievert.test.json new file mode 100644 index 00000000..1e4efbff --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centisievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centisievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centisteradian.test.json b/test/bipm/si/2019/derived/prefixed/centisteradian.test.json new file mode 100644 index 00000000..a18a00cf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centisteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centisteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centitesla.test.json b/test/bipm/si/2019/derived/prefixed/centitesla.test.json new file mode 100644 index 00000000..f8a53349 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centitesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centitesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centivolt.test.json b/test/bipm/si/2019/derived/prefixed/centivolt.test.json new file mode 100644 index 00000000..7ae2937d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centivolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centivolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centiwatt.test.json b/test/bipm/si/2019/derived/prefixed/centiwatt.test.json new file mode 100644 index 00000000..c17aa4e0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centiwatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centiwatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/centiweber.test.json b/test/bipm/si/2019/derived/prefixed/centiweber.test.json new file mode 100644 index 00000000..8c62a599 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/centiweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/centiweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/decabecquerel.test.json new file mode 100644 index 00000000..348c7656 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/decacoulomb.test.json new file mode 100644 index 00000000..548fea12 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/decadegree-celsius.test.json new file mode 100644 index 00000000..47e8e64d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decafarad.test.json b/test/bipm/si/2019/derived/prefixed/decafarad.test.json new file mode 100644 index 00000000..a62bbe8f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decagray.test.json b/test/bipm/si/2019/derived/prefixed/decagray.test.json new file mode 100644 index 00000000..eb7dbd15 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decahenry.test.json b/test/bipm/si/2019/derived/prefixed/decahenry.test.json new file mode 100644 index 00000000..55eead94 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decahertz.test.json b/test/bipm/si/2019/derived/prefixed/decahertz.test.json new file mode 100644 index 00000000..2195429a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decajoule.test.json b/test/bipm/si/2019/derived/prefixed/decajoule.test.json new file mode 100644 index 00000000..16a22b03 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decakatal.test.json b/test/bipm/si/2019/derived/prefixed/decakatal.test.json new file mode 100644 index 00000000..614f83dd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decalumen.test.json b/test/bipm/si/2019/derived/prefixed/decalumen.test.json new file mode 100644 index 00000000..9d4d6d12 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decalux.test.json b/test/bipm/si/2019/derived/prefixed/decalux.test.json new file mode 100644 index 00000000..56b3ab2a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decanewton.test.json b/test/bipm/si/2019/derived/prefixed/decanewton.test.json new file mode 100644 index 00000000..8710002b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decaohm.test.json b/test/bipm/si/2019/derived/prefixed/decaohm.test.json new file mode 100644 index 00000000..b3de23ca --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decapascal.test.json b/test/bipm/si/2019/derived/prefixed/decapascal.test.json new file mode 100644 index 00000000..49ea723f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decaradian.test.json b/test/bipm/si/2019/derived/prefixed/decaradian.test.json new file mode 100644 index 00000000..a58fc5d5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decasiemens.test.json b/test/bipm/si/2019/derived/prefixed/decasiemens.test.json new file mode 100644 index 00000000..5531c84b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decasievert.test.json b/test/bipm/si/2019/derived/prefixed/decasievert.test.json new file mode 100644 index 00000000..1343e38b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decasteradian.test.json b/test/bipm/si/2019/derived/prefixed/decasteradian.test.json new file mode 100644 index 00000000..1c1d1812 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decatesla.test.json b/test/bipm/si/2019/derived/prefixed/decatesla.test.json new file mode 100644 index 00000000..3889918a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decavolt.test.json b/test/bipm/si/2019/derived/prefixed/decavolt.test.json new file mode 100644 index 00000000..cc10597d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decawatt.test.json b/test/bipm/si/2019/derived/prefixed/decawatt.test.json new file mode 100644 index 00000000..5ac7b44c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decaweber.test.json b/test/bipm/si/2019/derived/prefixed/decaweber.test.json new file mode 100644 index 00000000..86ac0162 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decibecquerel.test.json b/test/bipm/si/2019/derived/prefixed/decibecquerel.test.json new file mode 100644 index 00000000..d96fceee --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decibecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decibecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decicoulomb.test.json b/test/bipm/si/2019/derived/prefixed/decicoulomb.test.json new file mode 100644 index 00000000..101bdb6e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decicoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decicoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decidegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/decidegree-celsius.test.json new file mode 100644 index 00000000..fe91ba8e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decidegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decidegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decifarad.test.json b/test/bipm/si/2019/derived/prefixed/decifarad.test.json new file mode 100644 index 00000000..eb698172 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decifarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decifarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decigray.test.json b/test/bipm/si/2019/derived/prefixed/decigray.test.json new file mode 100644 index 00000000..46f0d548 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decigray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decigray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decihenry.test.json b/test/bipm/si/2019/derived/prefixed/decihenry.test.json new file mode 100644 index 00000000..39531034 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decihenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decihenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decihertz.test.json b/test/bipm/si/2019/derived/prefixed/decihertz.test.json new file mode 100644 index 00000000..fddb2a44 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decihertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decihertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decijoule.test.json b/test/bipm/si/2019/derived/prefixed/decijoule.test.json new file mode 100644 index 00000000..8c93ef8e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decijoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decijoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decikatal.test.json b/test/bipm/si/2019/derived/prefixed/decikatal.test.json new file mode 100644 index 00000000..a8a7d9a8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decikatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decikatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decilumen.test.json b/test/bipm/si/2019/derived/prefixed/decilumen.test.json new file mode 100644 index 00000000..1b46a832 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decilumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decilumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decilux.test.json b/test/bipm/si/2019/derived/prefixed/decilux.test.json new file mode 100644 index 00000000..b73be102 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decilux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decilux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decinewton.test.json b/test/bipm/si/2019/derived/prefixed/decinewton.test.json new file mode 100644 index 00000000..116b84d1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decinewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decinewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/deciohm.test.json b/test/bipm/si/2019/derived/prefixed/deciohm.test.json new file mode 100644 index 00000000..bbe8e45c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/deciohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/deciohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decipascal.test.json b/test/bipm/si/2019/derived/prefixed/decipascal.test.json new file mode 100644 index 00000000..81333a67 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decipascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decipascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/deciradian.test.json b/test/bipm/si/2019/derived/prefixed/deciradian.test.json new file mode 100644 index 00000000..f88d4432 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/deciradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/deciradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decisiemens.test.json b/test/bipm/si/2019/derived/prefixed/decisiemens.test.json new file mode 100644 index 00000000..f4a20855 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decisiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decisiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decisievert.test.json b/test/bipm/si/2019/derived/prefixed/decisievert.test.json new file mode 100644 index 00000000..ab12a6c7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decisievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decisievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decisteradian.test.json b/test/bipm/si/2019/derived/prefixed/decisteradian.test.json new file mode 100644 index 00000000..745b23cc --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decisteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decisteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decitesla.test.json b/test/bipm/si/2019/derived/prefixed/decitesla.test.json new file mode 100644 index 00000000..24a2bee9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decitesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decitesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/decivolt.test.json b/test/bipm/si/2019/derived/prefixed/decivolt.test.json new file mode 100644 index 00000000..c6465b29 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/decivolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/decivolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/deciwatt.test.json b/test/bipm/si/2019/derived/prefixed/deciwatt.test.json new file mode 100644 index 00000000..232efab0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/deciwatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/deciwatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/deciweber.test.json b/test/bipm/si/2019/derived/prefixed/deciweber.test.json new file mode 100644 index 00000000..8712cf9d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/deciweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/deciweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/exabecquerel.test.json new file mode 100644 index 00000000..ed04fbbf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/exacoulomb.test.json new file mode 100644 index 00000000..7528a221 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/exadegree-celsius.test.json new file mode 100644 index 00000000..cc2a0404 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exafarad.test.json b/test/bipm/si/2019/derived/prefixed/exafarad.test.json new file mode 100644 index 00000000..39138a57 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exagray.test.json b/test/bipm/si/2019/derived/prefixed/exagray.test.json new file mode 100644 index 00000000..bb2fcaea --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exahenry.test.json b/test/bipm/si/2019/derived/prefixed/exahenry.test.json new file mode 100644 index 00000000..87221e4e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exahertz.test.json b/test/bipm/si/2019/derived/prefixed/exahertz.test.json new file mode 100644 index 00000000..b5501674 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exajoule.test.json b/test/bipm/si/2019/derived/prefixed/exajoule.test.json new file mode 100644 index 00000000..035a0541 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exakatal.test.json b/test/bipm/si/2019/derived/prefixed/exakatal.test.json new file mode 100644 index 00000000..7e8542f7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exalumen.test.json b/test/bipm/si/2019/derived/prefixed/exalumen.test.json new file mode 100644 index 00000000..488a7d01 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exalux.test.json b/test/bipm/si/2019/derived/prefixed/exalux.test.json new file mode 100644 index 00000000..e7c9f52f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exanewton.test.json b/test/bipm/si/2019/derived/prefixed/exanewton.test.json new file mode 100644 index 00000000..c5b96c52 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exaohm.test.json b/test/bipm/si/2019/derived/prefixed/exaohm.test.json new file mode 100644 index 00000000..30eda161 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exapascal.test.json b/test/bipm/si/2019/derived/prefixed/exapascal.test.json new file mode 100644 index 00000000..aa3d5dea --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exaradian.test.json b/test/bipm/si/2019/derived/prefixed/exaradian.test.json new file mode 100644 index 00000000..18de75b9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exasiemens.test.json b/test/bipm/si/2019/derived/prefixed/exasiemens.test.json new file mode 100644 index 00000000..9bb4b625 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exasievert.test.json b/test/bipm/si/2019/derived/prefixed/exasievert.test.json new file mode 100644 index 00000000..18dba813 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exasteradian.test.json b/test/bipm/si/2019/derived/prefixed/exasteradian.test.json new file mode 100644 index 00000000..53113106 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exatesla.test.json b/test/bipm/si/2019/derived/prefixed/exatesla.test.json new file mode 100644 index 00000000..3408442b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exavolt.test.json b/test/bipm/si/2019/derived/prefixed/exavolt.test.json new file mode 100644 index 00000000..66da6583 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exawatt.test.json b/test/bipm/si/2019/derived/prefixed/exawatt.test.json new file mode 100644 index 00000000..39449561 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/exaweber.test.json b/test/bipm/si/2019/derived/prefixed/exaweber.test.json new file mode 100644 index 00000000..e9816632 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/exaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/exaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/femtobecquerel.test.json new file mode 100644 index 00000000..a26e044a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/femtocoulomb.test.json new file mode 100644 index 00000000..6a2fb20b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/femtodegree-celsius.test.json new file mode 100644 index 00000000..5d29be53 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtofarad.test.json b/test/bipm/si/2019/derived/prefixed/femtofarad.test.json new file mode 100644 index 00000000..ffb7e3d3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtogray.test.json b/test/bipm/si/2019/derived/prefixed/femtogray.test.json new file mode 100644 index 00000000..e5cb629c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtohenry.test.json b/test/bipm/si/2019/derived/prefixed/femtohenry.test.json new file mode 100644 index 00000000..d093a7f1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtohertz.test.json b/test/bipm/si/2019/derived/prefixed/femtohertz.test.json new file mode 100644 index 00000000..0515c8af --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtojoule.test.json b/test/bipm/si/2019/derived/prefixed/femtojoule.test.json new file mode 100644 index 00000000..41127dc4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtokatal.test.json b/test/bipm/si/2019/derived/prefixed/femtokatal.test.json new file mode 100644 index 00000000..f9ddf556 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtolumen.test.json b/test/bipm/si/2019/derived/prefixed/femtolumen.test.json new file mode 100644 index 00000000..5fe48fc9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtolux.test.json b/test/bipm/si/2019/derived/prefixed/femtolux.test.json new file mode 100644 index 00000000..1a027825 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtonewton.test.json b/test/bipm/si/2019/derived/prefixed/femtonewton.test.json new file mode 100644 index 00000000..c9df6e66 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtoohm.test.json b/test/bipm/si/2019/derived/prefixed/femtoohm.test.json new file mode 100644 index 00000000..5f312053 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtopascal.test.json b/test/bipm/si/2019/derived/prefixed/femtopascal.test.json new file mode 100644 index 00000000..5e27722c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtoradian.test.json b/test/bipm/si/2019/derived/prefixed/femtoradian.test.json new file mode 100644 index 00000000..5de4323c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtosiemens.test.json b/test/bipm/si/2019/derived/prefixed/femtosiemens.test.json new file mode 100644 index 00000000..9d5fb9f0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtosievert.test.json b/test/bipm/si/2019/derived/prefixed/femtosievert.test.json new file mode 100644 index 00000000..2b3d6e0e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtosteradian.test.json b/test/bipm/si/2019/derived/prefixed/femtosteradian.test.json new file mode 100644 index 00000000..d5b8679d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtotesla.test.json b/test/bipm/si/2019/derived/prefixed/femtotesla.test.json new file mode 100644 index 00000000..6729eb51 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtovolt.test.json b/test/bipm/si/2019/derived/prefixed/femtovolt.test.json new file mode 100644 index 00000000..54fcdbfe --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtowatt.test.json b/test/bipm/si/2019/derived/prefixed/femtowatt.test.json new file mode 100644 index 00000000..896bbc71 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/femtoweber.test.json b/test/bipm/si/2019/derived/prefixed/femtoweber.test.json new file mode 100644 index 00000000..2d8a4834 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/femtoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/femtoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/gigabecquerel.test.json new file mode 100644 index 00000000..4d3cf39d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/gigacoulomb.test.json new file mode 100644 index 00000000..016d8494 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/gigadegree-celsius.test.json new file mode 100644 index 00000000..550f9928 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigafarad.test.json b/test/bipm/si/2019/derived/prefixed/gigafarad.test.json new file mode 100644 index 00000000..fd69034b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigagray.test.json b/test/bipm/si/2019/derived/prefixed/gigagray.test.json new file mode 100644 index 00000000..0499f0a5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigahenry.test.json b/test/bipm/si/2019/derived/prefixed/gigahenry.test.json new file mode 100644 index 00000000..1c6df5fb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigahertz.test.json b/test/bipm/si/2019/derived/prefixed/gigahertz.test.json new file mode 100644 index 00000000..86b4c231 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigajoule.test.json b/test/bipm/si/2019/derived/prefixed/gigajoule.test.json new file mode 100644 index 00000000..1965726b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigakatal.test.json b/test/bipm/si/2019/derived/prefixed/gigakatal.test.json new file mode 100644 index 00000000..7c7064bd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigalumen.test.json b/test/bipm/si/2019/derived/prefixed/gigalumen.test.json new file mode 100644 index 00000000..b5e75393 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigalux.test.json b/test/bipm/si/2019/derived/prefixed/gigalux.test.json new file mode 100644 index 00000000..61200e91 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/giganewton.test.json b/test/bipm/si/2019/derived/prefixed/giganewton.test.json new file mode 100644 index 00000000..7a4fc68d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/giganewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/giganewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigaohm.test.json b/test/bipm/si/2019/derived/prefixed/gigaohm.test.json new file mode 100644 index 00000000..f909cdaf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigapascal.test.json b/test/bipm/si/2019/derived/prefixed/gigapascal.test.json new file mode 100644 index 00000000..671d801f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigaradian.test.json b/test/bipm/si/2019/derived/prefixed/gigaradian.test.json new file mode 100644 index 00000000..7d60171b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigasiemens.test.json b/test/bipm/si/2019/derived/prefixed/gigasiemens.test.json new file mode 100644 index 00000000..37b7b6d7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigasievert.test.json b/test/bipm/si/2019/derived/prefixed/gigasievert.test.json new file mode 100644 index 00000000..3bbce061 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigasteradian.test.json b/test/bipm/si/2019/derived/prefixed/gigasteradian.test.json new file mode 100644 index 00000000..e98cfab4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigatesla.test.json b/test/bipm/si/2019/derived/prefixed/gigatesla.test.json new file mode 100644 index 00000000..8083579e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigavolt.test.json b/test/bipm/si/2019/derived/prefixed/gigavolt.test.json new file mode 100644 index 00000000..251bbc67 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigawatt.test.json b/test/bipm/si/2019/derived/prefixed/gigawatt.test.json new file mode 100644 index 00000000..67b9c6b1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/gigaweber.test.json b/test/bipm/si/2019/derived/prefixed/gigaweber.test.json new file mode 100644 index 00000000..45b50a17 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/gigaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/gigaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/hectobecquerel.test.json new file mode 100644 index 00000000..cd738959 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/hectocoulomb.test.json new file mode 100644 index 00000000..20bb087f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/hectodegree-celsius.test.json new file mode 100644 index 00000000..e30a6a11 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectofarad.test.json b/test/bipm/si/2019/derived/prefixed/hectofarad.test.json new file mode 100644 index 00000000..592a3c0c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectogray.test.json b/test/bipm/si/2019/derived/prefixed/hectogray.test.json new file mode 100644 index 00000000..59be6a36 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectohenry.test.json b/test/bipm/si/2019/derived/prefixed/hectohenry.test.json new file mode 100644 index 00000000..7d5b18d2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectohertz.test.json b/test/bipm/si/2019/derived/prefixed/hectohertz.test.json new file mode 100644 index 00000000..97d28cef --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectojoule.test.json b/test/bipm/si/2019/derived/prefixed/hectojoule.test.json new file mode 100644 index 00000000..f98d5324 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectokatal.test.json b/test/bipm/si/2019/derived/prefixed/hectokatal.test.json new file mode 100644 index 00000000..323d745f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectolumen.test.json b/test/bipm/si/2019/derived/prefixed/hectolumen.test.json new file mode 100644 index 00000000..5011fd99 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectolux.test.json b/test/bipm/si/2019/derived/prefixed/hectolux.test.json new file mode 100644 index 00000000..85186534 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectonewton.test.json b/test/bipm/si/2019/derived/prefixed/hectonewton.test.json new file mode 100644 index 00000000..13fb091c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectoohm.test.json b/test/bipm/si/2019/derived/prefixed/hectoohm.test.json new file mode 100644 index 00000000..199ad954 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectopascal.test.json b/test/bipm/si/2019/derived/prefixed/hectopascal.test.json new file mode 100644 index 00000000..c27fb2c7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectoradian.test.json b/test/bipm/si/2019/derived/prefixed/hectoradian.test.json new file mode 100644 index 00000000..dba9b4aa --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectosiemens.test.json b/test/bipm/si/2019/derived/prefixed/hectosiemens.test.json new file mode 100644 index 00000000..12bc9fe8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectosievert.test.json b/test/bipm/si/2019/derived/prefixed/hectosievert.test.json new file mode 100644 index 00000000..fbf97d46 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectosteradian.test.json b/test/bipm/si/2019/derived/prefixed/hectosteradian.test.json new file mode 100644 index 00000000..98f2b333 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectotesla.test.json b/test/bipm/si/2019/derived/prefixed/hectotesla.test.json new file mode 100644 index 00000000..4e489588 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectovolt.test.json b/test/bipm/si/2019/derived/prefixed/hectovolt.test.json new file mode 100644 index 00000000..19aa335a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectowatt.test.json b/test/bipm/si/2019/derived/prefixed/hectowatt.test.json new file mode 100644 index 00000000..fbdb65bf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/hectoweber.test.json b/test/bipm/si/2019/derived/prefixed/hectoweber.test.json new file mode 100644 index 00000000..b61d8495 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/hectoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/hectoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/kilobecquerel.test.json new file mode 100644 index 00000000..e84d7352 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/kilocoulomb.test.json new file mode 100644 index 00000000..14e4fac4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/kilodegree-celsius.test.json new file mode 100644 index 00000000..e582bcd0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilofarad.test.json b/test/bipm/si/2019/derived/prefixed/kilofarad.test.json new file mode 100644 index 00000000..249cfc85 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilogray.test.json b/test/bipm/si/2019/derived/prefixed/kilogray.test.json new file mode 100644 index 00000000..6617a864 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilohenry.test.json b/test/bipm/si/2019/derived/prefixed/kilohenry.test.json new file mode 100644 index 00000000..5c257b44 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilohertz.test.json b/test/bipm/si/2019/derived/prefixed/kilohertz.test.json new file mode 100644 index 00000000..ef8150bd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilojoule.test.json b/test/bipm/si/2019/derived/prefixed/kilojoule.test.json new file mode 100644 index 00000000..b0d41f54 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilokatal.test.json b/test/bipm/si/2019/derived/prefixed/kilokatal.test.json new file mode 100644 index 00000000..17b2cf84 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilolumen.test.json b/test/bipm/si/2019/derived/prefixed/kilolumen.test.json new file mode 100644 index 00000000..420783ff --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilolux.test.json b/test/bipm/si/2019/derived/prefixed/kilolux.test.json new file mode 100644 index 00000000..e5722c92 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilonewton.test.json b/test/bipm/si/2019/derived/prefixed/kilonewton.test.json new file mode 100644 index 00000000..dafef98b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kiloohm.test.json b/test/bipm/si/2019/derived/prefixed/kiloohm.test.json new file mode 100644 index 00000000..77cf4af7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kiloohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kiloohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilopascal.test.json b/test/bipm/si/2019/derived/prefixed/kilopascal.test.json new file mode 100644 index 00000000..a565406d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kiloradian.test.json b/test/bipm/si/2019/derived/prefixed/kiloradian.test.json new file mode 100644 index 00000000..d64f9fd9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kiloradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kiloradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilosiemens.test.json b/test/bipm/si/2019/derived/prefixed/kilosiemens.test.json new file mode 100644 index 00000000..4af8b6bc --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilosievert.test.json b/test/bipm/si/2019/derived/prefixed/kilosievert.test.json new file mode 100644 index 00000000..ccf5cc2b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilosteradian.test.json b/test/bipm/si/2019/derived/prefixed/kilosteradian.test.json new file mode 100644 index 00000000..fd44aaf5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilotesla.test.json b/test/bipm/si/2019/derived/prefixed/kilotesla.test.json new file mode 100644 index 00000000..8927e28f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilovolt.test.json b/test/bipm/si/2019/derived/prefixed/kilovolt.test.json new file mode 100644 index 00000000..a402aab9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kilowatt.test.json b/test/bipm/si/2019/derived/prefixed/kilowatt.test.json new file mode 100644 index 00000000..2aeaf5d5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kilowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kilowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/kiloweber.test.json b/test/bipm/si/2019/derived/prefixed/kiloweber.test.json new file mode 100644 index 00000000..6f67c5a4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/kiloweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/kiloweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/megabecquerel.test.json new file mode 100644 index 00000000..d44d30a5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/megacoulomb.test.json new file mode 100644 index 00000000..9e580527 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/megadegree-celsius.test.json new file mode 100644 index 00000000..be1fb03a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megafarad.test.json b/test/bipm/si/2019/derived/prefixed/megafarad.test.json new file mode 100644 index 00000000..d78d86c6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megagray.test.json b/test/bipm/si/2019/derived/prefixed/megagray.test.json new file mode 100644 index 00000000..bcae211e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megahenry.test.json b/test/bipm/si/2019/derived/prefixed/megahenry.test.json new file mode 100644 index 00000000..29782590 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megahertz.test.json b/test/bipm/si/2019/derived/prefixed/megahertz.test.json new file mode 100644 index 00000000..a8041458 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megajoule.test.json b/test/bipm/si/2019/derived/prefixed/megajoule.test.json new file mode 100644 index 00000000..f206a051 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megakatal.test.json b/test/bipm/si/2019/derived/prefixed/megakatal.test.json new file mode 100644 index 00000000..e0f7502f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megalumen.test.json b/test/bipm/si/2019/derived/prefixed/megalumen.test.json new file mode 100644 index 00000000..a3dba62b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megalux.test.json b/test/bipm/si/2019/derived/prefixed/megalux.test.json new file mode 100644 index 00000000..8b4e4307 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/meganewton.test.json b/test/bipm/si/2019/derived/prefixed/meganewton.test.json new file mode 100644 index 00000000..e12bcb60 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/meganewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/meganewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megaohm.test.json b/test/bipm/si/2019/derived/prefixed/megaohm.test.json new file mode 100644 index 00000000..4eaa3fd3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megapascal.test.json b/test/bipm/si/2019/derived/prefixed/megapascal.test.json new file mode 100644 index 00000000..72fb0add --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megaradian.test.json b/test/bipm/si/2019/derived/prefixed/megaradian.test.json new file mode 100644 index 00000000..7e0bfe94 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megasiemens.test.json b/test/bipm/si/2019/derived/prefixed/megasiemens.test.json new file mode 100644 index 00000000..3f723315 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megasievert.test.json b/test/bipm/si/2019/derived/prefixed/megasievert.test.json new file mode 100644 index 00000000..793b9fb2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megasteradian.test.json b/test/bipm/si/2019/derived/prefixed/megasteradian.test.json new file mode 100644 index 00000000..886b4293 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megatesla.test.json b/test/bipm/si/2019/derived/prefixed/megatesla.test.json new file mode 100644 index 00000000..63f2177c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megavolt.test.json b/test/bipm/si/2019/derived/prefixed/megavolt.test.json new file mode 100644 index 00000000..633debdf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megawatt.test.json b/test/bipm/si/2019/derived/prefixed/megawatt.test.json new file mode 100644 index 00000000..97f2773e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/megaweber.test.json b/test/bipm/si/2019/derived/prefixed/megaweber.test.json new file mode 100644 index 00000000..8c0cbbae --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/megaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/megaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microbecquerel.test.json b/test/bipm/si/2019/derived/prefixed/microbecquerel.test.json new file mode 100644 index 00000000..5ada7665 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microbecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microbecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microcoulomb.test.json b/test/bipm/si/2019/derived/prefixed/microcoulomb.test.json new file mode 100644 index 00000000..0b90ff44 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microcoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microcoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microdegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/microdegree-celsius.test.json new file mode 100644 index 00000000..88e0cc7e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microdegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microdegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microfarad.test.json b/test/bipm/si/2019/derived/prefixed/microfarad.test.json new file mode 100644 index 00000000..a91cfcab --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microfarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microfarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microgray.test.json b/test/bipm/si/2019/derived/prefixed/microgray.test.json new file mode 100644 index 00000000..447ddcad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microgray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microgray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microhenry.test.json b/test/bipm/si/2019/derived/prefixed/microhenry.test.json new file mode 100644 index 00000000..b8abbbbf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microhenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microhenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microhertz.test.json b/test/bipm/si/2019/derived/prefixed/microhertz.test.json new file mode 100644 index 00000000..ba8c70f2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microhertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microhertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microjoule.test.json b/test/bipm/si/2019/derived/prefixed/microjoule.test.json new file mode 100644 index 00000000..d9c95b0b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microjoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microjoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microkatal.test.json b/test/bipm/si/2019/derived/prefixed/microkatal.test.json new file mode 100644 index 00000000..dad3b535 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microkatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microkatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microlumen.test.json b/test/bipm/si/2019/derived/prefixed/microlumen.test.json new file mode 100644 index 00000000..c93b14c7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microlumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microlumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microlux.test.json b/test/bipm/si/2019/derived/prefixed/microlux.test.json new file mode 100644 index 00000000..e6829ec2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microlux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microlux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/micronewton.test.json b/test/bipm/si/2019/derived/prefixed/micronewton.test.json new file mode 100644 index 00000000..eff78e33 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/micronewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/micronewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microohm.test.json b/test/bipm/si/2019/derived/prefixed/microohm.test.json new file mode 100644 index 00000000..9616a8f2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/micropascal.test.json b/test/bipm/si/2019/derived/prefixed/micropascal.test.json new file mode 100644 index 00000000..cf349ed5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/micropascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/micropascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microradian.test.json b/test/bipm/si/2019/derived/prefixed/microradian.test.json new file mode 100644 index 00000000..b72ee253 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microsiemens.test.json b/test/bipm/si/2019/derived/prefixed/microsiemens.test.json new file mode 100644 index 00000000..eb36196d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microsiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microsiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microsievert.test.json b/test/bipm/si/2019/derived/prefixed/microsievert.test.json new file mode 100644 index 00000000..57da55d7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microsievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microsievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microsteradian.test.json b/test/bipm/si/2019/derived/prefixed/microsteradian.test.json new file mode 100644 index 00000000..ddc372ed --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microsteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microsteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microtesla.test.json b/test/bipm/si/2019/derived/prefixed/microtesla.test.json new file mode 100644 index 00000000..bda4fa9d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microtesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microtesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microvolt.test.json b/test/bipm/si/2019/derived/prefixed/microvolt.test.json new file mode 100644 index 00000000..819e30f7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microvolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microvolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microwatt.test.json b/test/bipm/si/2019/derived/prefixed/microwatt.test.json new file mode 100644 index 00000000..5e943d19 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microwatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microwatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/microweber.test.json b/test/bipm/si/2019/derived/prefixed/microweber.test.json new file mode 100644 index 00000000..0d40ee2b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/microweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/microweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millibecquerel.test.json b/test/bipm/si/2019/derived/prefixed/millibecquerel.test.json new file mode 100644 index 00000000..abf067e8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millibecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millibecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millicoulomb.test.json b/test/bipm/si/2019/derived/prefixed/millicoulomb.test.json new file mode 100644 index 00000000..a793d6b4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millicoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millicoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millidegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/millidegree-celsius.test.json new file mode 100644 index 00000000..a152dcc7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millidegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millidegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millifarad.test.json b/test/bipm/si/2019/derived/prefixed/millifarad.test.json new file mode 100644 index 00000000..72cebb61 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millifarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millifarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/milligray.test.json b/test/bipm/si/2019/derived/prefixed/milligray.test.json new file mode 100644 index 00000000..8997e221 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/milligray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/milligray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millihenry.test.json b/test/bipm/si/2019/derived/prefixed/millihenry.test.json new file mode 100644 index 00000000..536a1f12 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millihenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millihenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millihertz.test.json b/test/bipm/si/2019/derived/prefixed/millihertz.test.json new file mode 100644 index 00000000..a095b537 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millihertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millihertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millijoule.test.json b/test/bipm/si/2019/derived/prefixed/millijoule.test.json new file mode 100644 index 00000000..86869c21 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millijoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millijoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millikatal.test.json b/test/bipm/si/2019/derived/prefixed/millikatal.test.json new file mode 100644 index 00000000..e17b8b89 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millikatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millikatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millilumen.test.json b/test/bipm/si/2019/derived/prefixed/millilumen.test.json new file mode 100644 index 00000000..59d5803d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millilumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millilumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millilux.test.json b/test/bipm/si/2019/derived/prefixed/millilux.test.json new file mode 100644 index 00000000..4e7a9607 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millilux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millilux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millinewton.test.json b/test/bipm/si/2019/derived/prefixed/millinewton.test.json new file mode 100644 index 00000000..ceeda9a5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millinewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millinewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/milliohm.test.json b/test/bipm/si/2019/derived/prefixed/milliohm.test.json new file mode 100644 index 00000000..111e8f4d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/milliohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/milliohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millipascal.test.json b/test/bipm/si/2019/derived/prefixed/millipascal.test.json new file mode 100644 index 00000000..2864e39e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millipascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millipascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/milliradian.test.json b/test/bipm/si/2019/derived/prefixed/milliradian.test.json new file mode 100644 index 00000000..4aafcbef --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/milliradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/milliradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millisiemens.test.json b/test/bipm/si/2019/derived/prefixed/millisiemens.test.json new file mode 100644 index 00000000..dea28872 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millisiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millisiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millisievert.test.json b/test/bipm/si/2019/derived/prefixed/millisievert.test.json new file mode 100644 index 00000000..0c544065 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millisievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millisievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millisteradian.test.json b/test/bipm/si/2019/derived/prefixed/millisteradian.test.json new file mode 100644 index 00000000..76c99116 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millisteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millisteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millitesla.test.json b/test/bipm/si/2019/derived/prefixed/millitesla.test.json new file mode 100644 index 00000000..138d3197 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millitesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millitesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/millivolt.test.json b/test/bipm/si/2019/derived/prefixed/millivolt.test.json new file mode 100644 index 00000000..d1d5c537 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/millivolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/millivolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/milliwatt.test.json b/test/bipm/si/2019/derived/prefixed/milliwatt.test.json new file mode 100644 index 00000000..904491db --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/milliwatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/milliwatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/milliweber.test.json b/test/bipm/si/2019/derived/prefixed/milliweber.test.json new file mode 100644 index 00000000..2c5243ad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/milliweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/milliweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/nanobecquerel.test.json new file mode 100644 index 00000000..f3b58fda --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/nanocoulomb.test.json new file mode 100644 index 00000000..9bf92634 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/nanodegree-celsius.test.json new file mode 100644 index 00000000..32341c64 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanofarad.test.json b/test/bipm/si/2019/derived/prefixed/nanofarad.test.json new file mode 100644 index 00000000..dc0a2a54 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanogray.test.json b/test/bipm/si/2019/derived/prefixed/nanogray.test.json new file mode 100644 index 00000000..7d124eef --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanohenry.test.json b/test/bipm/si/2019/derived/prefixed/nanohenry.test.json new file mode 100644 index 00000000..7e9601cf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanohertz.test.json b/test/bipm/si/2019/derived/prefixed/nanohertz.test.json new file mode 100644 index 00000000..b037a077 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanojoule.test.json b/test/bipm/si/2019/derived/prefixed/nanojoule.test.json new file mode 100644 index 00000000..7c385dd5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanokatal.test.json b/test/bipm/si/2019/derived/prefixed/nanokatal.test.json new file mode 100644 index 00000000..f1861386 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanolumen.test.json b/test/bipm/si/2019/derived/prefixed/nanolumen.test.json new file mode 100644 index 00000000..ce0b2901 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanolux.test.json b/test/bipm/si/2019/derived/prefixed/nanolux.test.json new file mode 100644 index 00000000..6fd82688 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanonewton.test.json b/test/bipm/si/2019/derived/prefixed/nanonewton.test.json new file mode 100644 index 00000000..ad541bf2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanoohm.test.json b/test/bipm/si/2019/derived/prefixed/nanoohm.test.json new file mode 100644 index 00000000..51a67b7d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanopascal.test.json b/test/bipm/si/2019/derived/prefixed/nanopascal.test.json new file mode 100644 index 00000000..0d09a256 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanoradian.test.json b/test/bipm/si/2019/derived/prefixed/nanoradian.test.json new file mode 100644 index 00000000..57c972f6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanosiemens.test.json b/test/bipm/si/2019/derived/prefixed/nanosiemens.test.json new file mode 100644 index 00000000..3e3a0462 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanosievert.test.json b/test/bipm/si/2019/derived/prefixed/nanosievert.test.json new file mode 100644 index 00000000..1667bb6d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanosteradian.test.json b/test/bipm/si/2019/derived/prefixed/nanosteradian.test.json new file mode 100644 index 00000000..307bb73b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanotesla.test.json b/test/bipm/si/2019/derived/prefixed/nanotesla.test.json new file mode 100644 index 00000000..86f13ad1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanovolt.test.json b/test/bipm/si/2019/derived/prefixed/nanovolt.test.json new file mode 100644 index 00000000..7c82e81d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanowatt.test.json b/test/bipm/si/2019/derived/prefixed/nanowatt.test.json new file mode 100644 index 00000000..c8c25519 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/nanoweber.test.json b/test/bipm/si/2019/derived/prefixed/nanoweber.test.json new file mode 100644 index 00000000..f564e406 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/nanoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/nanoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/petabecquerel.test.json new file mode 100644 index 00000000..799d9354 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/petacoulomb.test.json new file mode 100644 index 00000000..015b2295 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/petadegree-celsius.test.json new file mode 100644 index 00000000..c6b6c039 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petafarad.test.json b/test/bipm/si/2019/derived/prefixed/petafarad.test.json new file mode 100644 index 00000000..4ade24cb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petagray.test.json b/test/bipm/si/2019/derived/prefixed/petagray.test.json new file mode 100644 index 00000000..5d66cd35 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petahenry.test.json b/test/bipm/si/2019/derived/prefixed/petahenry.test.json new file mode 100644 index 00000000..e4cb0d25 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petahertz.test.json b/test/bipm/si/2019/derived/prefixed/petahertz.test.json new file mode 100644 index 00000000..7a60e913 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petajoule.test.json b/test/bipm/si/2019/derived/prefixed/petajoule.test.json new file mode 100644 index 00000000..0633fb10 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petakatal.test.json b/test/bipm/si/2019/derived/prefixed/petakatal.test.json new file mode 100644 index 00000000..186c5361 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petalumen.test.json b/test/bipm/si/2019/derived/prefixed/petalumen.test.json new file mode 100644 index 00000000..9abd3ae8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petalux.test.json b/test/bipm/si/2019/derived/prefixed/petalux.test.json new file mode 100644 index 00000000..b55d24f8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petanewton.test.json b/test/bipm/si/2019/derived/prefixed/petanewton.test.json new file mode 100644 index 00000000..8c6bd6eb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petaohm.test.json b/test/bipm/si/2019/derived/prefixed/petaohm.test.json new file mode 100644 index 00000000..53972e6d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petapascal.test.json b/test/bipm/si/2019/derived/prefixed/petapascal.test.json new file mode 100644 index 00000000..742e5d00 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petaradian.test.json b/test/bipm/si/2019/derived/prefixed/petaradian.test.json new file mode 100644 index 00000000..154f493d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petasiemens.test.json b/test/bipm/si/2019/derived/prefixed/petasiemens.test.json new file mode 100644 index 00000000..f83b5d85 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petasievert.test.json b/test/bipm/si/2019/derived/prefixed/petasievert.test.json new file mode 100644 index 00000000..7af42b85 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petasteradian.test.json b/test/bipm/si/2019/derived/prefixed/petasteradian.test.json new file mode 100644 index 00000000..9b7ac5e7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petatesla.test.json b/test/bipm/si/2019/derived/prefixed/petatesla.test.json new file mode 100644 index 00000000..fa8404e8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petavolt.test.json b/test/bipm/si/2019/derived/prefixed/petavolt.test.json new file mode 100644 index 00000000..4d9ffbeb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petawatt.test.json b/test/bipm/si/2019/derived/prefixed/petawatt.test.json new file mode 100644 index 00000000..9e1e240f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/petaweber.test.json b/test/bipm/si/2019/derived/prefixed/petaweber.test.json new file mode 100644 index 00000000..eecbab65 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/petaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/petaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/picobecquerel.test.json new file mode 100644 index 00000000..9527af62 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/picocoulomb.test.json new file mode 100644 index 00000000..454a939e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/picodegree-celsius.test.json new file mode 100644 index 00000000..35691cbd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picofarad.test.json b/test/bipm/si/2019/derived/prefixed/picofarad.test.json new file mode 100644 index 00000000..d1be59e4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picogray.test.json b/test/bipm/si/2019/derived/prefixed/picogray.test.json new file mode 100644 index 00000000..99f5b797 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picohenry.test.json b/test/bipm/si/2019/derived/prefixed/picohenry.test.json new file mode 100644 index 00000000..07affe76 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picohertz.test.json b/test/bipm/si/2019/derived/prefixed/picohertz.test.json new file mode 100644 index 00000000..bf26127a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picojoule.test.json b/test/bipm/si/2019/derived/prefixed/picojoule.test.json new file mode 100644 index 00000000..8cc0d63c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picokatal.test.json b/test/bipm/si/2019/derived/prefixed/picokatal.test.json new file mode 100644 index 00000000..22ccd8b5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picolumen.test.json b/test/bipm/si/2019/derived/prefixed/picolumen.test.json new file mode 100644 index 00000000..691f6297 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picolux.test.json b/test/bipm/si/2019/derived/prefixed/picolux.test.json new file mode 100644 index 00000000..1be5f248 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/piconewton.test.json b/test/bipm/si/2019/derived/prefixed/piconewton.test.json new file mode 100644 index 00000000..cd6aeb82 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/piconewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/piconewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picoohm.test.json b/test/bipm/si/2019/derived/prefixed/picoohm.test.json new file mode 100644 index 00000000..d12c1631 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picopascal.test.json b/test/bipm/si/2019/derived/prefixed/picopascal.test.json new file mode 100644 index 00000000..f74afd66 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picoradian.test.json b/test/bipm/si/2019/derived/prefixed/picoradian.test.json new file mode 100644 index 00000000..3c0cea40 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picosiemens.test.json b/test/bipm/si/2019/derived/prefixed/picosiemens.test.json new file mode 100644 index 00000000..09dcb9a7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picosievert.test.json b/test/bipm/si/2019/derived/prefixed/picosievert.test.json new file mode 100644 index 00000000..f9ed9276 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picosteradian.test.json b/test/bipm/si/2019/derived/prefixed/picosteradian.test.json new file mode 100644 index 00000000..263ab5b7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picotesla.test.json b/test/bipm/si/2019/derived/prefixed/picotesla.test.json new file mode 100644 index 00000000..89f66f65 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picovolt.test.json b/test/bipm/si/2019/derived/prefixed/picovolt.test.json new file mode 100644 index 00000000..4d081ff5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picowatt.test.json b/test/bipm/si/2019/derived/prefixed/picowatt.test.json new file mode 100644 index 00000000..897126c7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/picoweber.test.json b/test/bipm/si/2019/derived/prefixed/picoweber.test.json new file mode 100644 index 00000000..5e6c1609 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/picoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/picoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/quectobecquerel.test.json new file mode 100644 index 00000000..b7d9c079 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/quectocoulomb.test.json new file mode 100644 index 00000000..e16db6d3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/quectodegree-celsius.test.json new file mode 100644 index 00000000..71d8ddc2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectofarad.test.json b/test/bipm/si/2019/derived/prefixed/quectofarad.test.json new file mode 100644 index 00000000..c52501e1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectogray.test.json b/test/bipm/si/2019/derived/prefixed/quectogray.test.json new file mode 100644 index 00000000..19fb4d2b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectohenry.test.json b/test/bipm/si/2019/derived/prefixed/quectohenry.test.json new file mode 100644 index 00000000..79d33d6d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectohertz.test.json b/test/bipm/si/2019/derived/prefixed/quectohertz.test.json new file mode 100644 index 00000000..ec1c15ec --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectojoule.test.json b/test/bipm/si/2019/derived/prefixed/quectojoule.test.json new file mode 100644 index 00000000..412660fb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectokatal.test.json b/test/bipm/si/2019/derived/prefixed/quectokatal.test.json new file mode 100644 index 00000000..5d2a8bad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectolumen.test.json b/test/bipm/si/2019/derived/prefixed/quectolumen.test.json new file mode 100644 index 00000000..be9427b1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectolux.test.json b/test/bipm/si/2019/derived/prefixed/quectolux.test.json new file mode 100644 index 00000000..ea618910 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectonewton.test.json b/test/bipm/si/2019/derived/prefixed/quectonewton.test.json new file mode 100644 index 00000000..58a74719 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectoohm.test.json b/test/bipm/si/2019/derived/prefixed/quectoohm.test.json new file mode 100644 index 00000000..9b448b79 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectopascal.test.json b/test/bipm/si/2019/derived/prefixed/quectopascal.test.json new file mode 100644 index 00000000..0ff1862f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectoradian.test.json b/test/bipm/si/2019/derived/prefixed/quectoradian.test.json new file mode 100644 index 00000000..e7a973a4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectosiemens.test.json b/test/bipm/si/2019/derived/prefixed/quectosiemens.test.json new file mode 100644 index 00000000..1ccce6ef --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectosievert.test.json b/test/bipm/si/2019/derived/prefixed/quectosievert.test.json new file mode 100644 index 00000000..e6148d4f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectosteradian.test.json b/test/bipm/si/2019/derived/prefixed/quectosteradian.test.json new file mode 100644 index 00000000..1535fd04 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectotesla.test.json b/test/bipm/si/2019/derived/prefixed/quectotesla.test.json new file mode 100644 index 00000000..c9777aad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectovolt.test.json b/test/bipm/si/2019/derived/prefixed/quectovolt.test.json new file mode 100644 index 00000000..f71e9a52 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectowatt.test.json b/test/bipm/si/2019/derived/prefixed/quectowatt.test.json new file mode 100644 index 00000000..89d7bff9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quectoweber.test.json b/test/bipm/si/2019/derived/prefixed/quectoweber.test.json new file mode 100644 index 00000000..476ec5e6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quectoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quectoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/quettabecquerel.test.json new file mode 100644 index 00000000..fb978566 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/quettacoulomb.test.json new file mode 100644 index 00000000..69b27879 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/quettadegree-celsius.test.json new file mode 100644 index 00000000..a0e91410 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettafarad.test.json b/test/bipm/si/2019/derived/prefixed/quettafarad.test.json new file mode 100644 index 00000000..5b3175c1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettagray.test.json b/test/bipm/si/2019/derived/prefixed/quettagray.test.json new file mode 100644 index 00000000..219dceb0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettahenry.test.json b/test/bipm/si/2019/derived/prefixed/quettahenry.test.json new file mode 100644 index 00000000..d26d858e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettahertz.test.json b/test/bipm/si/2019/derived/prefixed/quettahertz.test.json new file mode 100644 index 00000000..98ae6e4f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettajoule.test.json b/test/bipm/si/2019/derived/prefixed/quettajoule.test.json new file mode 100644 index 00000000..6b442ed6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettakatal.test.json b/test/bipm/si/2019/derived/prefixed/quettakatal.test.json new file mode 100644 index 00000000..c173e489 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettalumen.test.json b/test/bipm/si/2019/derived/prefixed/quettalumen.test.json new file mode 100644 index 00000000..d57b1654 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettalux.test.json b/test/bipm/si/2019/derived/prefixed/quettalux.test.json new file mode 100644 index 00000000..77846029 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettanewton.test.json b/test/bipm/si/2019/derived/prefixed/quettanewton.test.json new file mode 100644 index 00000000..71a3f63f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettaohm.test.json b/test/bipm/si/2019/derived/prefixed/quettaohm.test.json new file mode 100644 index 00000000..e8992516 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettapascal.test.json b/test/bipm/si/2019/derived/prefixed/quettapascal.test.json new file mode 100644 index 00000000..85fd5f72 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettaradian.test.json b/test/bipm/si/2019/derived/prefixed/quettaradian.test.json new file mode 100644 index 00000000..22c53a1d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettasiemens.test.json b/test/bipm/si/2019/derived/prefixed/quettasiemens.test.json new file mode 100644 index 00000000..c987a091 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettasievert.test.json b/test/bipm/si/2019/derived/prefixed/quettasievert.test.json new file mode 100644 index 00000000..f71704a4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettasteradian.test.json b/test/bipm/si/2019/derived/prefixed/quettasteradian.test.json new file mode 100644 index 00000000..69d49f37 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettatesla.test.json b/test/bipm/si/2019/derived/prefixed/quettatesla.test.json new file mode 100644 index 00000000..196af08a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettavolt.test.json b/test/bipm/si/2019/derived/prefixed/quettavolt.test.json new file mode 100644 index 00000000..37e24429 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettawatt.test.json b/test/bipm/si/2019/derived/prefixed/quettawatt.test.json new file mode 100644 index 00000000..5202dc9d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/quettaweber.test.json b/test/bipm/si/2019/derived/prefixed/quettaweber.test.json new file mode 100644 index 00000000..aa089728 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/quettaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/quettaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/ronnabecquerel.test.json new file mode 100644 index 00000000..bc41210b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/ronnacoulomb.test.json new file mode 100644 index 00000000..3a4aeb0f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/ronnadegree-celsius.test.json new file mode 100644 index 00000000..9fbc68eb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnafarad.test.json b/test/bipm/si/2019/derived/prefixed/ronnafarad.test.json new file mode 100644 index 00000000..6ed75985 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnagray.test.json b/test/bipm/si/2019/derived/prefixed/ronnagray.test.json new file mode 100644 index 00000000..8770cfae --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnahenry.test.json b/test/bipm/si/2019/derived/prefixed/ronnahenry.test.json new file mode 100644 index 00000000..3e623b5b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnahertz.test.json b/test/bipm/si/2019/derived/prefixed/ronnahertz.test.json new file mode 100644 index 00000000..09240efa --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnajoule.test.json b/test/bipm/si/2019/derived/prefixed/ronnajoule.test.json new file mode 100644 index 00000000..cf25fb83 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnakatal.test.json b/test/bipm/si/2019/derived/prefixed/ronnakatal.test.json new file mode 100644 index 00000000..05ec31a9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnalumen.test.json b/test/bipm/si/2019/derived/prefixed/ronnalumen.test.json new file mode 100644 index 00000000..3a004b3b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnalux.test.json b/test/bipm/si/2019/derived/prefixed/ronnalux.test.json new file mode 100644 index 00000000..ff5ab322 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnanewton.test.json b/test/bipm/si/2019/derived/prefixed/ronnanewton.test.json new file mode 100644 index 00000000..35230e9b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnaohm.test.json b/test/bipm/si/2019/derived/prefixed/ronnaohm.test.json new file mode 100644 index 00000000..5d660e15 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnapascal.test.json b/test/bipm/si/2019/derived/prefixed/ronnapascal.test.json new file mode 100644 index 00000000..d0361fc0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnaradian.test.json b/test/bipm/si/2019/derived/prefixed/ronnaradian.test.json new file mode 100644 index 00000000..aefa4666 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnasiemens.test.json b/test/bipm/si/2019/derived/prefixed/ronnasiemens.test.json new file mode 100644 index 00000000..4e71649d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnasievert.test.json b/test/bipm/si/2019/derived/prefixed/ronnasievert.test.json new file mode 100644 index 00000000..933d8b91 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnasteradian.test.json b/test/bipm/si/2019/derived/prefixed/ronnasteradian.test.json new file mode 100644 index 00000000..305b0513 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnatesla.test.json b/test/bipm/si/2019/derived/prefixed/ronnatesla.test.json new file mode 100644 index 00000000..dab3afa6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnavolt.test.json b/test/bipm/si/2019/derived/prefixed/ronnavolt.test.json new file mode 100644 index 00000000..d8f4732a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnawatt.test.json b/test/bipm/si/2019/derived/prefixed/ronnawatt.test.json new file mode 100644 index 00000000..f12b5f54 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/ronnaweber.test.json b/test/bipm/si/2019/derived/prefixed/ronnaweber.test.json new file mode 100644 index 00000000..80cfcbad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/ronnaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/ronnaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/rontobecquerel.test.json new file mode 100644 index 00000000..7d54f7b4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/rontocoulomb.test.json new file mode 100644 index 00000000..608ab8c2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/rontodegree-celsius.test.json new file mode 100644 index 00000000..17ffa7e9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontofarad.test.json b/test/bipm/si/2019/derived/prefixed/rontofarad.test.json new file mode 100644 index 00000000..e12d2699 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontogray.test.json b/test/bipm/si/2019/derived/prefixed/rontogray.test.json new file mode 100644 index 00000000..17b847f0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontohenry.test.json b/test/bipm/si/2019/derived/prefixed/rontohenry.test.json new file mode 100644 index 00000000..d87bdda4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontohertz.test.json b/test/bipm/si/2019/derived/prefixed/rontohertz.test.json new file mode 100644 index 00000000..429b05ce --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontojoule.test.json b/test/bipm/si/2019/derived/prefixed/rontojoule.test.json new file mode 100644 index 00000000..14bd7290 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontokatal.test.json b/test/bipm/si/2019/derived/prefixed/rontokatal.test.json new file mode 100644 index 00000000..8ac94c08 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontolumen.test.json b/test/bipm/si/2019/derived/prefixed/rontolumen.test.json new file mode 100644 index 00000000..ade13b16 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontolux.test.json b/test/bipm/si/2019/derived/prefixed/rontolux.test.json new file mode 100644 index 00000000..7bdeb2fa --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontonewton.test.json b/test/bipm/si/2019/derived/prefixed/rontonewton.test.json new file mode 100644 index 00000000..75c40d71 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontoohm.test.json b/test/bipm/si/2019/derived/prefixed/rontoohm.test.json new file mode 100644 index 00000000..aa5526c9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontopascal.test.json b/test/bipm/si/2019/derived/prefixed/rontopascal.test.json new file mode 100644 index 00000000..5ff5f3bd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontoradian.test.json b/test/bipm/si/2019/derived/prefixed/rontoradian.test.json new file mode 100644 index 00000000..bfa25e1a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontosiemens.test.json b/test/bipm/si/2019/derived/prefixed/rontosiemens.test.json new file mode 100644 index 00000000..8bcc4250 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontosievert.test.json b/test/bipm/si/2019/derived/prefixed/rontosievert.test.json new file mode 100644 index 00000000..f2f470c9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontosteradian.test.json b/test/bipm/si/2019/derived/prefixed/rontosteradian.test.json new file mode 100644 index 00000000..4a935bb1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontotesla.test.json b/test/bipm/si/2019/derived/prefixed/rontotesla.test.json new file mode 100644 index 00000000..47aec8d6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontovolt.test.json b/test/bipm/si/2019/derived/prefixed/rontovolt.test.json new file mode 100644 index 00000000..e7f1d8ab --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontowatt.test.json b/test/bipm/si/2019/derived/prefixed/rontowatt.test.json new file mode 100644 index 00000000..a620c2f2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/rontoweber.test.json b/test/bipm/si/2019/derived/prefixed/rontoweber.test.json new file mode 100644 index 00000000..ebf9b3b2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/rontoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/rontoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/terabecquerel.test.json new file mode 100644 index 00000000..3f8fa0b1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teracoulomb.test.json b/test/bipm/si/2019/derived/prefixed/teracoulomb.test.json new file mode 100644 index 00000000..91942227 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teracoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teracoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teradegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/teradegree-celsius.test.json new file mode 100644 index 00000000..433187ab --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teradegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teradegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terafarad.test.json b/test/bipm/si/2019/derived/prefixed/terafarad.test.json new file mode 100644 index 00000000..45600054 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teragray.test.json b/test/bipm/si/2019/derived/prefixed/teragray.test.json new file mode 100644 index 00000000..fefb3785 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teragray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teragray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terahenry.test.json b/test/bipm/si/2019/derived/prefixed/terahenry.test.json new file mode 100644 index 00000000..9212aa30 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terahertz.test.json b/test/bipm/si/2019/derived/prefixed/terahertz.test.json new file mode 100644 index 00000000..e68ef043 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terajoule.test.json b/test/bipm/si/2019/derived/prefixed/terajoule.test.json new file mode 100644 index 00000000..5d50b736 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terakatal.test.json b/test/bipm/si/2019/derived/prefixed/terakatal.test.json new file mode 100644 index 00000000..0199bc75 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teralumen.test.json b/test/bipm/si/2019/derived/prefixed/teralumen.test.json new file mode 100644 index 00000000..6bc35ebc --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teralumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teralumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teralux.test.json b/test/bipm/si/2019/derived/prefixed/teralux.test.json new file mode 100644 index 00000000..5be03afa --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teralux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teralux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teranewton.test.json b/test/bipm/si/2019/derived/prefixed/teranewton.test.json new file mode 100644 index 00000000..188abc7b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teranewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teranewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teraohm.test.json b/test/bipm/si/2019/derived/prefixed/teraohm.test.json new file mode 100644 index 00000000..f1966808 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teraohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teraohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terapascal.test.json b/test/bipm/si/2019/derived/prefixed/terapascal.test.json new file mode 100644 index 00000000..d8682743 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teraradian.test.json b/test/bipm/si/2019/derived/prefixed/teraradian.test.json new file mode 100644 index 00000000..e955a6ce --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teraradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teraradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terasiemens.test.json b/test/bipm/si/2019/derived/prefixed/terasiemens.test.json new file mode 100644 index 00000000..7b086028 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terasievert.test.json b/test/bipm/si/2019/derived/prefixed/terasievert.test.json new file mode 100644 index 00000000..1b4b3794 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terasteradian.test.json b/test/bipm/si/2019/derived/prefixed/terasteradian.test.json new file mode 100644 index 00000000..97811372 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teratesla.test.json b/test/bipm/si/2019/derived/prefixed/teratesla.test.json new file mode 100644 index 00000000..cfe641a3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teratesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teratesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teravolt.test.json b/test/bipm/si/2019/derived/prefixed/teravolt.test.json new file mode 100644 index 00000000..b0b082b0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teravolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teravolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/terawatt.test.json b/test/bipm/si/2019/derived/prefixed/terawatt.test.json new file mode 100644 index 00000000..1a29ea21 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/terawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/terawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/teraweber.test.json b/test/bipm/si/2019/derived/prefixed/teraweber.test.json new file mode 100644 index 00000000..1a850b64 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/teraweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/teraweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/yoctobecquerel.test.json new file mode 100644 index 00000000..62a0c85e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/yoctocoulomb.test.json new file mode 100644 index 00000000..e165f007 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/yoctodegree-celsius.test.json new file mode 100644 index 00000000..ee337c8f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctofarad.test.json b/test/bipm/si/2019/derived/prefixed/yoctofarad.test.json new file mode 100644 index 00000000..a23a588a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctogray.test.json b/test/bipm/si/2019/derived/prefixed/yoctogray.test.json new file mode 100644 index 00000000..8e80b930 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctohenry.test.json b/test/bipm/si/2019/derived/prefixed/yoctohenry.test.json new file mode 100644 index 00000000..90acbbf4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctohertz.test.json b/test/bipm/si/2019/derived/prefixed/yoctohertz.test.json new file mode 100644 index 00000000..51860eae --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctojoule.test.json b/test/bipm/si/2019/derived/prefixed/yoctojoule.test.json new file mode 100644 index 00000000..368a2fbb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctokatal.test.json b/test/bipm/si/2019/derived/prefixed/yoctokatal.test.json new file mode 100644 index 00000000..27716d90 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctolumen.test.json b/test/bipm/si/2019/derived/prefixed/yoctolumen.test.json new file mode 100644 index 00000000..5051f47f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctolux.test.json b/test/bipm/si/2019/derived/prefixed/yoctolux.test.json new file mode 100644 index 00000000..f06d4195 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctonewton.test.json b/test/bipm/si/2019/derived/prefixed/yoctonewton.test.json new file mode 100644 index 00000000..0f18fc69 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctoohm.test.json b/test/bipm/si/2019/derived/prefixed/yoctoohm.test.json new file mode 100644 index 00000000..9e5ca948 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctopascal.test.json b/test/bipm/si/2019/derived/prefixed/yoctopascal.test.json new file mode 100644 index 00000000..2c42c36c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctoradian.test.json b/test/bipm/si/2019/derived/prefixed/yoctoradian.test.json new file mode 100644 index 00000000..2fd3b705 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctosiemens.test.json b/test/bipm/si/2019/derived/prefixed/yoctosiemens.test.json new file mode 100644 index 00000000..31b67a7b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctosievert.test.json b/test/bipm/si/2019/derived/prefixed/yoctosievert.test.json new file mode 100644 index 00000000..2bd6b435 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctosteradian.test.json b/test/bipm/si/2019/derived/prefixed/yoctosteradian.test.json new file mode 100644 index 00000000..3e4bbbd8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctotesla.test.json b/test/bipm/si/2019/derived/prefixed/yoctotesla.test.json new file mode 100644 index 00000000..5d03593b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctovolt.test.json b/test/bipm/si/2019/derived/prefixed/yoctovolt.test.json new file mode 100644 index 00000000..1e624687 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctowatt.test.json b/test/bipm/si/2019/derived/prefixed/yoctowatt.test.json new file mode 100644 index 00000000..4fd93498 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yoctoweber.test.json b/test/bipm/si/2019/derived/prefixed/yoctoweber.test.json new file mode 100644 index 00000000..89e006ad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yoctoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yoctoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/yottabecquerel.test.json new file mode 100644 index 00000000..823819bb --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/yottacoulomb.test.json new file mode 100644 index 00000000..7d898345 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/yottadegree-celsius.test.json new file mode 100644 index 00000000..eec93b90 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottafarad.test.json b/test/bipm/si/2019/derived/prefixed/yottafarad.test.json new file mode 100644 index 00000000..b440cbad --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottagray.test.json b/test/bipm/si/2019/derived/prefixed/yottagray.test.json new file mode 100644 index 00000000..673382e0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottahenry.test.json b/test/bipm/si/2019/derived/prefixed/yottahenry.test.json new file mode 100644 index 00000000..19b149a2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottahertz.test.json b/test/bipm/si/2019/derived/prefixed/yottahertz.test.json new file mode 100644 index 00000000..d2420dab --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottajoule.test.json b/test/bipm/si/2019/derived/prefixed/yottajoule.test.json new file mode 100644 index 00000000..bfdd95c9 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottakatal.test.json b/test/bipm/si/2019/derived/prefixed/yottakatal.test.json new file mode 100644 index 00000000..988e5d12 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottalumen.test.json b/test/bipm/si/2019/derived/prefixed/yottalumen.test.json new file mode 100644 index 00000000..8bef5410 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottalux.test.json b/test/bipm/si/2019/derived/prefixed/yottalux.test.json new file mode 100644 index 00000000..8bb6aa57 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottanewton.test.json b/test/bipm/si/2019/derived/prefixed/yottanewton.test.json new file mode 100644 index 00000000..c4f04b07 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottaohm.test.json b/test/bipm/si/2019/derived/prefixed/yottaohm.test.json new file mode 100644 index 00000000..42b23b70 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottapascal.test.json b/test/bipm/si/2019/derived/prefixed/yottapascal.test.json new file mode 100644 index 00000000..36c49b3d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottaradian.test.json b/test/bipm/si/2019/derived/prefixed/yottaradian.test.json new file mode 100644 index 00000000..6b9c6f3d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottasiemens.test.json b/test/bipm/si/2019/derived/prefixed/yottasiemens.test.json new file mode 100644 index 00000000..33d0f197 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottasievert.test.json b/test/bipm/si/2019/derived/prefixed/yottasievert.test.json new file mode 100644 index 00000000..9206d008 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottasteradian.test.json b/test/bipm/si/2019/derived/prefixed/yottasteradian.test.json new file mode 100644 index 00000000..ed27730d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottatesla.test.json b/test/bipm/si/2019/derived/prefixed/yottatesla.test.json new file mode 100644 index 00000000..60d58bf3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottavolt.test.json b/test/bipm/si/2019/derived/prefixed/yottavolt.test.json new file mode 100644 index 00000000..48c13ecf --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottawatt.test.json b/test/bipm/si/2019/derived/prefixed/yottawatt.test.json new file mode 100644 index 00000000..201ada00 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/yottaweber.test.json b/test/bipm/si/2019/derived/prefixed/yottaweber.test.json new file mode 100644 index 00000000..c5601be5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/yottaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/yottaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptobecquerel.test.json b/test/bipm/si/2019/derived/prefixed/zeptobecquerel.test.json new file mode 100644 index 00000000..f5c8698f --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptobecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptobecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptocoulomb.test.json b/test/bipm/si/2019/derived/prefixed/zeptocoulomb.test.json new file mode 100644 index 00000000..a225fd2e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptocoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptocoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptodegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/zeptodegree-celsius.test.json new file mode 100644 index 00000000..634dc40e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptodegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptodegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptofarad.test.json b/test/bipm/si/2019/derived/prefixed/zeptofarad.test.json new file mode 100644 index 00000000..6793598a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptofarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptofarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptogray.test.json b/test/bipm/si/2019/derived/prefixed/zeptogray.test.json new file mode 100644 index 00000000..bc4299a2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptogray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptogray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptohenry.test.json b/test/bipm/si/2019/derived/prefixed/zeptohenry.test.json new file mode 100644 index 00000000..e738cacd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptohenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptohenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptohertz.test.json b/test/bipm/si/2019/derived/prefixed/zeptohertz.test.json new file mode 100644 index 00000000..5498f7d1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptohertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptohertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptojoule.test.json b/test/bipm/si/2019/derived/prefixed/zeptojoule.test.json new file mode 100644 index 00000000..f31e5dc7 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptojoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptojoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptokatal.test.json b/test/bipm/si/2019/derived/prefixed/zeptokatal.test.json new file mode 100644 index 00000000..20a5dec4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptokatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptokatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptolumen.test.json b/test/bipm/si/2019/derived/prefixed/zeptolumen.test.json new file mode 100644 index 00000000..71e633ce --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptolumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptolumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptolux.test.json b/test/bipm/si/2019/derived/prefixed/zeptolux.test.json new file mode 100644 index 00000000..bf56ee86 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptolux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptolux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptonewton.test.json b/test/bipm/si/2019/derived/prefixed/zeptonewton.test.json new file mode 100644 index 00000000..54d75660 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptonewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptonewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptoohm.test.json b/test/bipm/si/2019/derived/prefixed/zeptoohm.test.json new file mode 100644 index 00000000..fda5eee1 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptoohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptoohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptopascal.test.json b/test/bipm/si/2019/derived/prefixed/zeptopascal.test.json new file mode 100644 index 00000000..64513c20 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptopascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptopascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptoradian.test.json b/test/bipm/si/2019/derived/prefixed/zeptoradian.test.json new file mode 100644 index 00000000..3471820c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptoradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptoradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptosiemens.test.json b/test/bipm/si/2019/derived/prefixed/zeptosiemens.test.json new file mode 100644 index 00000000..0c80a91b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptosiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptosiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptosievert.test.json b/test/bipm/si/2019/derived/prefixed/zeptosievert.test.json new file mode 100644 index 00000000..fdf48a6d --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptosievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptosievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptosteradian.test.json b/test/bipm/si/2019/derived/prefixed/zeptosteradian.test.json new file mode 100644 index 00000000..9106b00b --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptosteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptosteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptotesla.test.json b/test/bipm/si/2019/derived/prefixed/zeptotesla.test.json new file mode 100644 index 00000000..767e30e5 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptotesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptotesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptovolt.test.json b/test/bipm/si/2019/derived/prefixed/zeptovolt.test.json new file mode 100644 index 00000000..148e462a --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptovolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptovolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptowatt.test.json b/test/bipm/si/2019/derived/prefixed/zeptowatt.test.json new file mode 100644 index 00000000..69a4aa1c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptowatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptowatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zeptoweber.test.json b/test/bipm/si/2019/derived/prefixed/zeptoweber.test.json new file mode 100644 index 00000000..9ed1dbc6 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zeptoweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zeptoweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettabecquerel.test.json b/test/bipm/si/2019/derived/prefixed/zettabecquerel.test.json new file mode 100644 index 00000000..8d222b48 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettabecquerel.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettabecquerel.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettacoulomb.test.json b/test/bipm/si/2019/derived/prefixed/zettacoulomb.test.json new file mode 100644 index 00000000..841059b4 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettacoulomb.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettacoulomb.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettadegree-celsius.test.json b/test/bipm/si/2019/derived/prefixed/zettadegree-celsius.test.json new file mode 100644 index 00000000..77b2de85 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettadegree-celsius.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettadegree-celsius.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettafarad.test.json b/test/bipm/si/2019/derived/prefixed/zettafarad.test.json new file mode 100644 index 00000000..adcb1f30 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettafarad.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettafarad.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettagray.test.json b/test/bipm/si/2019/derived/prefixed/zettagray.test.json new file mode 100644 index 00000000..183dced3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettagray.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettagray.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettahenry.test.json b/test/bipm/si/2019/derived/prefixed/zettahenry.test.json new file mode 100644 index 00000000..aefeb049 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettahenry.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettahenry.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettahertz.test.json b/test/bipm/si/2019/derived/prefixed/zettahertz.test.json new file mode 100644 index 00000000..ff887790 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettahertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettahertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettajoule.test.json b/test/bipm/si/2019/derived/prefixed/zettajoule.test.json new file mode 100644 index 00000000..92621e32 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettajoule.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettajoule.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettakatal.test.json b/test/bipm/si/2019/derived/prefixed/zettakatal.test.json new file mode 100644 index 00000000..318f40a2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettakatal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettakatal.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettalumen.test.json b/test/bipm/si/2019/derived/prefixed/zettalumen.test.json new file mode 100644 index 00000000..46b9af09 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettalumen.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettalumen.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettalux.test.json b/test/bipm/si/2019/derived/prefixed/zettalux.test.json new file mode 100644 index 00000000..073cf521 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettalux.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettalux.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettanewton.test.json b/test/bipm/si/2019/derived/prefixed/zettanewton.test.json new file mode 100644 index 00000000..74b83fc2 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettanewton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettanewton.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettaohm.test.json b/test/bipm/si/2019/derived/prefixed/zettaohm.test.json new file mode 100644 index 00000000..9489cb18 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettaohm.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettaohm.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettapascal.test.json b/test/bipm/si/2019/derived/prefixed/zettapascal.test.json new file mode 100644 index 00000000..a56400d3 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettapascal.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettapascal.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettaradian.test.json b/test/bipm/si/2019/derived/prefixed/zettaradian.test.json new file mode 100644 index 00000000..e02392b0 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettaradian.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettaradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettasiemens.test.json b/test/bipm/si/2019/derived/prefixed/zettasiemens.test.json new file mode 100644 index 00000000..80f09c10 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettasiemens.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettasiemens.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - unit value", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - thousand", + "data": 1000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettasievert.test.json b/test/bipm/si/2019/derived/prefixed/zettasievert.test.json new file mode 100644 index 00000000..591e442c --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettasievert.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettasievert.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettasteradian.test.json b/test/bipm/si/2019/derived/prefixed/zettasteradian.test.json new file mode 100644 index 00000000..0a2b848e --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettasteradian.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettasteradian.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettatesla.test.json b/test/bipm/si/2019/derived/prefixed/zettatesla.test.json new file mode 100644 index 00000000..068e8e27 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettatesla.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettatesla.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettavolt.test.json b/test/bipm/si/2019/derived/prefixed/zettavolt.test.json new file mode 100644 index 00000000..31fd8bc8 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettavolt.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettavolt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettawatt.test.json b/test/bipm/si/2019/derived/prefixed/zettawatt.test.json new file mode 100644 index 00000000..027c05dd --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettawatt.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettawatt.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - large value", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/prefixed/zettaweber.test.json b/test/bipm/si/2019/derived/prefixed/zettaweber.test.json new file mode 100644 index 00000000..52ad0406 --- /dev/null +++ b/test/bipm/si/2019/derived/prefixed/zettaweber.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/prefixed/zettaweber.json", + "tests": [ + { + "description": "Valid - zero", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive", + "data": 1, + "valid": true + }, + { + "description": "Valid - hundred", + "data": 100, + "valid": true + }, + { + "description": "Valid - negative", + "data": -50, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 0.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "100", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/absorbed-dose.test.json b/test/bipm/si/2019/derived/quantity/absorbed-dose.test.json new file mode 100644 index 00000000..b7a3767c --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/absorbed-dose.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/absorbed-dose.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.test.json b/test/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.test.json new file mode 100644 index 00000000..106e3ed9 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/activity-referred-to-radionuclide.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/amount-of-heat.test.json b/test/bipm/si/2019/derived/quantity/amount-of-heat.test.json new file mode 100644 index 00000000..5cbf75b8 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/amount-of-heat.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/amount-of-heat.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/capacitance.test.json b/test/bipm/si/2019/derived/quantity/capacitance.test.json new file mode 100644 index 00000000..51fdd928 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/capacitance.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/capacitance.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/catalytic-activity.test.json b/test/bipm/si/2019/derived/quantity/catalytic-activity.test.json new file mode 100644 index 00000000..097ee6c0 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/catalytic-activity.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/catalytic-activity.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/celsius-temperature.test.json b/test/bipm/si/2019/derived/quantity/celsius-temperature.test.json new file mode 100644 index 00000000..4959a475 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/celsius-temperature.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/celsius-temperature.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/dose-equivalent.test.json b/test/bipm/si/2019/derived/quantity/dose-equivalent.test.json new file mode 100644 index 00000000..b71aa883 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/dose-equivalent.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/dose-equivalent.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/electric-charge.test.json b/test/bipm/si/2019/derived/quantity/electric-charge.test.json new file mode 100644 index 00000000..26c123c1 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/electric-charge.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/electric-charge.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/electric-conductance.test.json b/test/bipm/si/2019/derived/quantity/electric-conductance.test.json new file mode 100644 index 00000000..3d98a734 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/electric-conductance.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/electric-conductance.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/electric-potential-difference.test.json b/test/bipm/si/2019/derived/quantity/electric-potential-difference.test.json new file mode 100644 index 00000000..c13a5d37 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/electric-potential-difference.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/electric-potential-difference.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/electric-resistance.test.json b/test/bipm/si/2019/derived/quantity/electric-resistance.test.json new file mode 100644 index 00000000..df8b7398 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/electric-resistance.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/electric-resistance.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/energy.test.json b/test/bipm/si/2019/derived/quantity/energy.test.json new file mode 100644 index 00000000..c905f405 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/energy.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/energy.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/force.test.json b/test/bipm/si/2019/derived/quantity/force.test.json new file mode 100644 index 00000000..f635127e --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/force.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/force.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/frequency.test.json b/test/bipm/si/2019/derived/quantity/frequency.test.json new file mode 100644 index 00000000..5fa711bc --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/frequency.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/frequency.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/illuminance.test.json b/test/bipm/si/2019/derived/quantity/illuminance.test.json new file mode 100644 index 00000000..92fa8985 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/illuminance.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/illuminance.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/inductance.test.json b/test/bipm/si/2019/derived/quantity/inductance.test.json new file mode 100644 index 00000000..01754b46 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/inductance.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/inductance.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/kerma.test.json b/test/bipm/si/2019/derived/quantity/kerma.test.json new file mode 100644 index 00000000..ef8c7bf5 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/kerma.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/kerma.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/luminous-flux.test.json b/test/bipm/si/2019/derived/quantity/luminous-flux.test.json new file mode 100644 index 00000000..24f11745 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/luminous-flux.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/luminous-flux.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/magnetic-flux-density.test.json b/test/bipm/si/2019/derived/quantity/magnetic-flux-density.test.json new file mode 100644 index 00000000..3f60915e --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/magnetic-flux-density.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/magnetic-flux-density.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/magnetic-flux.test.json b/test/bipm/si/2019/derived/quantity/magnetic-flux.test.json new file mode 100644 index 00000000..29c2755a --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/magnetic-flux.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/magnetic-flux.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/plane-angle.test.json b/test/bipm/si/2019/derived/quantity/plane-angle.test.json new file mode 100644 index 00000000..458de630 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/plane-angle.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/plane-angle.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/power.test.json b/test/bipm/si/2019/derived/quantity/power.test.json new file mode 100644 index 00000000..9a17f1c9 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/power.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/power.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/pressure.test.json b/test/bipm/si/2019/derived/quantity/pressure.test.json new file mode 100644 index 00000000..4e3c4abe --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/pressure.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/pressure.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/radiant-flux.test.json b/test/bipm/si/2019/derived/quantity/radiant-flux.test.json new file mode 100644 index 00000000..243a23cf --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/radiant-flux.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/radiant-flux.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/solid-angle.test.json b/test/bipm/si/2019/derived/quantity/solid-angle.test.json new file mode 100644 index 00000000..cc55f531 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/solid-angle.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/solid-angle.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/stress.test.json b/test/bipm/si/2019/derived/quantity/stress.test.json new file mode 100644 index 00000000..8dd04cb4 --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/stress.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/stress.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/quantity/work.test.json b/test/bipm/si/2019/derived/quantity/work.test.json new file mode 100644 index 00000000..b273f9ee --- /dev/null +++ b/test/bipm/si/2019/derived/quantity/work.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/quantity/work.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/symbol.test.json b/test/bipm/si/2019/derived/symbol.test.json new file mode 100644 index 00000000..387c835d --- /dev/null +++ b/test/bipm/si/2019/derived/symbol.test.json @@ -0,0 +1,166 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../schemas/bipm/si/2019/derived/symbol.json", + "tests": [ + { + "description": "Valid - hertz", + "data": "Hz", + "valid": true + }, + { + "description": "Valid - newton", + "data": "N", + "valid": true + }, + { + "description": "Valid - pascal", + "data": "Pa", + "valid": true + }, + { + "description": "Valid - joule", + "data": "J", + "valid": true + }, + { + "description": "Valid - watt", + "data": "W", + "valid": true + }, + { + "description": "Valid - ohm", + "data": "Ω", + "valid": true + }, + { + "description": "Valid - degree Celsius", + "data": "°C", + "valid": true + }, + { + "description": "Valid - katal", + "data": "kat", + "valid": true + }, + { + "description": "Valid - millihertz", + "data": "mHz", + "valid": true + }, + { + "description": "Valid - kilonewton", + "data": "kN", + "valid": true + }, + { + "description": "Valid - megapascal", + "data": "MPa", + "valid": true + }, + { + "description": "Valid - kilojoule", + "data": "kJ", + "valid": true + }, + { + "description": "Valid - milliwatt", + "data": "mW", + "valid": true + }, + { + "description": "Valid - microvolt", + "data": "µV", + "valid": true + }, + { + "description": "Valid - picofarad", + "data": "pF", + "valid": true + }, + { + "description": "Valid - microohm", + "data": "µΩ", + "valid": true + }, + { + "description": "Valid - nanotesla", + "data": "nT", + "valid": true + }, + { + "description": "Valid - microhenry", + "data": "µH", + "valid": true + }, + { + "description": "Valid - microdegree celsius", + "data": "µ°C", + "valid": true + }, + { + "description": "Valid - gigabecquerel", + "data": "GBq", + "valid": true + }, + { + "description": "Valid - milligray", + "data": "mGy", + "valid": true + }, + { + "description": "Valid - millisievert", + "data": "mSv", + "valid": true + }, + { + "description": "Valid - nanokatal", + "data": "nkat", + "valid": true + }, + { + "description": "Valid - quettahertz", + "data": "QHz", + "valid": true + }, + { + "description": "Valid - quectojoule", + "data": "qJ", + "valid": true + }, + { + "description": "Invalid - base unit symbol", + "data": "m", + "valid": false + }, + { + "description": "Invalid - unknown symbol", + "data": "XYZ", + "valid": false + }, + { + "description": "Invalid type - number", + "data": 1, + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/becquerel.test.json b/test/bipm/si/2019/derived/unit/becquerel.test.json new file mode 100644 index 00000000..1945966f --- /dev/null +++ b/test/bipm/si/2019/derived/unit/becquerel.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/becquerel.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/coulomb.test.json b/test/bipm/si/2019/derived/unit/coulomb.test.json new file mode 100644 index 00000000..7e6ec76d --- /dev/null +++ b/test/bipm/si/2019/derived/unit/coulomb.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/coulomb.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/degree-celsius.test.json b/test/bipm/si/2019/derived/unit/degree-celsius.test.json new file mode 100644 index 00000000..f48be76e --- /dev/null +++ b/test/bipm/si/2019/derived/unit/degree-celsius.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/degree-celsius.json", + "tests": [ + { + "description": "Valid - absolute zero in Celsius", + "data": -273.15, + "valid": true + }, + { + "description": "Valid - water freezing point", + "data": 0, + "valid": true + }, + { + "description": "Valid - room temperature", + "data": 20, + "valid": true + }, + { + "description": "Valid - water boiling point", + "data": 100, + "valid": true + }, + { + "description": "Valid - high temperature", + "data": 500, + "valid": true + }, + { + "description": "Invalid - below absolute zero", + "data": -274, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "20", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/farad.test.json b/test/bipm/si/2019/derived/unit/farad.test.json new file mode 100644 index 00000000..fcb355d4 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/farad.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/farad.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/gray.test.json b/test/bipm/si/2019/derived/unit/gray.test.json new file mode 100644 index 00000000..3796b0ef --- /dev/null +++ b/test/bipm/si/2019/derived/unit/gray.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/gray.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/henry.test.json b/test/bipm/si/2019/derived/unit/henry.test.json new file mode 100644 index 00000000..f61a5731 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/henry.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/henry.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/hertz.test.json b/test/bipm/si/2019/derived/unit/hertz.test.json new file mode 100644 index 00000000..69226200 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/hertz.test.json @@ -0,0 +1,61 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/hertz.json", + "tests": [ + { + "description": "Valid - small positive", + "data": 0.001, + "valid": true + }, + { + "description": "Valid - power line frequency", + "data": 50, + "valid": true + }, + { + "description": "Valid - typical frequency", + "data": 1000, + "valid": true + }, + { + "description": "Valid - radio frequency", + "data": 2400000000, + "valid": true + }, + { + "description": "Invalid - zero", + "data": 0, + "valid": false + }, + { + "description": "Invalid - negative", + "data": -50, + "valid": false + }, + { + "description": "Invalid type - string", + "data": "50", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/joule.test.json b/test/bipm/si/2019/derived/unit/joule.test.json new file mode 100644 index 00000000..00c98ad6 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/joule.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/joule.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/katal.test.json b/test/bipm/si/2019/derived/unit/katal.test.json new file mode 100644 index 00000000..11ebf08a --- /dev/null +++ b/test/bipm/si/2019/derived/unit/katal.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/katal.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/lumen.test.json b/test/bipm/si/2019/derived/unit/lumen.test.json new file mode 100644 index 00000000..b324264a --- /dev/null +++ b/test/bipm/si/2019/derived/unit/lumen.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/lumen.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/lux.test.json b/test/bipm/si/2019/derived/unit/lux.test.json new file mode 100644 index 00000000..9eb1a9bd --- /dev/null +++ b/test/bipm/si/2019/derived/unit/lux.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/lux.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/newton.test.json b/test/bipm/si/2019/derived/unit/newton.test.json new file mode 100644 index 00000000..4d9e2991 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/newton.test.json @@ -0,0 +1,56 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/newton.json", + "tests": [ + { + "description": "Valid - zero force", + "data": 0, + "valid": true + }, + { + "description": "Valid - positive force", + "data": 9.8, + "valid": true + }, + { + "description": "Valid - negative force", + "data": -50, + "valid": true + }, + { + "description": "Valid - large force", + "data": 10000, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 1.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": false, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/ohm.test.json b/test/bipm/si/2019/derived/unit/ohm.test.json new file mode 100644 index 00000000..a75c7025 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/ohm.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/ohm.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/pascal.test.json b/test/bipm/si/2019/derived/unit/pascal.test.json new file mode 100644 index 00000000..64247a35 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/pascal.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/pascal.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/radian.test.json b/test/bipm/si/2019/derived/unit/radian.test.json new file mode 100644 index 00000000..b5279052 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/radian.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/radian.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/siemens.test.json b/test/bipm/si/2019/derived/unit/siemens.test.json new file mode 100644 index 00000000..82ed7a88 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/siemens.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/siemens.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/sievert.test.json b/test/bipm/si/2019/derived/unit/sievert.test.json new file mode 100644 index 00000000..64277fca --- /dev/null +++ b/test/bipm/si/2019/derived/unit/sievert.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/sievert.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/steradian.test.json b/test/bipm/si/2019/derived/unit/steradian.test.json new file mode 100644 index 00000000..952d5293 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/steradian.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/steradian.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/tesla.test.json b/test/bipm/si/2019/derived/unit/tesla.test.json new file mode 100644 index 00000000..52f24918 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/tesla.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/tesla.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/volt.test.json b/test/bipm/si/2019/derived/unit/volt.test.json new file mode 100644 index 00000000..e6544a65 --- /dev/null +++ b/test/bipm/si/2019/derived/unit/volt.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/volt.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/watt.test.json b/test/bipm/si/2019/derived/unit/watt.test.json new file mode 100644 index 00000000..0a80cb8a --- /dev/null +++ b/test/bipm/si/2019/derived/unit/watt.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/watt.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/derived/unit/weber.test.json b/test/bipm/si/2019/derived/unit/weber.test.json new file mode 100644 index 00000000..438e789d --- /dev/null +++ b/test/bipm/si/2019/derived/unit/weber.test.json @@ -0,0 +1,41 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../../../schemas/bipm/si/2019/derived/unit/weber.json", + "tests": [ + { + "description": "Valid - positive number", + "data": 10, + "valid": true + }, + { + "description": "Valid - decimal", + "data": 5.5, + "valid": true + }, + { + "description": "Invalid type - string", + "data": "10", + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/bipm/si/2019/symbol.test.json b/test/bipm/si/2019/symbol.test.json new file mode 100644 index 00000000..e1d800fe --- /dev/null +++ b/test/bipm/si/2019/symbol.test.json @@ -0,0 +1,71 @@ +{ + "x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE", + "target": "../../../../schemas/bipm/si/2019/symbol.json", + "tests": [ + { + "description": "Valid - base unit second", + "data": "s", + "valid": true + }, + { + "description": "Valid - base unit metre", + "data": "m", + "valid": true + }, + { + "description": "Valid - base unit kilogram", + "data": "kg", + "valid": true + }, + { + "description": "Valid - derived unit hertz", + "data": "Hz", + "valid": true + }, + { + "description": "Valid - derived unit newton", + "data": "N", + "valid": true + }, + { + "description": "Valid - derived unit ohm", + "data": "Ω", + "valid": true + }, + { + "description": "Valid - derived unit degree Celsius", + "data": "°C", + "valid": true + }, + { + "description": "Invalid - unknown symbol", + "data": "foo", + "valid": false + }, + { + "description": "Invalid type - number", + "data": 100, + "valid": false + }, + { + "description": "Invalid type - boolean", + "data": true, + "valid": false + }, + { + "description": "Invalid type - null", + "data": null, + "valid": false + }, + { + "description": "Invalid type - array", + "data": [], + "valid": false + }, + { + "description": "Invalid type - object", + "data": {}, + "valid": false + } + ] +} diff --git a/test/ieee/floating-point/2019/binary16.test.json b/test/ieee/floating-point/2019/binary16.test.json index 6e70658c..54c0519e 100644 --- a/test/ieee/floating-point/2019/binary16.test.json +++ b/test/ieee/floating-point/2019/binary16.test.json @@ -34,12 +34,12 @@ }, { "description": "Valid - small positive value", - "data": 6.10352e-05, + "data": 6.10352e-5, "valid": true }, { "description": "Valid - small negative value", - "data": -6.10352e-05, + "data": -6.10352e-5, "valid": true }, { diff --git a/test/iso/c/2024/uint64.test.json b/test/iso/c/2024/uint64.test.json index c62bead6..a2c4cfe5 100644 --- a/test/iso/c/2024/uint64.test.json +++ b/test/iso/c/2024/uint64.test.json @@ -14,12 +14,12 @@ }, { "description": "Valid - maximum value", - "data": 18446744073709551615, + "data": 1.8446744073709551615e+19, "valid": true }, { "description": "Valid - mid-range value", - "data": 9223372036854775808, + "data": 9.223372036854775808e+18, "valid": true }, { @@ -29,7 +29,7 @@ }, { "description": "Valid - large value", - "data": 10000000000000000000, + "data": 1.0000000000000000000e+19, "valid": true }, { @@ -39,12 +39,12 @@ }, { "description": "Invalid - above maximum", - "data": 18446744073709551616, + "data": 1.8446744073709551616e+19, "valid": false }, { "description": "Invalid - large above maximum", - "data": 20000000000000000000, + "data": 2.0000000000000000000e+19, "valid": false }, { diff --git a/test/w3c/xmlschema/2001/decimal.test.json b/test/w3c/xmlschema/2001/decimal.test.json index a92afff6..23dbadf9 100644 --- a/test/w3c/xmlschema/2001/decimal.test.json +++ b/test/w3c/xmlschema/2001/decimal.test.json @@ -74,7 +74,7 @@ }, { "description": "Valid - small decimal", - "data": 1e-06, + "data": 1e-6, "valid": true }, { @@ -89,17 +89,17 @@ }, { "description": "Valid - arbitrary precision 20 digits integer", - "data": 12345678901234567890, + "data": 1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision large negative", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/integer.test.json b/test/w3c/xmlschema/2001/integer.test.json index d40fbe4f..5077edaf 100644 --- a/test/w3c/xmlschema/2001/integer.test.json +++ b/test/w3c/xmlschema/2001/integer.test.json @@ -49,32 +49,32 @@ }, { "description": "Valid - arbitrary precision beyond int64", - "data": 12345678901234567890, + "data": 1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision large positive", - "data": 99999999999999999999, + "data": 9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision large negative", - "data": -99999999999999999999, + "data": -9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits positive", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 25 digits negative", - "data": -1234567890123456789012345, + "data": -1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": 123456789012345678901234567890, + "data": 1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/negative-integer.test.json b/test/w3c/xmlschema/2001/negative-integer.test.json index c088542c..c1be6938 100644 --- a/test/w3c/xmlschema/2001/negative-integer.test.json +++ b/test/w3c/xmlschema/2001/negative-integer.test.json @@ -29,22 +29,22 @@ }, { "description": "Valid - arbitrary precision beyond int64", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision large negative", - "data": -99999999999999999999, + "data": -9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits negative", - "data": -1234567890123456789012345, + "data": -1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits negative", - "data": -123456789012345678901234567890, + "data": -1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/non-negative-integer.test.json b/test/w3c/xmlschema/2001/non-negative-integer.test.json index add5b6c6..3958c926 100644 --- a/test/w3c/xmlschema/2001/non-negative-integer.test.json +++ b/test/w3c/xmlschema/2001/non-negative-integer.test.json @@ -29,22 +29,22 @@ }, { "description": "Valid - arbitrary precision beyond uint64", - "data": 18446744073709551616, + "data": 1.8446744073709551616e+19, "valid": true }, { "description": "Valid - arbitrary precision large positive", - "data": 99999999999999999999, + "data": 9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": 123456789012345678901234567890, + "data": 1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/non-positive-integer.test.json b/test/w3c/xmlschema/2001/non-positive-integer.test.json index 81db4f42..2a7e458b 100644 --- a/test/w3c/xmlschema/2001/non-positive-integer.test.json +++ b/test/w3c/xmlschema/2001/non-positive-integer.test.json @@ -29,22 +29,22 @@ }, { "description": "Valid - arbitrary precision beyond int64", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision large negative", - "data": -99999999999999999999, + "data": -9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits negative", - "data": -1234567890123456789012345, + "data": -1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits negative", - "data": -123456789012345678901234567890, + "data": -1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/positive-integer.test.json b/test/w3c/xmlschema/2001/positive-integer.test.json index f9a99bcf..8778dd2b 100644 --- a/test/w3c/xmlschema/2001/positive-integer.test.json +++ b/test/w3c/xmlschema/2001/positive-integer.test.json @@ -29,22 +29,22 @@ }, { "description": "Valid - arbitrary precision beyond uint64", - "data": 18446744073709551616, + "data": 1.8446744073709551616e+19, "valid": true }, { "description": "Valid - arbitrary precision large positive", - "data": 99999999999999999999, + "data": 9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": 123456789012345678901234567890, + "data": 1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/w3c/xmlschema/2001/unsigned-long.test.json b/test/w3c/xmlschema/2001/unsigned-long.test.json index 8b6ea70c..981f0e7c 100644 --- a/test/w3c/xmlschema/2001/unsigned-long.test.json +++ b/test/w3c/xmlschema/2001/unsigned-long.test.json @@ -34,32 +34,32 @@ }, { "description": "Valid - uint64 maximum", - "data": 18446744073709551615, + "data": 1.8446744073709551615e+19, "valid": true }, { "description": "Valid - just above int64 max", - "data": 9223372036854775808, + "data": 9.223372036854775808e+18, "valid": true }, { "description": "Valid - near uint64 maximum", - "data": 18446744073709551614, + "data": 1.8446744073709551614e+19, "valid": true }, { "description": "Valid - large mid-range value", - "data": 10000000000000000000, + "data": 1.0000000000000000000e+19, "valid": true }, { "description": "Invalid - above uint64 maximum", - "data": 18446744073709551616, + "data": 1.8446744073709551616e+19, "valid": false }, { "description": "Invalid - large above maximum", - "data": 20000000000000000000, + "data": 2.0000000000000000000e+19, "valid": false }, { diff --git a/test/xbrl/instance/2003/decimal-item-type.test.json b/test/xbrl/instance/2003/decimal-item-type.test.json index 4ee52f46..243b4287 100644 --- a/test/xbrl/instance/2003/decimal-item-type.test.json +++ b/test/xbrl/instance/2003/decimal-item-type.test.json @@ -24,12 +24,12 @@ }, { "description": "Valid - arbitrary precision 20 digit integer", - "data": 12345678901234567890, + "data": 1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { @@ -39,7 +39,7 @@ }, { "description": "Valid - arbitrary precision negative", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "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 d71d4e27..9ed2fd02 100644 --- a/test/xbrl/instance/2003/fraction-item-type.test.json +++ b/test/xbrl/instance/2003/fraction-item-type.test.json @@ -64,17 +64,17 @@ }, { "description": "Valid - arbitrary precision numerator 20 digits", - "data": [ 12345678901234567890, 1 ], + "data": [ 1.2345678901234567890e+19, 1 ], "valid": true }, { "description": "Valid - arbitrary precision denominator 20 digits", - "data": [ 1, 12345678901234567890 ], + "data": [ 1, 1.2345678901234567890e+19 ], "valid": true }, { "description": "Valid - arbitrary precision both values 25 digits", - "data": [ 1234567890123456789012345, 9876543210987654321098765 ], + "data": [ 1.234567890123456789012345e+24, 9.876543210987654321098765e+24 ], "valid": true }, { @@ -89,7 +89,7 @@ }, { "description": "Valid - arbitrary precision negative numerator", - "data": [ -12345678901234567890, 1 ], + "data": [ -1.2345678901234567890e+19, 1 ], "valid": true }, { diff --git a/test/xbrl/instance/2003/integer-item-type.test.json b/test/xbrl/instance/2003/integer-item-type.test.json index 178c9cd5..50e1b9bd 100644 --- a/test/xbrl/instance/2003/integer-item-type.test.json +++ b/test/xbrl/instance/2003/integer-item-type.test.json @@ -24,27 +24,27 @@ }, { "description": "Valid - arbitrary precision beyond int64", - "data": 12345678901234567890, + "data": 1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision large positive", - "data": 99999999999999999999, + "data": 9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision large negative", - "data": -99999999999999999999, + "data": -9.9999999999999999999e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits positive", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 25 digits negative", - "data": -1234567890123456789012345, + "data": -1.234567890123456789012345e+24, "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 6e026836..545e286b 100644 --- a/test/xbrl/instance/2003/monetary-item-type.test.json +++ b/test/xbrl/instance/2003/monetary-item-type.test.json @@ -53,7 +53,7 @@ { "description": "Valid - arbitrary precision 20 digits in USD", "data": { - "value": 12345678901234567890, + "value": 1.2345678901234567890e+19, "currency": "USD" }, "valid": true @@ -61,7 +61,7 @@ { "description": "Valid - arbitrary precision 25 digits in EUR", "data": { - "value": 1234567890123456789012345, + "value": 1.234567890123456789012345e+24, "currency": "EUR" }, "valid": true @@ -77,7 +77,7 @@ { "description": "Valid - arbitrary precision negative in JPY", "data": { - "value": -12345678901234567890, + "value": -1.2345678901234567890e+19, "currency": "JPY" }, "valid": true diff --git a/test/xbrl/instance/2003/negative-integer-item-type.test.json b/test/xbrl/instance/2003/negative-integer-item-type.test.json index 166d7cd5..3d44fe4a 100644 --- a/test/xbrl/instance/2003/negative-integer-item-type.test.json +++ b/test/xbrl/instance/2003/negative-integer-item-type.test.json @@ -19,17 +19,17 @@ }, { "description": "Valid - arbitrary precision beyond int64", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": -1234567890123456789012345, + "data": -1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": -123456789012345678901234567890, + "data": -1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/xbrl/instance/2003/non-negative-integer-item-type.test.json b/test/xbrl/instance/2003/non-negative-integer-item-type.test.json index 48f3a8d3..20bc72e2 100644 --- a/test/xbrl/instance/2003/non-negative-integer-item-type.test.json +++ b/test/xbrl/instance/2003/non-negative-integer-item-type.test.json @@ -19,17 +19,17 @@ }, { "description": "Valid - arbitrary precision beyond uint64", - "data": 18446744073709551616, + "data": 1.8446744073709551616e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": 123456789012345678901234567890, + "data": 1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/xbrl/instance/2003/non-positive-integer-item-type.test.json b/test/xbrl/instance/2003/non-positive-integer-item-type.test.json index a51bbcd3..ff4775d8 100644 --- a/test/xbrl/instance/2003/non-positive-integer-item-type.test.json +++ b/test/xbrl/instance/2003/non-positive-integer-item-type.test.json @@ -19,17 +19,17 @@ }, { "description": "Valid - arbitrary precision beyond int64", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": -1234567890123456789012345, + "data": -1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": -123456789012345678901234567890, + "data": -1.23456789012345678901234567890e+29, "valid": true }, { diff --git a/test/xbrl/instance/2003/positive-integer-item-type.test.json b/test/xbrl/instance/2003/positive-integer-item-type.test.json index 829dad09..251642be 100644 --- a/test/xbrl/instance/2003/positive-integer-item-type.test.json +++ b/test/xbrl/instance/2003/positive-integer-item-type.test.json @@ -19,17 +19,17 @@ }, { "description": "Valid - arbitrary precision beyond uint64", - "data": 18446744073709551616, + "data": 1.8446744073709551616e+19, "valid": true }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, { "description": "Valid - arbitrary precision 30 digits", - "data": 123456789012345678901234567890, + "data": 1.23456789012345678901234567890e+29, "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 de000fb7..c879f6de 100644 --- a/test/xbrl/instance/2003/pure-item-type.test.json +++ b/test/xbrl/instance/2003/pure-item-type.test.json @@ -24,7 +24,7 @@ }, { "description": "Valid - arbitrary precision 20 digit integer", - "data": 12345678901234567890, + "data": 1.2345678901234567890e+19, "valid": true }, { @@ -34,7 +34,7 @@ }, { "description": "Valid - arbitrary precision negative", - "data": -12345678901234567890, + "data": -1.2345678901234567890e+19, "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 66830dff..a72b80aa 100644 --- a/test/xbrl/instance/2003/shares-item-type.test.json +++ b/test/xbrl/instance/2003/shares-item-type.test.json @@ -24,7 +24,7 @@ }, { "description": "Valid - arbitrary precision 20 digit shares", - "data": 12345678901234567890, + "data": 1.2345678901234567890e+19, "valid": true }, { @@ -34,7 +34,7 @@ }, { "description": "Valid - arbitrary precision 25 digits", - "data": 1234567890123456789012345, + "data": 1.234567890123456789012345e+24, "valid": true }, {