Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions meta/schemas-root.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attoampere.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attocandela.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attogram.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attokelvin.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attometre.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attomole.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/attosecond.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centiampere.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centicandela.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centigram.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centikelvin.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centimetre.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centimole.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/centisecond.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decaampere.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decacandela.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decagram.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decakelvin.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decametre.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decamole.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decasecond.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/deciampere.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decicandela.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decigram.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decikelvin.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decimetre.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decimole.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/decisecond.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/exaampere.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/exacandela.json
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions schemas/bipm/si/2019/base/prefixed/exagram.json
Original file line number Diff line number Diff line change
@@ -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"
}
Loading