Socket
Socket
Sign inDemoInstall

@hestia-earth/schema

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hestia-earth/schema - npm Package Versions

23
14

30.2.0

Diff

Changelog

Source

30.2.0 (2024-09-17)

Features

  • cycle: validate cycleDuration when start date is one year prior (c8eb36f)

Bug Fixes

  • indicator: remove allowed null as a value (b5afa8b)
mebibou
published 30.1.0 •

Changelog

Source

30.1.0 (2024-09-03)

Features

  • schema-convert: add JSON pivoting handling unique keys (1ab0a38)
mebibou
published 30.0.1 •

Changelog

Source

30.0.1 (2024-08-30)

Bug Fixes

  • indicator: require landCover only when units is set (8c7c5fa)
mebibou
published 30.0.0 •

Changelog

Source

30.0.0 (2024-08-30)

⚠ BREAKING CHANGES

  • indicator: Add methodTier required for emission.
  • indicator: Make landCover a required field for Indicator for terms with units m2*year or m2 / year` (i.e., land occupation and land transformation terms).

Features

  • cycle: allow null values in otherSites fields (27c5600), closes #445
  • impact-assessment: let landCover determine uniqueness (c3dec4d), closes #429
  • indicator: add landCover field (aaeb3e7), closes #429
  • indicator: add new methodTier and make required for emission (c6bc676)
  • indicator: make landCover a required when units m2*year or m2 / year` (537dd77), closes #429
  • schema-convert: export defaultSiteArea function (6c00585)

Bug Fixes

  • transport: fix unique keys on inputs using Transport (c01315c)
mebibou
published 29.1.0 •

Changelog

Source

29.1.0 (2024-08-02)

Features

  • measurement: allow boolean as value (9d821a3)
mebibou
published 29.0.0 •

Changelog

Source

29.0.0 (2024-07-23)

⚠ BREAKING CHANGES

  • infrastructure: Renames lifespan to defaultLifespan and renames lifespanHours to defaultLifespanHours

Features

  • cycle: add siteUnusedDuration and otherSitesUnusedDuration (e5d2677), closes #431
  • cycle: allow site to determine uniqueness on inputs, practices, and emissions (b065493), closes #427
  • emission: add site field (1fffe44), closes #427
  • infrastructure: rename lifespan... fields to defaultLifespan... (749d20c), closes #426
  • input: add lifespan field (0c00252), closes #426
  • input: add site field (b42571a), closes #418 #427
  • management: allow system as termType (ede457a), closes #433
  • practice: add site field (5171632), closes #427
  • site: enable methodClassification to determine Measurement uniqueness (68fe175)
mebibou
published 28.1.0 •

Changelog

Source

28.1.0 (2024-06-26)

Features

  • schema: export types for blank nodes (82a76c0)
mebibou
published 28.0.0 •

Changelog

Source

28.0.0 (2024-06-10)

⚠ BREAKING CHANGES

  • cycle: Restrict FU to 1 ha for Cycles where the primary product is forage.
  • animal: New animalId field required on Animal blank node, used to determine uniqueness within a Cycle.
  • practice: Restrict which termType can be used as key on Practice.
  • practice: Remove landCover as allowed term.termType on Practice.
  • cycle: Remove startDateDefinition value of estimated with assumptions.
  • cycle: Make startDateDefinition required if cycleDuration is set.
  • indicator: Make methodModel a required field for Indicator.

Features

  • animal: add required property animalId (7a7c6de)
  • cycle: add estimated with assumptions enum for startDateDefinition (a88ffc9)
  • cycle: add one year prior as startDateDefinition (3311714)
  • cycle: add siteArea and otherSitesArea (807e1b9), closes #419
  • cycle: add start of animal life as enum for startDateDefinition (998e905), closes #412
  • cycle: define cycleDuration = endDate - startDate (f109eed), closes #411
  • cycle: prevent adding otherSites when functionalUnit is 1 ha (caa3cd9)
  • cycle: restrict FU to 1 ha for Cycles where primary product is forage (2b07d4c)
  • indicator: make methodModel a required field (b6fcab7), closes #424
  • practice: remove landCover as allowed term.termType (5be7716), closes #425
  • practice: restrict termType on key (e046261), closes #425
  • product: add new fates (070b561), closes #309
  • schema-convert: default siteArea to 1 when functionalUnit=1 ha (a49885d)
  • schema-convert: remove default values for startDate and cycleDuration (7bfb788)
  • term: add substrate termType (2956256)

Bug Fixes

  • cycle: remove estimated with assumptions from startDateDefinition (c437e20)
  • schema-convert: handle leap years when calculating startDate (924bbbe)
mebibou
published 27.2.0 •

Changelog

Source

27.2.0 (2024-04-29)

Features

  • cycle: prevent adding crop or forage products on animal housing (9a36cb9)
  • schema-convert: set startDate on Cycle from endDate and cycleDuration (cdc51fb)
mebibou
published 27.1.0 •

Changelog

Source

27.1.0 (2024-03-05)

Features

  • add aggregatedDataValidated field to aggregated nodes (091a3b6)
23
14
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc