Skip to content

Commit ab6495b

Browse files
committed
[WIP] Define schemas for the BIMP system of units (2019)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent fe29fd6 commit ab6495b

856 files changed

Lines changed: 19709 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

meta/schemas-root.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"x-license": {
4242
"const": "https://github.com/sourcemeta/std/blob/main/LICENSE"
4343
},
44+
"x-symbol": {
45+
"type": "string"
46+
},
4447
"x-links": {
4548
"type": "array",
4649
"minItems": 1,
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attoampere",
4+
"description": "A multiple of ampere equal to 1e-18 ampere",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "aA",
16+
"x-prefix-factor": 1e-18,
17+
"$ref": "../unit/ampere.json"
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attocandela",
4+
"description": "A multiple of candela equal to 1e-18 candela",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "acd",
16+
"x-prefix-factor": 1e-18,
17+
"$ref": "../unit/candela.json"
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attogram",
4+
"description": "A multiple of mass equal to 1e-18 gram, which is 1e-21 kilogram",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "ag",
16+
"x-prefix-factor": 1e-21,
17+
"$ref": "../unit/kilogram.json"
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attokelvin",
4+
"description": "A multiple of kelvin equal to 1e-18 kelvin",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "aK",
16+
"x-prefix-factor": 1e-18,
17+
"$ref": "../unit/kelvin.json"
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attometre",
4+
"description": "A multiple of metre equal to 1e-18 metre",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "am",
16+
"x-prefix-factor": 1e-18,
17+
"$ref": "../unit/metre.json"
18+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attomole",
4+
"description": "A multiple of mole equal to 1e-18 mole",
5+
"examples": [
6+
1,
7+
100,
8+
1000
9+
],
10+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
11+
"x-links": [
12+
"https://www.bipm.org/en/publications/si-brochure"
13+
],
14+
"x-symbol": "amol",
15+
"x-prefix-factor": 1e-18,
16+
"$ref": "../unit/mole.json"
17+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Attosecond",
4+
"description": "A multiple of second equal to 1e-18 second",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "as",
16+
"x-prefix-factor": 1e-18,
17+
"$ref": "../unit/second.json"
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Centiampere",
4+
"description": "A multiple of ampere equal to 1e-2 ampere",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "cA",
16+
"x-prefix-factor": 0.01,
17+
"$ref": "../unit/ampere.json"
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Centicandela",
4+
"description": "A multiple of candela equal to 1e-2 candela",
5+
"examples": [
6+
0,
7+
1,
8+
100,
9+
1000
10+
],
11+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
12+
"x-links": [
13+
"https://www.bipm.org/en/publications/si-brochure"
14+
],
15+
"x-symbol": "ccd",
16+
"x-prefix-factor": 0.01,
17+
"$ref": "../unit/candela.json"
18+
}

0 commit comments

Comments
 (0)