@hestia-earth/schema
Version:
Hestia Schema
82 lines (81 loc) • 4.03 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Term = exports.TermTermType = void 0;
// auto-generated content
var types_1 = require("./types");
var TermTermType;
(function (TermTermType) {
TermTermType["animalManagement"] = "animalManagement";
TermTermType["animalProduct"] = "animalProduct";
TermTermType["antibiotic"] = "antibiotic";
TermTermType["aquacultureManagement"] = "aquacultureManagement";
TermTermType["building"] = "building";
TermTermType["characterisedIndicator"] = "characterisedIndicator";
TermTermType["crop"] = "crop";
TermTermType["cropEstablishment"] = "cropEstablishment";
TermTermType["cropProtection"] = "cropProtection";
TermTermType["cropResidue"] = "cropResidue";
TermTermType["cropResidueManagement"] = "cropResidueManagement";
TermTermType["cropSupport"] = "cropSupport";
TermTermType["electricity"] = "electricity";
TermTermType["emission"] = "emission";
TermTermType["endpointIndicator"] = "endpointIndicator";
TermTermType["excreta"] = "excreta";
TermTermType["excretaManagement"] = "excretaManagement";
TermTermType["fuel"] = "fuel";
TermTermType["grass"] = "grass";
TermTermType["inorganicFertilizer"] = "inorganicFertilizer";
TermTermType["irrigation"] = "irrigation";
TermTermType["landUseManagement"] = "landUseManagement";
TermTermType["liveAnimal"] = "liveAnimal";
TermTermType["liveAquaticSpecies"] = "liveAquaticSpecies";
TermTermType["machinery"] = "machinery";
TermTermType["material"] = "material";
TermTermType["measurement"] = "measurement";
TermTermType["methodEmissionResourceUse"] = "methodEmissionResourceUse";
TermTermType["methodMeasurement"] = "methodMeasurement";
TermTermType["model"] = "model";
TermTermType["operation"] = "operation";
TermTermType["organicFertilizer"] = "organicFertilizer";
TermTermType["other"] = "other";
TermTermType["pesticideAI"] = "pesticideAI";
TermTermType["pesticideBrandName"] = "pesticideBrandName";
TermTermType["processedFood"] = "processedFood";
TermTermType["property"] = "property";
TermTermType["region"] = "region";
TermTermType["resourceUse"] = "resourceUse";
TermTermType["soilAmendment"] = "soilAmendment";
TermTermType["soilTexture"] = "soilTexture";
TermTermType["soilType"] = "soilType";
TermTermType["standardsLabels"] = "standardsLabels";
TermTermType["system"] = "system";
TermTermType["tillage"] = "tillage";
TermTermType["transport"] = "transport";
TermTermType["usdaSoilType"] = "usdaSoilType";
TermTermType["water"] = "water";
TermTermType["waterRegime"] = "waterRegime";
})(TermTermType = exports.TermTermType || (exports.TermTermType = {}));
/**
* An item from the [Glossary of Terms](/glossary/) (controlled vocabulary). The Glossary of Terms ensures the most important data fields describing the agri-food system are named consistently. Terms can only be referred to by their [@id](#@id) or their [name](#name). Changes to Terms and their fields can be requested via [GitLab](https://gitlab.com/hestia-earth/hestia-glossary/-/blob/develop/CONTRIBUTING.md).
*/
var Term = /** @class */ (function (_super) {
__extends(Term, _super);
function Term() {
return _super !== null && _super.apply(this, arguments) || this;
}
return Term;
}(types_1.JSON));
exports.Term = Term;