unitsdb 2.2.11 → 2.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30870066215c55b92eaa4c1b67bc7e2f6625de5b37a8d2017333b84c7c26104c
4
- data.tar.gz: 00ff56f3c42400f618fc888b28b3014d28b1c81b2d4c671b76769b7117afb859
3
+ metadata.gz: 41c5a33f4a96fa77c751deec00d551e105a88497f2cdadd97c175e48badd5793
4
+ data.tar.gz: 86b1174ab7747d93830448281bf9dbe008c23cbcdf9acce2bac5ab3a8a86b9d2
5
5
  SHA512:
6
- metadata.gz: 3786fed8a562d727c836985ce6b3076ae42d1debd97745297f22aa5d299b3cd5d5f6bab387ccd527b7aefa83e4059a4979bb58ad525cdef6851b10e108c54fb0
7
- data.tar.gz: '0484c41912ebe5625ed14738f03888b449902f592ea497b41c88113dffdb2a9b03e7f2b66cd1835a4074809295c27976912a72761cbe0ce18c1c3d053d8418c7'
6
+ metadata.gz: 5bb276f95ba20fd5648a772ec4633a20d3fdb4871b32968635b74ea2811db981fdb51feccf614e1fa8fcaf990e98248fa96096b6a27bae4b55887614a8a7150c
7
+ data.tar.gz: d424b9f794da77a52809b7d40a4a4c6f0d000c41f6ce2161b941edf771fbee532c3e00c2c802bb65f8b37f234e357a1f48bc636e0f38406581d4e0e09b6a1d63
data/data/currencies.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  # yaml-language-server: $schema=schemas/currencies-schema.yaml
2
2
  ---
3
- schema_version: "2.1.0"
3
+ schema_version: "2.2.0"
4
4
  # ISO 4217 active codes (List One) as first-class entities, verified against
5
5
  # the ISO 4217 list one (178 codes: national currencies, funds and units of
6
6
  # account, precious-metal codes, bond-market units, supranationals, and the
data/data/dimensions.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  # yaml-language-server: $schema=schemas/dimensions-schema.yaml
2
2
  ---
3
- schema_version: 2.1.0
3
+ schema_version: "2.2.0"
4
4
  dimensions:
5
5
  - identifiers:
6
6
  - type: nist
data/data/prefixes.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  # yaml-language-server: $schema=schemas/prefixes-schema.yaml
2
2
  ---
3
- schema_version: 2.1.0
3
+ schema_version: "2.2.0"
4
4
  prefixes:
5
5
  - base: 10
6
6
  identifiers:
data/data/quantities.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  # yaml-language-server: $schema=schemas/quantities-schema.yaml
2
2
  ---
3
- schema_version: 2.1.0
3
+ schema_version: "2.2.0"
4
4
  quantities:
5
5
  - dimension_reference:
6
6
  type: nist
@@ -1337,6 +1337,7 @@ quantities:
1337
1337
  authority: qudt
1338
1338
  uri: http://qudt.org/vocab/quantitykind/Energy
1339
1339
  short: energy
1340
+ equivalence_class: energy
1340
1341
  - dimension_reference:
1341
1342
  type: nist
1342
1343
  id: NISTd4
@@ -1497,6 +1498,7 @@ quantities:
1497
1498
  authority: qudt
1498
1499
  uri: http://qudt.org/vocab/quantitykind/Work
1499
1500
  short: work
1501
+ equivalence_class: energy
1500
1502
  - dimension_reference:
1501
1503
  type: nist
1502
1504
  id: NISTd71
@@ -1548,6 +1550,7 @@ quantities:
1548
1550
  authority: qudt
1549
1551
  uri: http://qudt.org/vocab/quantitykind/KineticEnergy
1550
1552
  short: kinetic_energy
1553
+ equivalence_class: energy
1551
1554
  - dimension_reference:
1552
1555
  type: nist
1553
1556
  id: NISTd15
@@ -1565,6 +1568,7 @@ quantities:
1565
1568
  authority: qudt
1566
1569
  uri: http://qudt.org/vocab/quantitykind/MechanicalEnergy
1567
1570
  short: mechanical_energy
1571
+ equivalence_class: energy
1568
1572
  - dimension_reference:
1569
1573
  type: nist
1570
1574
  id: NISTd15
@@ -1686,6 +1690,7 @@ quantities:
1686
1690
  authority: qudt
1687
1691
  uri: http://qudt.org/vocab/quantitykind/Heat
1688
1692
  short: amount_of_heat
1693
+ equivalence_class: energy
1689
1694
  - dimension_reference:
1690
1695
  type: nist
1691
1696
  id: NISTd96
@@ -3280,6 +3285,7 @@ quantities:
3280
3285
  authority: qudt
3281
3286
  uri: http://qudt.org/vocab/quantitykind/PotentialEnergy
3282
3287
  short: potential_energy
3288
+ equivalence_class: energy
3283
3289
  - dimension_reference:
3284
3290
  type: nist
3285
3291
  id: NISTd38
data/data/scales.yaml CHANGED
@@ -1,4 +1,4 @@
1
- schema_version: 2.1.0
1
+ schema_version: "2.2.0"
2
2
  scales:
3
3
  - identifiers:
4
4
  - id: continuous_ratio
@@ -44,6 +44,9 @@ definitions:
44
44
  short:
45
45
  type: string
46
46
  description: "Short identifier for the quantity"
47
+ equivalence_class:
48
+ type: string
49
+ description: "L1 equivalence class: quantities in the same class are interchangeable for addition/subtraction arithmetic (work, energy and heat share the energy class). Absent means identity-only gating."
47
50
  references:
48
51
  type: array
49
52
  description: "External references and citations"
@@ -144,6 +144,9 @@ definitions:
144
144
  id:
145
145
  type: string
146
146
  description: "Quantity identifier"
147
+ primary:
148
+ type: boolean
149
+ description: "True for the primary quantity of this unit (SI-definition-derived where the unit has an SI special name; otherwise the explicitly curated default). Consumers select this reference instead of positional order."
147
150
 
148
151
  RootUnit:
149
152
  type: object
@@ -1,6 +1,6 @@
1
1
  # yaml-language-server: $schema=schemas/unit_systems-schema.yaml
2
2
  ---
3
- schema_version: 2.1.0
3
+ schema_version: "2.2.0"
4
4
  unit_systems:
5
5
  - acceptable: true
6
6
  identifiers: