From 9ec2e6c7fcbeb08649c8cee5e7aa456299e2059f Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Fri, 27 Dec 2024 12:15:04 -0800 Subject: [PATCH 1/7] Run gen-doc to correct generated docs The current generated docs are out of date with the most recently committed schemas. --- schema/generated/AdministrativeArea.md | 94 ++++-- schema/generated/Geometry.md | 98 ++++-- schema/generated/Location.md | 319 ++++++++++++++++++ schema/generated/LocationContext.md | 200 ----------- schema/generated/LocationProperties.md | 136 -------- ...inCreditsInfo.md => administrativeArea.md} | 21 +- schema/generated/creditsAvailable.md | 83 ----- schema/generated/creditsRegistered.md | 83 ----- schema/generated/creditsRetired.md | 83 ----- schema/generated/{value.md => geometry.md} | 25 +- schema/generated/key.md | 77 ----- schema/generated/location.md | 2 +- schema/generated/mapboxId.md | 78 ----- schema/generated/name.md | 2 +- .../{ProjectSize.md => projectSize.md} | 0 schema/generated/shortCode.md | 78 ----- schema/generated/type.md | 4 +- schema/generated/url.md | 2 +- schema/generated/wikidata.md | 78 ----- 19 files changed, 499 insertions(+), 964 deletions(-) create mode 100644 schema/generated/Location.md delete mode 100644 schema/generated/LocationContext.md delete mode 100644 schema/generated/LocationProperties.md rename schema/generated/{OffchainCreditsInfo.md => administrativeArea.md} (52%) delete mode 100644 schema/generated/creditsAvailable.md delete mode 100644 schema/generated/creditsRegistered.md delete mode 100644 schema/generated/creditsRetired.md rename schema/generated/{value.md => geometry.md} (60%) delete mode 100644 schema/generated/key.md delete mode 100644 schema/generated/mapboxId.md rename schema/generated/{ProjectSize.md => projectSize.md} (100%) delete mode 100644 schema/generated/shortCode.md delete mode 100644 schema/generated/wikidata.md diff --git a/schema/generated/AdministrativeArea.md b/schema/generated/AdministrativeArea.md index 63a922c..7c3f7c7 100644 --- a/schema/generated/AdministrativeArea.md +++ b/schema/generated/AdministrativeArea.md @@ -1,39 +1,46 @@ -# Slot: administrativeArea +# Class: AdministrativeArea -_The administrative area associated with the project._ +URI: [schema:AdministrativeArea](http://schema.org/AdministrativeArea) +```mermaid +erDiagram +AdministrativeArea { + string name + string url +} -URI: [rfs:administrativeArea](https://framework.regen.network/schema/administrativeArea) - - - +``` + -## Applicable Classes -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no | +## Slots +| Name | Cardinality and Range | Description | Inheritance | +| --- | --- | --- | --- | +| [name](name.md) | 1
[String](String.md) | Name of the project | direct | +| [url](url.md) | 0..1
[String](String.md) | | direct | +## Usages -## Properties +| used by | used in | type | used | +| --- | --- | --- | --- | +| [TerrasosProjectInfo](TerrasosProjectInfo.md) | [administrativeArea](administrativeArea.md) | range | [AdministrativeArea](AdministrativeArea.md) | -* Range: [AdministrativeArea](AdministrativeArea.md) @@ -59,24 +66,69 @@ URI: [rfs:administrativeArea](https://framework.regen.network/schema/administrat | Mapping Type | Mapped Value | | --- | --- | -| self | rfs:administrativeArea | -| native | rfs:administrativeArea | +| self | schema:AdministrativeArea | +| native | rfs:AdministrativeArea | + + + ## LinkML Source + + +### Direct + +
+```yaml +name: AdministrativeArea +from_schema: https://framework.regen.network/schema/ +slots: +- name +- url +class_uri: schema:AdministrativeArea + +``` +
+ +### Induced +
```yaml -name: administrativeArea -description: The administrative area associated with the project. +name: AdministrativeArea from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: administrativeArea -domain_of: -- TerrasosProjectInfo -range: AdministrativeArea +attributes: + name: + name: name + description: Name of the project. + from_schema: https://framework.regen.network/schema/ + rank: 1000 + slot_uri: schema:name + alias: name + owner: AdministrativeArea + domain_of: + - ProjectInfo + - ProjectRole + - Organization + - File + - AdministrativeArea + range: string + required: true + url: + name: url + from_schema: https://framework.regen.network/schema/ + rank: 1000 + slot_uri: schema:URL + alias: url + owner: AdministrativeArea + domain_of: + - ProjectRole + - Organization + - AdministrativeArea + range: string +class_uri: schema:AdministrativeArea ```
\ No newline at end of file diff --git a/schema/generated/Geometry.md b/schema/generated/Geometry.md index abe09d4..3bdc8c2 100644 --- a/schema/generated/Geometry.md +++ b/schema/generated/Geometry.md @@ -1,36 +1,46 @@ -# Slot: geometry +# Class: Geometry -URI: [rfs:geometry](https://framework.regen.network/schema/geometry) +URI: [rfs:Geometry](https://framework.regen.network/schema/Geometry) - +```mermaid +erDiagram +Geometry { + string type + floatList coordinates +} + +``` -## Applicable Classes + -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [Location](Location.md) | | no | +## Slots +| Name | Cardinality and Range | Description | Inheritance | +| --- | --- | --- | --- | +| [type](type.md) | 0..1
[String](String.md) | | direct | +| [coordinates](coordinates.md) | *
[Float](Float.md) | | direct | -## Properties +## Usages -* Range: [Geometry](Geometry.md) +| used by | used in | type | used | +| --- | --- | --- | --- | +| [Location](Location.md) | [geometry](geometry.md) | range | [Geometry](Geometry.md) | -* Required: True @@ -56,25 +66,73 @@ URI: [rfs:geometry](https://framework.regen.network/schema/geometry) | Mapping Type | Mapped Value | | --- | --- | -| self | rfs:geometry | -| native | rfs:geometry | +| self | rfs:Geometry | +| native | rfs:Geometry | + + + ## LinkML Source + + +### Direct + +
+```yaml +name: Geometry +from_schema: https://framework.regen.network/schema/ +attributes: + type: + name: type + from_schema: https://framework.regen.network/schema/ + domain_of: + - ProjectRole + - Location + - Geometry + range: string + coordinates: + name: coordinates + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Geometry + range: float + multivalued: true + +``` +
+ +### Induced +
```yaml -name: geometry +name: Geometry from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: geometry -owner: Location -domain_of: -- Location -range: Geometry -required: true +attributes: + type: + name: type + from_schema: https://framework.regen.network/schema/ + alias: type + owner: Geometry + domain_of: + - ProjectRole + - Location + - Geometry + range: string + coordinates: + name: coordinates + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: coordinates + owner: Geometry + domain_of: + - Geometry + range: float + multivalued: true ```
\ No newline at end of file diff --git a/schema/generated/Location.md b/schema/generated/Location.md new file mode 100644 index 0000000..4f20a53 --- /dev/null +++ b/schema/generated/Location.md @@ -0,0 +1,319 @@ + + +# Class: Location + + + +URI: [rfs:Location](https://framework.regen.network/schema/Location) + + + +```mermaid +erDiagram +Location { + string type + string placeName + string id + floatList bbox + string text + floatList center + float relevance + string placeType +} +Any { + +} +Geometry { + string type + floatList coordinates +} + +Location ||--|| Geometry : "geometry" +Location ||--|o Any : "context" +Location ||--|o Any : "properties" + +``` + + + + + + +## Slots + +| Name | Cardinality and Range | Description | Inheritance | +| --- | --- | --- | --- | +| [type](type.md) | 1
[String](String.md) | | direct | +| [geometry](geometry.md) | 1
[Geometry](Geometry.md) | | direct | +| [placeName](placeName.md) | 1
[String](String.md) | | direct | +| [id](id.md) | 0..1
[String](String.md) | | direct | +| [bbox](bbox.md) | *
[Float](Float.md) | | direct | +| [text](text.md) | 0..1
[String](String.md) | | direct | +| [center](center.md) | *
[Float](Float.md) | | direct | +| [context](context.md) | 0..1
[Any](Any.md) | | direct | +| [relevance](relevance.md) | 0..1
[Float](Float.md) | | direct | +| [placeType](placeType.md) | 0..1
[String](String.md) | | direct | +| [properties](properties.md) | 0..1
[Any](Any.md) | | direct | + + + + + +## Usages + +| used by | used in | type | used | +| --- | --- | --- | --- | +| [ProjectInfo](ProjectInfo.md) | [location](location.md) | range | [Location](Location.md) | +| [TerrasosProjectInfo](TerrasosProjectInfo.md) | [location](location.md) | range | [Location](Location.md) | + + + + + + +## Identifier and Mapping Information + + + + + + + +### Schema Source + + +* from schema: https://framework.regen.network/schema/ + + + + +## Mappings + +| Mapping Type | Mapped Value | +| --- | --- | +| self | rfs:Location | +| native | rfs:Location | + + + + + + + +## LinkML Source + + + +### Direct + +
+```yaml +name: Location +from_schema: https://framework.regen.network/schema/ +attributes: + type: + name: type + from_schema: https://framework.regen.network/schema/ + domain_of: + - ProjectRole + - Location + - Geometry + range: string + required: true + geometry: + name: geometry + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: Geometry + required: true + placeName: + name: placeName + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: place_name + domain_of: + - Location + range: string + required: true + id: + name: id + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: string + bbox: + name: bbox + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: float + multivalued: true + text: + name: text + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: string + center: + name: center + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: float + multivalued: true + context: + name: context + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: Any + relevance: + name: relevance + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: float + placeType: + name: placeType + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: place_type + domain_of: + - Location + range: string + properties: + name: properties + from_schema: https://framework.regen.network/schema/ + rank: 1000 + domain_of: + - Location + range: Any +class_uri: rfs:Location + +``` +
+ +### Induced + +
+```yaml +name: Location +from_schema: https://framework.regen.network/schema/ +attributes: + type: + name: type + from_schema: https://framework.regen.network/schema/ + alias: type + owner: Location + domain_of: + - ProjectRole + - Location + - Geometry + range: string + required: true + geometry: + name: geometry + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: geometry + owner: Location + domain_of: + - Location + range: Geometry + required: true + placeName: + name: placeName + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: place_name + owner: Location + domain_of: + - Location + range: string + required: true + id: + name: id + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: id + owner: Location + domain_of: + - Location + range: string + bbox: + name: bbox + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: bbox + owner: Location + domain_of: + - Location + range: float + multivalued: true + text: + name: text + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: text + owner: Location + domain_of: + - Location + range: string + center: + name: center + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: center + owner: Location + domain_of: + - Location + range: float + multivalued: true + context: + name: context + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: context + owner: Location + domain_of: + - Location + range: Any + relevance: + name: relevance + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: relevance + owner: Location + domain_of: + - Location + range: float + placeType: + name: placeType + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: place_type + owner: Location + domain_of: + - Location + range: string + properties: + name: properties + from_schema: https://framework.regen.network/schema/ + rank: 1000 + alias: properties + owner: Location + domain_of: + - Location + range: Any +class_uri: rfs:Location + +``` +
\ No newline at end of file diff --git a/schema/generated/LocationContext.md b/schema/generated/LocationContext.md deleted file mode 100644 index 45a7541..0000000 --- a/schema/generated/LocationContext.md +++ /dev/null @@ -1,200 +0,0 @@ - - -# Class: LocationContext - - - -URI: [rfs:LocationContext](https://framework.regen.network/schema/LocationContext) - - - -```mermaid -erDiagram -LocationContext { - string id - string text - string wikidata - string mapboxId - string shortCode -} - - - -``` - - - - - - -## Slots - -| Name | Cardinality and Range | Description | Inheritance | -| --- | --- | --- | --- | -| [id](id.md) | 1
[String](String.md) | | direct | -| [text](text.md) | 0..1
[String](String.md) | | direct | -| [wikidata](wikidata.md) | 0..1
[String](String.md) | | direct | -| [mapboxId](mapboxId.md) | 0..1
[String](String.md) | | direct | -| [shortCode](shortCode.md) | 0..1
[String](String.md) | | direct | - - - - - -## Usages - -| used by | used in | type | used | -| --- | --- | --- | --- | -| [Location](Location.md) | [context](context.md) | range | [LocationContext](LocationContext.md) | - - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:LocationContext | -| native | rfs:LocationContext | - - - - - - - -## LinkML Source - - - -### Direct - -
-```yaml -name: LocationContext -from_schema: https://framework.regen.network/schema/ -attributes: - id: - name: id - from_schema: https://framework.regen.network/schema/ - identifier: true - domain_of: - - Location - - LocationContext - range: string - required: true - text: - name: text - from_schema: https://framework.regen.network/schema/ - domain_of: - - Location - - LocationContext - range: string - wikidata: - name: wikidata - from_schema: https://framework.regen.network/schema/ - rank: 1000 - domain_of: - - LocationContext - range: string - required: false - mapboxId: - name: mapboxId - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: mapbox_id - domain_of: - - LocationContext - range: string - required: false - shortCode: - name: shortCode - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: short_code - domain_of: - - LocationContext - range: string - required: false - -``` -
- -### Induced - -
-```yaml -name: LocationContext -from_schema: https://framework.regen.network/schema/ -attributes: - id: - name: id - from_schema: https://framework.regen.network/schema/ - identifier: true - alias: id - owner: LocationContext - domain_of: - - Location - - LocationContext - range: string - required: true - text: - name: text - from_schema: https://framework.regen.network/schema/ - alias: text - owner: LocationContext - domain_of: - - Location - - LocationContext - range: string - wikidata: - name: wikidata - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: wikidata - owner: LocationContext - domain_of: - - LocationContext - range: string - required: false - mapboxId: - name: mapboxId - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: mapbox_id - owner: LocationContext - domain_of: - - LocationContext - range: string - required: false - shortCode: - name: shortCode - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: short_code - owner: LocationContext - domain_of: - - LocationContext - range: string - required: false - -``` -
\ No newline at end of file diff --git a/schema/generated/LocationProperties.md b/schema/generated/LocationProperties.md deleted file mode 100644 index 3e2939f..0000000 --- a/schema/generated/LocationProperties.md +++ /dev/null @@ -1,136 +0,0 @@ - - -# Class: LocationProperties - - - -URI: [rfs:LocationProperties](https://framework.regen.network/schema/LocationProperties) - - - -```mermaid -erDiagram -LocationProperties { - string key -} -Any { - -} - -LocationProperties ||--|o Any : "value" - -``` - - - - - - -## Slots - -| Name | Cardinality and Range | Description | Inheritance | -| --- | --- | --- | --- | -| [key](key.md) | 0..1
[String](String.md) | | direct | -| [value](value.md) | 0..1
[Any](Any.md) | | direct | - - - - - -## Usages - -| used by | used in | type | used | -| --- | --- | --- | --- | -| [Location](Location.md) | [properties](properties.md) | range | [LocationProperties](LocationProperties.md) | - - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:LocationProperties | -| native | rfs:LocationProperties | - - - - - - - -## LinkML Source - - - -### Direct - -
-```yaml -name: LocationProperties -from_schema: https://framework.regen.network/schema/ -attributes: - key: - name: key - from_schema: https://framework.regen.network/schema/ - rank: 1000 - domain_of: - - LocationProperties - range: string - value: - name: value - from_schema: https://framework.regen.network/schema/ - rank: 1000 - domain_of: - - LocationProperties - range: Any - -``` -
- -### Induced - -
-```yaml -name: LocationProperties -from_schema: https://framework.regen.network/schema/ -attributes: - key: - name: key - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: key - owner: LocationProperties - domain_of: - - LocationProperties - range: string - value: - name: value - from_schema: https://framework.regen.network/schema/ - rank: 1000 - alias: value - owner: LocationProperties - domain_of: - - LocationProperties - range: Any - -``` -
\ No newline at end of file diff --git a/schema/generated/OffchainCreditsInfo.md b/schema/generated/administrativeArea.md similarity index 52% rename from schema/generated/OffchainCreditsInfo.md rename to schema/generated/administrativeArea.md index 8d8c675..63a922c 100644 --- a/schema/generated/OffchainCreditsInfo.md +++ b/schema/generated/administrativeArea.md @@ -1,15 +1,15 @@ -# Slot: offchainCreditsInfo +# Slot: administrativeArea -_Information about offchain credits associated with the project._ +_The administrative area associated with the project._ -URI: [rfs:offchainCreditsInfo](https://framework.regen.network/schema/offchainCreditsInfo) +URI: [rfs:administrativeArea](https://framework.regen.network/schema/administrativeArea) @@ -33,7 +33,7 @@ URI: [rfs:offchainCreditsInfo](https://framework.regen.network/schema/offchainCr ## Properties -* Range: [OffchainCreditsInfo](OffchainCreditsInfo.md) +* Range: [AdministrativeArea](AdministrativeArea.md) @@ -59,8 +59,8 @@ URI: [rfs:offchainCreditsInfo](https://framework.regen.network/schema/offchainCr | Mapping Type | Mapped Value | | --- | --- | -| self | rfs:offchainCreditsInfo | -| native | rfs:offchainCreditsInfo | +| self | rfs:administrativeArea | +| native | rfs:administrativeArea | @@ -69,15 +69,14 @@ URI: [rfs:offchainCreditsInfo](https://framework.regen.network/schema/offchainCr
```yaml -name: offchainCreditsInfo -description: Information about offchain credits associated with the project. +name: administrativeArea +description: The administrative area associated with the project. from_schema: https://framework.regen.network/schema/ rank: 1000 -slot_uri: rfs:offchainCreditsInfo -alias: offchainCreditsInfo +alias: administrativeArea domain_of: - TerrasosProjectInfo -range: OffchainCreditsInfo +range: AdministrativeArea ```
\ No newline at end of file diff --git a/schema/generated/creditsAvailable.md b/schema/generated/creditsAvailable.md deleted file mode 100644 index 179a9e3..0000000 --- a/schema/generated/creditsAvailable.md +++ /dev/null @@ -1,83 +0,0 @@ - - -# Slot: creditsAvailable - - -_The number of credits available_ - - - - - -URI: [rfs:creditsAvailable](https://framework.regen.network/schema/creditsAvailable) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [OffchainCreditsInfo](OffchainCreditsInfo.md) | | no | - - - - - - - -## Properties - -* Range: [QuantityValue](QuantityValue.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:creditsAvailable | -| native | rfs:creditsAvailable | - - - - -## LinkML Source - -
-```yaml -name: creditsAvailable -description: The number of credits available -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: creditsAvailable -owner: OffchainCreditsInfo -domain_of: -- OffchainCreditsInfo -range: QuantityValue - -``` -
\ No newline at end of file diff --git a/schema/generated/creditsRegistered.md b/schema/generated/creditsRegistered.md deleted file mode 100644 index 91b5a9e..0000000 --- a/schema/generated/creditsRegistered.md +++ /dev/null @@ -1,83 +0,0 @@ - - -# Slot: creditsRegistered - - -_The number of credits registered_ - - - - - -URI: [rfs:creditsRegistered](https://framework.regen.network/schema/creditsRegistered) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [OffchainCreditsInfo](OffchainCreditsInfo.md) | | no | - - - - - - - -## Properties - -* Range: [QuantityValue](QuantityValue.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:creditsRegistered | -| native | rfs:creditsRegistered | - - - - -## LinkML Source - -
-```yaml -name: creditsRegistered -description: The number of credits registered -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: creditsRegistered -owner: OffchainCreditsInfo -domain_of: -- OffchainCreditsInfo -range: QuantityValue - -``` -
\ No newline at end of file diff --git a/schema/generated/creditsRetired.md b/schema/generated/creditsRetired.md deleted file mode 100644 index 774b422..0000000 --- a/schema/generated/creditsRetired.md +++ /dev/null @@ -1,83 +0,0 @@ - - -# Slot: creditsRetired - - -_The number of credits retired_ - - - - - -URI: [rfs:creditsRetired](https://framework.regen.network/schema/creditsRetired) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [OffchainCreditsInfo](OffchainCreditsInfo.md) | | no | - - - - - - - -## Properties - -* Range: [QuantityValue](QuantityValue.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:creditsRetired | -| native | rfs:creditsRetired | - - - - -## LinkML Source - -
-```yaml -name: creditsRetired -description: The number of credits retired -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: creditsRetired -owner: OffchainCreditsInfo -domain_of: -- OffchainCreditsInfo -range: QuantityValue - -``` -
\ No newline at end of file diff --git a/schema/generated/value.md b/schema/generated/geometry.md similarity index 60% rename from schema/generated/value.md rename to schema/generated/geometry.md index 99fc5ec..abe09d4 100644 --- a/schema/generated/value.md +++ b/schema/generated/geometry.md @@ -1,10 +1,10 @@ -# Slot: value +# Slot: geometry -URI: [rfs:value](https://framework.regen.network/schema/value) +URI: [rfs:geometry](https://framework.regen.network/schema/geometry) @@ -18,7 +18,7 @@ URI: [rfs:value](https://framework.regen.network/schema/value) | Name | Description | Modifies Slot | | --- | --- | --- | -| [LocationProperties](LocationProperties.md) | | no | +| [Location](Location.md) | | no | @@ -28,7 +28,9 @@ URI: [rfs:value](https://framework.regen.network/schema/value) ## Properties -* Range: [Any](Any.md) +* Range: [Geometry](Geometry.md) + +* Required: True @@ -54,8 +56,8 @@ URI: [rfs:value](https://framework.regen.network/schema/value) | Mapping Type | Mapped Value | | --- | --- | -| self | rfs:value | -| native | rfs:value | +| self | rfs:geometry | +| native | rfs:geometry | @@ -64,14 +66,15 @@ URI: [rfs:value](https://framework.regen.network/schema/value)
```yaml -name: value +name: geometry from_schema: https://framework.regen.network/schema/ rank: 1000 -alias: value -owner: LocationProperties +alias: geometry +owner: Location domain_of: -- LocationProperties -range: Any +- Location +range: Geometry +required: true ```
\ No newline at end of file diff --git a/schema/generated/key.md b/schema/generated/key.md deleted file mode 100644 index 6019f0b..0000000 --- a/schema/generated/key.md +++ /dev/null @@ -1,77 +0,0 @@ - - -# Slot: key - - - -URI: [rfs:key](https://framework.regen.network/schema/key) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [LocationProperties](LocationProperties.md) | | no | - - - - - - - -## Properties - -* Range: [String](String.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:key | -| native | rfs:key | - - - - -## LinkML Source - -
-```yaml -name: key -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: key -owner: LocationProperties -domain_of: -- LocationProperties -range: string - -``` -
\ No newline at end of file diff --git a/schema/generated/location.md b/schema/generated/location.md index ca77019..b82b03d 100644 --- a/schema/generated/location.md +++ b/schema/generated/location.md @@ -23,9 +23,9 @@ URI: [schema:location](http://schema.org/location) | Name | Description | Modifies Slot | | --- | --- | --- | -| [File](File.md) | | no | | [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no | | [ProjectInfo](ProjectInfo.md) | | no | +| [File](File.md) | | no | diff --git a/schema/generated/mapboxId.md b/schema/generated/mapboxId.md deleted file mode 100644 index 4fbbd51..0000000 --- a/schema/generated/mapboxId.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# Slot: mapboxId - - - -URI: [rfs:mapboxId](https://framework.regen.network/schema/mapboxId) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [LocationContext](LocationContext.md) | | no | - - - - - - - -## Properties - -* Range: [String](String.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:mapboxId | -| native | rfs:mapboxId | - - - - -## LinkML Source - -
-```yaml -name: mapboxId -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: mapbox_id -owner: LocationContext -domain_of: -- LocationContext -range: string -required: false - -``` -
\ No newline at end of file diff --git a/schema/generated/name.md b/schema/generated/name.md index 87d2886..5057aa2 100644 --- a/schema/generated/name.md +++ b/schema/generated/name.md @@ -23,10 +23,10 @@ URI: [schema:name](http://schema.org/name) | Name | Description | Modifies Slot | | --- | --- | --- | +| [AdministrativeArea](AdministrativeArea.md) | | no | | [ProjectRole](ProjectRole.md) | | no | | [ProjectInfo](ProjectInfo.md) | | no | | [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no | -| [AdministrativeArea](AdministrativeArea.md) | | no | | [File](File.md) | | no | | [Organization](Organization.md) | | no | diff --git a/schema/generated/ProjectSize.md b/schema/generated/projectSize.md similarity index 100% rename from schema/generated/ProjectSize.md rename to schema/generated/projectSize.md diff --git a/schema/generated/shortCode.md b/schema/generated/shortCode.md deleted file mode 100644 index fd93cab..0000000 --- a/schema/generated/shortCode.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# Slot: shortCode - - - -URI: [rfs:shortCode](https://framework.regen.network/schema/shortCode) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [LocationContext](LocationContext.md) | | no | - - - - - - - -## Properties - -* Range: [String](String.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:shortCode | -| native | rfs:shortCode | - - - - -## LinkML Source - -
-```yaml -name: shortCode -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: short_code -owner: LocationContext -domain_of: -- LocationContext -range: string -required: false - -``` -
\ No newline at end of file diff --git a/schema/generated/type.md b/schema/generated/type.md index 0794901..215ee4a 100644 --- a/schema/generated/type.md +++ b/schema/generated/type.md @@ -18,9 +18,9 @@ URI: [rfs:type](https://framework.regen.network/schema/type) | Name | Description | Modifies Slot | | --- | --- | --- | -| [Location](Location.md) | | no | -| [ProjectRole](ProjectRole.md) | | no | | [Geometry](Geometry.md) | | no | +| [ProjectRole](ProjectRole.md) | | no | +| [Location](Location.md) | | no | diff --git a/schema/generated/url.md b/schema/generated/url.md index 65151b6..ccd13a3 100644 --- a/schema/generated/url.md +++ b/schema/generated/url.md @@ -18,8 +18,8 @@ URI: [schema:URL](http://schema.org/URL) | Name | Description | Modifies Slot | | --- | --- | --- | -| [AdministrativeArea](AdministrativeArea.md) | | no | | [ProjectRole](ProjectRole.md) | | no | +| [AdministrativeArea](AdministrativeArea.md) | | no | | [Organization](Organization.md) | | no | diff --git a/schema/generated/wikidata.md b/schema/generated/wikidata.md deleted file mode 100644 index 041651c..0000000 --- a/schema/generated/wikidata.md +++ /dev/null @@ -1,78 +0,0 @@ - - -# Slot: wikidata - - - -URI: [rfs:wikidata](https://framework.regen.network/schema/wikidata) - - - - - - - - - -## Applicable Classes - -| Name | Description | Modifies Slot | -| --- | --- | --- | -| [LocationContext](LocationContext.md) | | no | - - - - - - - -## Properties - -* Range: [String](String.md) - - - - - -## Identifier and Mapping Information - - - - - - - -### Schema Source - - -* from schema: https://framework.regen.network/schema/ - - - - -## Mappings - -| Mapping Type | Mapped Value | -| --- | --- | -| self | rfs:wikidata | -| native | rfs:wikidata | - - - - -## LinkML Source - -
-```yaml -name: wikidata -from_schema: https://framework.regen.network/schema/ -rank: 1000 -alias: wikidata -owner: LocationContext -domain_of: -- LocationContext -range: string -required: false - -``` -
\ No newline at end of file From f7e188f6c768419526f7c36b9a9a2ba5ff6af1a3 Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Wed, 2 Oct 2024 02:13:33 -0700 Subject: [PATCH 2/7] Add script to populate taxonomy linkml schema --- schema/scripts/populateSemanticEnums.py | 33 +++ schema/src/taxonomy.yaml | 369 ++++++++++++++++++++++++ 2 files changed, 402 insertions(+) create mode 100644 schema/scripts/populateSemanticEnums.py create mode 100644 schema/src/taxonomy.yaml diff --git a/schema/scripts/populateSemanticEnums.py b/schema/scripts/populateSemanticEnums.py new file mode 100644 index 0000000..9a99a6d --- /dev/null +++ b/schema/scripts/populateSemanticEnums.py @@ -0,0 +1,33 @@ +import glob + +from linkml_runtime.linkml_model import PermissibleValue +from linkml_runtime.utils.schemaview import SchemaView +from linkml_runtime.dumpers import yaml_dumper + +# Load the taxonomy schema into a SchemaView. +taxonomy_schema_path = "../src/taxonomy.yaml" +view = SchemaView(taxonomy_schema_path) + +# Map each taxonomy to the linkml enum. +taxonomies = { + "activity": "ActivityTypes", + "environment-type": "EnvironmentTypeTypes", + "impact": "ImpactTypes", +} + +# Load all taxonomy terms and add to the enums. +for taxonomy, enum_name in taxonomies.items(): + enum = view.get_enum(enum_name) + md_files = glob.glob("**/*.md", root_dir=f"../../src/content/{taxonomy}", recursive=True) + for file in md_files: + enum_text = file.split("/").pop().replace(".md", "").replace(" ", "") + enum_value = PermissibleValue( + title=enum_text, + text=enum_text, + meaning=f"rft:{enum_text}" + ) + enum.permissible_values.update({enum_text: enum_value}) + +# Write back changes to the taxonomy schema file. +with open(taxonomy_schema_path, "w") as f: + f.write(yaml_dumper.dumps(view.schema)) diff --git a/schema/src/taxonomy.yaml b/schema/src/taxonomy.yaml new file mode 100644 index 0000000..54ca69b --- /dev/null +++ b/schema/src/taxonomy.yaml @@ -0,0 +1,369 @@ +name: Taxonomy +id: https://framework.regen.network/taxonomy/ +prefixes: + rfs: + prefix_prefix: rfs + prefix_reference: https://framework.regen.network/schema/ + rft: + prefix_prefix: rft + prefix_reference: https://framework.regen.network/taxonomy/ +default_curi_maps: +- semweb_context +default_prefix: rfs +default_range: string +enums: + ActivityTypes: + name: ActivityTypes + from_schema: https://framework.regen.network/taxonomy/ + permissible_values: + ResidueTillageManagement: + text: ResidueTillageManagement + meaning: rft:ResidueTillageManagement + title: ResidueTillageManagement + BiocharProduction: + text: BiocharProduction + meaning: rft:BiocharProduction + title: BiocharProduction + ImprovedForestManagement: + text: ImprovedForestManagement + meaning: rft:ImprovedForestManagement + title: ImprovedForestManagement + Agroforestry: + text: Agroforestry + meaning: rft:Agroforestry + title: Agroforestry + PrescribedGrazing: + text: PrescribedGrazing + meaning: rft:PrescribedGrazing + title: PrescribedGrazing + RiparianForestBuffers: + text: RiparianForestBuffers + meaning: rft:RiparianForestBuffers + title: RiparianForestBuffers + SoilAmendments: + text: SoilAmendments + meaning: rft:SoilAmendments + title: SoilAmendments + Conservation: + text: Conservation + meaning: rft:Conservation + title: Conservation + Ecotourism: + text: Ecotourism + meaning: rft:Ecotourism + title: Ecotourism + CoverCropping: + text: CoverCropping + meaning: rft:CoverCropping + title: CoverCropping + TreePlanting: + text: TreePlanting + meaning: rft:TreePlanting + title: TreePlanting + PhotocatalystApplication: + text: PhotocatalystApplication + meaning: rft:PhotocatalystApplication + title: PhotocatalystApplication + EcosystemRestoration: + text: EcosystemRestoration + meaning: rft:EcosystemRestoration + title: EcosystemRestoration + IndustrialBiocharProduction: + text: IndustrialBiocharProduction + meaning: rft:IndustrialBiocharProduction + title: IndustrialBiocharProduction + ArtisanalBiocharProduction: + text: ArtisanalBiocharProduction + meaning: rft:ArtisanalBiocharProduction + title: ArtisanalBiocharProduction + Biochar: + text: Biochar + meaning: rft:Biochar + title: Biochar + EnhancedRockWeathering: + text: EnhancedRockWeathering + meaning: rft:EnhancedRockWeathering + title: EnhancedRockWeathering + CompostAmendments: + text: CompostAmendments + meaning: rft:CompostAmendments + title: CompostAmendments + KeystoneSpeciesConservation: + text: KeystoneSpeciesConservation + meaning: rft:KeystoneSpeciesConservation + title: KeystoneSpeciesConservation + UmbrellaSpeciesConservation: + text: UmbrellaSpeciesConservation + meaning: rft:UmbrellaSpeciesConservation + title: UmbrellaSpeciesConservation + Silvopasture: + text: Silvopasture + meaning: rft:Silvopasture + title: Silvopasture + ForestFarming: + text: ForestFarming + meaning: rft:ForestFarming + title: ForestFarming + NonUrbanForestImprovement: + text: NonUrbanForestImprovement + meaning: rft:NonUrbanForestImprovement + title: NonUrbanForestImprovement + UrbanForestImprovement: + text: UrbanForestImprovement + meaning: rft:UrbanForestImprovement + title: UrbanForestImprovement + Afforestation: + text: Afforestation + meaning: rft:Afforestation + title: Afforestation + Reforestation: + text: Reforestation + meaning: rft:Reforestation + title: Reforestation + EnvironmentTypeTypes: + name: EnvironmentTypeTypes + from_schema: https://framework.regen.network/taxonomy/ + permissible_values: + Marine: + text: Marine + meaning: rft:Marine + title: Marine + Cropland: + text: Cropland + meaning: rft:Cropland + title: Cropland + UrbanTrees: + text: UrbanTrees + meaning: rft:UrbanTrees + title: UrbanTrees + Shrubland: + text: Shrubland + meaning: rft:Shrubland + title: Shrubland + Pasture: + text: Pasture + meaning: rft:Pasture + title: Pasture + Savanna: + text: Savanna + meaning: rft:Savanna + title: Savanna + Grassland: + text: Grassland + meaning: rft:Grassland + title: Grassland + AgroforestrySystem: + text: AgroforestrySystem + meaning: rft:AgroforestrySystem + title: AgroforestrySystem + PermanentIce: + text: PermanentIce + meaning: rft:PermanentIce + title: PermanentIce + Wetland: + text: Wetland + meaning: rft:Wetland + title: Wetland + Freshwater: + text: Freshwater + meaning: rft:Freshwater + title: Freshwater + Orchard: + text: Orchard + meaning: rft:Orchard + title: Orchard + AquacultureSystem: + text: AquacultureSystem + meaning: rft:AquacultureSystem + title: AquacultureSystem + Vineyard: + text: Vineyard + meaning: rft:Vineyard + title: Vineyard + Desert: + text: Desert + meaning: rft:Desert + title: Desert + Forest: + text: Forest + meaning: rft:Forest + title: Forest + IrrigatedCropland: + text: IrrigatedCropland + meaning: rft:IrrigatedCropland + title: IrrigatedCropland + RainfedCropland: + text: RainfedCropland + meaning: rft:RainfedCropland + title: RainfedCropland + TemperateShrubland: + text: TemperateShrubland + meaning: rft:TemperateShrubland + title: TemperateShrubland + BorealShrubland: + text: BorealShrubland + meaning: rft:BorealShrubland + title: BorealShrubland + TropicalShrubland: + text: TropicalShrubland + meaning: rft:TropicalShrubland + title: TropicalShrubland + Marsh: + text: Marsh + meaning: rft:Marsh + title: Marsh + Bog: + text: Bog + meaning: rft:Bog + title: Bog + Swamp: + text: Swamp + meaning: rft:Swamp + title: Swamp + TropicalForest: + text: TropicalForest + meaning: rft:TropicalForest + title: TropicalForest + TemperateForest: + text: TemperateForest + meaning: rft:TemperateForest + title: TemperateForest + BorealForest: + text: BorealForest + meaning: rft:BorealForest + title: BorealForest + Coastal: + text: Coastal + meaning: rft:Coastal + title: Coastal + DeepWater: + text: DeepWater + meaning: rft:DeepWater + title: DeepWater + CoralReef: + text: CoralReef + meaning: rft:CoralReef + title: CoralReef + TemperateGrassland: + text: TemperateGrassland + meaning: rft:TemperateGrassland + title: TemperateGrassland + Tundra: + text: Tundra + meaning: rft:Tundra + title: Tundra + TropicalGrassland: + text: TropicalGrassland + meaning: rft:TropicalGrassland + title: TropicalGrassland + Lake: + text: Lake + meaning: rft:Lake + title: Lake + Watercourse: + text: Watercourse + meaning: rft:Watercourse + title: Watercourse + ImpactTypes: + name: ImpactTypes + from_schema: https://framework.regen.network/taxonomy/ + permissible_values: + ReducedFertilizerAmendments: + text: ReducedFertilizerAmendments + meaning: rft:ReducedFertilizerAmendments + title: ReducedFertilizerAmendments + AvoidedDeforestationDegradation: + text: AvoidedDeforestationDegradation + meaning: rft:AvoidedDeforestationDegradation + title: AvoidedDeforestationDegradation + ImprovedCulturalHeritageAwareness: + text: ImprovedCulturalHeritageAwareness + meaning: rft:ImprovedCulturalHeritageAwareness + title: ImprovedCulturalHeritageAwareness + ImprovedBiodiversity: + text: ImprovedBiodiversity + meaning: rft:ImprovedBiodiversity + title: ImprovedBiodiversity + ImprovedEnvironmentalEducationOutreach: + text: ImprovedEnvironmentalEducationOutreach + meaning: rft:ImprovedEnvironmentalEducationOutreach + title: ImprovedEnvironmentalEducationOutreach + ReducedSoilErosion: + text: ReducedSoilErosion + meaning: rft:ReducedSoilErosion + title: ReducedSoilErosion + ReducedHerbicideAmendments: + text: ReducedHerbicideAmendments + meaning: rft:ReducedHerbicideAmendments + title: ReducedHerbicideAmendments + ImprovedForestHealth: + text: ImprovedForestHealth + meaning: rft:ImprovedForestHealth + title: ImprovedForestHealth + ImprovedCommunityHealth: + text: ImprovedCommunityHealth + meaning: rft:ImprovedCommunityHealth + title: ImprovedCommunityHealth + ImprovedWildlifeHabitat: + text: ImprovedWildlifeHabitat + meaning: rft:ImprovedWildlifeHabitat + title: ImprovedWildlifeHabitat + ImprovedSoilHealth: + text: ImprovedSoilHealth + meaning: rft:ImprovedSoilHealth + title: ImprovedSoilHealth + IncreasedForestCover: + text: IncreasedForestCover + meaning: rft:IncreasedForestCover + title: IncreasedForestCover + ReducedPesticideAmendments: + text: ReducedPesticideAmendments + meaning: rft:ReducedPesticideAmendments + title: ReducedPesticideAmendments + ImprovedWaterInfiltration: + text: ImprovedWaterInfiltration + meaning: rft:ImprovedWaterInfiltration + title: ImprovedWaterInfiltration + ImprovedWaterHoldingCapacity: + text: ImprovedWaterHoldingCapacity + meaning: rft:ImprovedWaterHoldingCapacity + title: ImprovedWaterHoldingCapacity + IncreasedCarbonSequestrationStorage: + text: IncreasedCarbonSequestrationStorage + meaning: rft:IncreasedCarbonSequestrationStorage + title: IncreasedCarbonSequestrationStorage + ReducedIrrigation: + text: ReducedIrrigation + meaning: rft:ReducedIrrigation + title: ReducedIrrigation + ImprovedSoilStructure: + text: ImprovedSoilStructure + meaning: rft:ImprovedSoilStructure + title: ImprovedSoilStructure + ImprovedNutrientCycling: + text: ImprovedNutrientCycling + meaning: rft:ImprovedNutrientCycling + title: ImprovedNutrientCycling +slots: + activity: + name: activity + description: The types of activities being implemented in projects + from_schema: https://framework.regen.network/taxonomy/ + slot_uri: rfs:activity + range: ActivityTypes + multivalued: true + environmentType: + name: environmentType + description: General classification of the project's environment type. + from_schema: https://framework.regen.network/taxonomy/ + slot_uri: rfs:environmentType + range: EnvironmentTypeTypes + multivalued: true + impact: + name: impact + description: A project or initiative’s current and potential impact + from_schema: https://framework.regen.network/taxonomy/ + slot_uri: rfs:impact + range: ImpactTypes + multivalued: true +source_file: ../src/taxonomy.yaml From dba88bb8018d4a28fa023f6a6683d5c4dca685cb Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Wed, 2 Oct 2024 02:14:02 -0700 Subject: [PATCH 3/7] Add activity, impact and environmentType slots to project info --- schema/src/ProjectInfo.yaml | 106 ++---------------------------------- schema/src/schemas.yaml | 1 + 2 files changed, 6 insertions(+), 101 deletions(-) diff --git a/schema/src/ProjectInfo.yaml b/schema/src/ProjectInfo.yaml index aaad8bd..594b7ef 100644 --- a/schema/src/ProjectInfo.yaml +++ b/schema/src/ProjectInfo.yaml @@ -9,6 +9,7 @@ prefixes: xsd: http://www.w3.org/2001/XMLSchema# imports: - linkml:types + - taxonomy default_curi_maps: - semweb_context default_prefix: rfs @@ -30,6 +31,9 @@ classes: - projectStartDate # optional - projectEndDate # optional - creditClassVersion # optional + - activity # optional + - environmentType # optional + - impact # optional ProjectRole: slots: - name @@ -175,104 +179,4 @@ enums: INDIVIDUAL: meaning: rfs:Individual ORGANIZATION: - meaning: rfs:Organization - # TODO: these should be imported from a shared vocabulary - EnvironmentTypeTypes: - description: The type of ecosystem - permissible_values: - CLOUD_FOREST: - meaning: rfs:CloudForest - TROPICAL_SAVANNAH: - meaning: rfs:TropicalSavannah - TROPICAL_DRY_FOREST: - meaning: rfs:TropicalDryForest - TROPICAL_VERY_HUMID_FOREST: - meaning: rfs:TropicalVeryHumidForest - TROPICAL_HUMID_FOREST: - meaning: rfs:TropicalHumidForest - PREMONTANE_HUMID_FOREST: - meaning: rfs:PremontaneHumidForest - LOW_MONTANE_VERY_HUMID_FOREST: - meaning: rfs:LowMontaneVeryHumidForest - RIPARIAN_FOREST: - meaning: rfs:RiparianForest - AGROFORESTRY_SYSTEM: - meaning: rfs:AgroforestrySystem - AQUACULTURE_SYSTEM: - meaning: rfs:AquacultureSystem - CROPLAND: - meaning: rfs:Cropland - IRRIGATED_CROPLAND: - meaning: rfs:IrrigatedCropland - RAINFED_CROPLAND: - meaning: rfs:RainfedCropland - DESERT: - meaning: rfs:Desert - FOREST: - meaning: rfs:Forest - BOREAL_FOREST: - meaning: rfs:BorealForest - TEMPERATE_FOREST: - meaning: rfs:TemperateForest - TROPICAL_FOREST: - meaning: rfs:TropicalForest - FRESHWATER: - meaning: rfs:Freshwater - LAKE: - meaning: rfs:Lake - WATERCOURSE: - meaning: rfs:Watercourse - GRASSLAND: - meaning: rfs:Grassland - TEMPERATE_GRASSLAND: - meaning: rfs:TemperateGrassland - TROPICAL_GRASSLAND: - meaning: rfs:TropicalGrassland - TUNDRA: - meaning: rfs:Tundra - MARINE: - meaning: rfs:Marine - COASTAL: - meaning: rfs:Coastal - CORAL_REEF: - meaning: rfs:CoralReef - DEEP_WATER: - meaning: rfs:DeepWater - ORCHARD: - meaning: rfs:Orchard - PASTURE: - meaning: rfs:Pasture - PERMANENT_ICE: - meaning: rfs:PermanentIce - SAVANNA: - meaning: rfs:Savanna - SHRUBLAND: - meaning: rfs:Shrubland - BOREAL_SHRUBLAND: - meaning: rfs:BorealShrubland - TEMPERATE_SHRUBLAND: - meaning: rfs:TemperateShrubland - TROPICAL_SHRUBLAND: - meaning: rfs:TropicalShrubland - URBAN_TREES: - meaning: rfs:UrbanTrees - VINEYARD: - meaning: rfs:Vineyard - WETLAND: - meaning: rfs:Wetland - BOG: - meaning: rfs:Bog - MARSH: - meaning: rfs:Marsh - SWAMP: - meaning: rfs:Swamp - # TODO: these should be imported from a shared vocabulary - ActivityTypes: - description: The type of activity - permissible_values: - CONSERVATION: - meaning: rfs:Conservation - description: a conservation activity - ECOSYSTEM_RESTORATION: - meaning: rfs:EcosystemRestoration - description: an ecosystem restoration activity + meaning: rfs:Organization \ No newline at end of file diff --git a/schema/src/schemas.yaml b/schema/src/schemas.yaml index 2afa322..d70cf41 100644 --- a/schema/src/schemas.yaml +++ b/schema/src/schemas.yaml @@ -11,6 +11,7 @@ imports: - ProjectInfo - ProjectPost - TerrasosProjectInfo + - taxonomy default_curi_maps: - semweb_context default_prefix: rfs From 50a9a1976eae53c7f48b22ba2d3ec175311befd1 Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Thu, 3 Oct 2024 11:03:40 -0700 Subject: [PATCH 4/7] Update schema readme --- schema/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/schema/README.md b/schema/README.md index 720576d..41df871 100644 --- a/schema/README.md +++ b/schema/README.md @@ -12,5 +12,9 @@ - Create separate schema files for each logical schema class and `import` into the root `schemas.yaml` file. - Generated markdown from schemas: ```shell - gen-doc schema/src/schemas.yml --directory schema/generated --diagram-type er_diagram + gen-doc schema/src/schemas.yaml --directory schema/generated --diagram-type er_diagram + ``` +- Generate linkml enums for taxonomy terms: + ```shell + python populateSemanticEnums.py ``` \ No newline at end of file From 7bd6a2fc3dae467f786987ae8078f9fe171e3372 Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Fri, 27 Dec 2024 12:24:34 -0800 Subject: [PATCH 5/7] Run gen-doc --- schema/generated/ActivityTypes.md | 147 +++++++++- schema/generated/EnvironmentTypeTypes.md | 353 +++++++++++------------ schema/generated/ImpactTypes.md | 149 ++++++++++ schema/generated/ProjectInfo.md | 32 ++ schema/generated/TerrasosProjectInfo.md | 28 ++ schema/generated/activity.md | 87 ++++++ schema/generated/impact.md | 87 ++++++ schema/generated/index.md | 7 +- 8 files changed, 694 insertions(+), 196 deletions(-) create mode 100644 schema/generated/ImpactTypes.md create mode 100644 schema/generated/activity.md create mode 100644 schema/generated/impact.md diff --git a/schema/generated/ActivityTypes.md b/schema/generated/ActivityTypes.md index e9641fc..8225616 100644 --- a/schema/generated/ActivityTypes.md +++ b/schema/generated/ActivityTypes.md @@ -2,19 +2,38 @@ - -_The type of activity_ - - - URI: [ActivityTypes](ActivityTypes.md) ## Permissible Values | Value | Meaning | Description | | --- | --- | --- | -| CONSERVATION | rfs:Conservation | a conservation activity | -| ECOSYSTEM_RESTORATION | rfs:EcosystemRestoration | an ecosystem restoration activity | +| ResidueTillageManagement | rft:ResidueTillageManagement | | +| BiocharProduction | rft:BiocharProduction | | +| ImprovedForestManagement | rft:ImprovedForestManagement | | +| Agroforestry | rft:Agroforestry | | +| PrescribedGrazing | rft:PrescribedGrazing | | +| RiparianForestBuffers | rft:RiparianForestBuffers | | +| SoilAmendments | rft:SoilAmendments | | +| Conservation | rft:Conservation | | +| Ecotourism | rft:Ecotourism | | +| CoverCropping | rft:CoverCropping | | +| TreePlanting | rft:TreePlanting | | +| PhotocatalystApplication | rft:PhotocatalystApplication | | +| EcosystemRestoration | rft:EcosystemRestoration | | +| IndustrialBiocharProduction | rft:IndustrialBiocharProduction | | +| ArtisanalBiocharProduction | rft:ArtisanalBiocharProduction | | +| Biochar | rft:Biochar | | +| EnhancedRockWeathering | rft:EnhancedRockWeathering | | +| CompostAmendments | rft:CompostAmendments | | +| KeystoneSpeciesConservation | rft:KeystoneSpeciesConservation | | +| UmbrellaSpeciesConservation | rft:UmbrellaSpeciesConservation | | +| Silvopasture | rft:Silvopasture | | +| ForestFarming | rft:ForestFarming | | +| NonUrbanForestImprovement | rft:NonUrbanForestImprovement | | +| UrbanForestImprovement | rft:UrbanForestImprovement | | +| Afforestation | rft:Afforestation | | +| Reforestation | rft:Reforestation | | @@ -24,6 +43,7 @@ URI: [ActivityTypes](ActivityTypes.md) | Name | Description | | --- | --- | | [projectActivities](projectActivities.md) | the activity | +| [activity](activity.md) | The types of activities being implemented in projects | | [projectActivity](projectActivity.md) | the activity | @@ -54,18 +74,113 @@ URI: [ActivityTypes](ActivityTypes.md)
```yaml name: ActivityTypes -description: The type of activity from_schema: https://framework.regen.network/schema/ rank: 1000 permissible_values: - CONSERVATION: - text: CONSERVATION - description: a conservation activity - meaning: rfs:Conservation - ECOSYSTEM_RESTORATION: - text: ECOSYSTEM_RESTORATION - description: an ecosystem restoration activity - meaning: rfs:EcosystemRestoration + ResidueTillageManagement: + text: ResidueTillageManagement + meaning: rft:ResidueTillageManagement + title: ResidueTillageManagement + BiocharProduction: + text: BiocharProduction + meaning: rft:BiocharProduction + title: BiocharProduction + ImprovedForestManagement: + text: ImprovedForestManagement + meaning: rft:ImprovedForestManagement + title: ImprovedForestManagement + Agroforestry: + text: Agroforestry + meaning: rft:Agroforestry + title: Agroforestry + PrescribedGrazing: + text: PrescribedGrazing + meaning: rft:PrescribedGrazing + title: PrescribedGrazing + RiparianForestBuffers: + text: RiparianForestBuffers + meaning: rft:RiparianForestBuffers + title: RiparianForestBuffers + SoilAmendments: + text: SoilAmendments + meaning: rft:SoilAmendments + title: SoilAmendments + Conservation: + text: Conservation + meaning: rft:Conservation + title: Conservation + Ecotourism: + text: Ecotourism + meaning: rft:Ecotourism + title: Ecotourism + CoverCropping: + text: CoverCropping + meaning: rft:CoverCropping + title: CoverCropping + TreePlanting: + text: TreePlanting + meaning: rft:TreePlanting + title: TreePlanting + PhotocatalystApplication: + text: PhotocatalystApplication + meaning: rft:PhotocatalystApplication + title: PhotocatalystApplication + EcosystemRestoration: + text: EcosystemRestoration + meaning: rft:EcosystemRestoration + title: EcosystemRestoration + IndustrialBiocharProduction: + text: IndustrialBiocharProduction + meaning: rft:IndustrialBiocharProduction + title: IndustrialBiocharProduction + ArtisanalBiocharProduction: + text: ArtisanalBiocharProduction + meaning: rft:ArtisanalBiocharProduction + title: ArtisanalBiocharProduction + Biochar: + text: Biochar + meaning: rft:Biochar + title: Biochar + EnhancedRockWeathering: + text: EnhancedRockWeathering + meaning: rft:EnhancedRockWeathering + title: EnhancedRockWeathering + CompostAmendments: + text: CompostAmendments + meaning: rft:CompostAmendments + title: CompostAmendments + KeystoneSpeciesConservation: + text: KeystoneSpeciesConservation + meaning: rft:KeystoneSpeciesConservation + title: KeystoneSpeciesConservation + UmbrellaSpeciesConservation: + text: UmbrellaSpeciesConservation + meaning: rft:UmbrellaSpeciesConservation + title: UmbrellaSpeciesConservation + Silvopasture: + text: Silvopasture + meaning: rft:Silvopasture + title: Silvopasture + ForestFarming: + text: ForestFarming + meaning: rft:ForestFarming + title: ForestFarming + NonUrbanForestImprovement: + text: NonUrbanForestImprovement + meaning: rft:NonUrbanForestImprovement + title: NonUrbanForestImprovement + UrbanForestImprovement: + text: UrbanForestImprovement + meaning: rft:UrbanForestImprovement + title: UrbanForestImprovement + Afforestation: + text: Afforestation + meaning: rft:Afforestation + title: Afforestation + Reforestation: + text: Reforestation + meaning: rft:Reforestation + title: Reforestation ```
diff --git a/schema/generated/EnvironmentTypeTypes.md b/schema/generated/EnvironmentTypeTypes.md index c30a455..76ff45f 100644 --- a/schema/generated/EnvironmentTypeTypes.md +++ b/schema/generated/EnvironmentTypeTypes.md @@ -2,60 +2,47 @@ - -_The type of ecosystem_ - - - URI: [EnvironmentTypeTypes](EnvironmentTypeTypes.md) ## Permissible Values | Value | Meaning | Description | | --- | --- | --- | -| CLOUD_FOREST | rfs:CloudForest | | -| TROPICAL_SAVANNAH | rfs:TropicalSavannah | | -| TROPICAL_DRY_FOREST | rfs:TropicalDryForest | | -| TROPICAL_VERY_HUMID_FOREST | rfs:TropicalVeryHumidForest | | -| TROPICAL_HUMID_FOREST | rfs:TropicalHumidForest | | -| PREMONTANE_HUMID_FOREST | rfs:PremontaneHumidForest | | -| LOW_MONTANE_VERY_HUMID_FOREST | rfs:LowMontaneVeryHumidForest | | -| RIPARIAN_FOREST | rfs:RiparianForest | | -| AGROFORESTRY_SYSTEM | rfs:AgroforestrySystem | | -| AQUACULTURE_SYSTEM | rfs:AquacultureSystem | | -| CROPLAND | rfs:Cropland | | -| IRRIGATED_CROPLAND | rfs:IrrigatedCropland | | -| RAINFED_CROPLAND | rfs:RainfedCropland | | -| DESERT | rfs:Desert | | -| FOREST | rfs:Forest | | -| BOREAL_FOREST | rfs:BorealForest | | -| TEMPERATE_FOREST | rfs:TemperateForest | | -| TROPICAL_FOREST | rfs:TropicalForest | | -| FRESHWATER | rfs:Freshwater | | -| LAKE | rfs:Lake | | -| WATERCOURSE | rfs:Watercourse | | -| GRASSLAND | rfs:Grassland | | -| TEMPERATE_GRASSLAND | rfs:TemperateGrassland | | -| TROPICAL_GRASSLAND | rfs:TropicalGrassland | | -| TUNDRA | rfs:Tundra | | -| MARINE | rfs:Marine | | -| COASTAL | rfs:Coastal | | -| CORAL_REEF | rfs:CoralReef | | -| DEEP_WATER | rfs:DeepWater | | -| ORCHARD | rfs:Orchard | | -| PASTURE | rfs:Pasture | | -| PERMANENT_ICE | rfs:PermanentIce | | -| SAVANNA | rfs:Savanna | | -| SHRUBLAND | rfs:Shrubland | | -| BOREAL_SHRUBLAND | rfs:BorealShrubland | | -| TEMPERATE_SHRUBLAND | rfs:TemperateShrubland | | -| TROPICAL_SHRUBLAND | rfs:TropicalShrubland | | -| URBAN_TREES | rfs:UrbanTrees | | -| VINEYARD | rfs:Vineyard | | -| WETLAND | rfs:Wetland | | -| BOG | rfs:Bog | | -| MARSH | rfs:Marsh | | -| SWAMP | rfs:Swamp | | +| Marine | rft:Marine | | +| Cropland | rft:Cropland | | +| UrbanTrees | rft:UrbanTrees | | +| Shrubland | rft:Shrubland | | +| Pasture | rft:Pasture | | +| Savanna | rft:Savanna | | +| Grassland | rft:Grassland | | +| AgroforestrySystem | rft:AgroforestrySystem | | +| PermanentIce | rft:PermanentIce | | +| Wetland | rft:Wetland | | +| Freshwater | rft:Freshwater | | +| Orchard | rft:Orchard | | +| AquacultureSystem | rft:AquacultureSystem | | +| Vineyard | rft:Vineyard | | +| Desert | rft:Desert | | +| Forest | rft:Forest | | +| IrrigatedCropland | rft:IrrigatedCropland | | +| RainfedCropland | rft:RainfedCropland | | +| TemperateShrubland | rft:TemperateShrubland | | +| BorealShrubland | rft:BorealShrubland | | +| TropicalShrubland | rft:TropicalShrubland | | +| Marsh | rft:Marsh | | +| Bog | rft:Bog | | +| Swamp | rft:Swamp | | +| TropicalForest | rft:TropicalForest | | +| TemperateForest | rft:TemperateForest | | +| BorealForest | rft:BorealForest | | +| Coastal | rft:Coastal | | +| DeepWater | rft:DeepWater | | +| CoralReef | rft:CoralReef | | +| TemperateGrassland | rft:TemperateGrassland | | +| Tundra | rft:Tundra | | +| TropicalGrassland | rft:TropicalGrassland | | +| Lake | rft:Lake | | +| Watercourse | rft:Watercourse | | @@ -94,139 +81,149 @@ URI: [EnvironmentTypeTypes](EnvironmentTypeTypes.md)
```yaml name: EnvironmentTypeTypes -description: The type of ecosystem from_schema: https://framework.regen.network/schema/ rank: 1000 permissible_values: - CLOUD_FOREST: - text: CLOUD_FOREST - meaning: rfs:CloudForest - TROPICAL_SAVANNAH: - text: TROPICAL_SAVANNAH - meaning: rfs:TropicalSavannah - TROPICAL_DRY_FOREST: - text: TROPICAL_DRY_FOREST - meaning: rfs:TropicalDryForest - TROPICAL_VERY_HUMID_FOREST: - text: TROPICAL_VERY_HUMID_FOREST - meaning: rfs:TropicalVeryHumidForest - TROPICAL_HUMID_FOREST: - text: TROPICAL_HUMID_FOREST - meaning: rfs:TropicalHumidForest - PREMONTANE_HUMID_FOREST: - text: PREMONTANE_HUMID_FOREST - meaning: rfs:PremontaneHumidForest - LOW_MONTANE_VERY_HUMID_FOREST: - text: LOW_MONTANE_VERY_HUMID_FOREST - meaning: rfs:LowMontaneVeryHumidForest - RIPARIAN_FOREST: - text: RIPARIAN_FOREST - meaning: rfs:RiparianForest - AGROFORESTRY_SYSTEM: - text: AGROFORESTRY_SYSTEM - meaning: rfs:AgroforestrySystem - AQUACULTURE_SYSTEM: - text: AQUACULTURE_SYSTEM - meaning: rfs:AquacultureSystem - CROPLAND: - text: CROPLAND - meaning: rfs:Cropland - IRRIGATED_CROPLAND: - text: IRRIGATED_CROPLAND - meaning: rfs:IrrigatedCropland - RAINFED_CROPLAND: - text: RAINFED_CROPLAND - meaning: rfs:RainfedCropland - DESERT: - text: DESERT - meaning: rfs:Desert - FOREST: - text: FOREST - meaning: rfs:Forest - BOREAL_FOREST: - text: BOREAL_FOREST - meaning: rfs:BorealForest - TEMPERATE_FOREST: - text: TEMPERATE_FOREST - meaning: rfs:TemperateForest - TROPICAL_FOREST: - text: TROPICAL_FOREST - meaning: rfs:TropicalForest - FRESHWATER: - text: FRESHWATER - meaning: rfs:Freshwater - LAKE: - text: LAKE - meaning: rfs:Lake - WATERCOURSE: - text: WATERCOURSE - meaning: rfs:Watercourse - GRASSLAND: - text: GRASSLAND - meaning: rfs:Grassland - TEMPERATE_GRASSLAND: - text: TEMPERATE_GRASSLAND - meaning: rfs:TemperateGrassland - TROPICAL_GRASSLAND: - text: TROPICAL_GRASSLAND - meaning: rfs:TropicalGrassland - TUNDRA: - text: TUNDRA - meaning: rfs:Tundra - MARINE: - text: MARINE - meaning: rfs:Marine - COASTAL: - text: COASTAL - meaning: rfs:Coastal - CORAL_REEF: - text: CORAL_REEF - meaning: rfs:CoralReef - DEEP_WATER: - text: DEEP_WATER - meaning: rfs:DeepWater - ORCHARD: - text: ORCHARD - meaning: rfs:Orchard - PASTURE: - text: PASTURE - meaning: rfs:Pasture - PERMANENT_ICE: - text: PERMANENT_ICE - meaning: rfs:PermanentIce - SAVANNA: - text: SAVANNA - meaning: rfs:Savanna - SHRUBLAND: - text: SHRUBLAND - meaning: rfs:Shrubland - BOREAL_SHRUBLAND: - text: BOREAL_SHRUBLAND - meaning: rfs:BorealShrubland - TEMPERATE_SHRUBLAND: - text: TEMPERATE_SHRUBLAND - meaning: rfs:TemperateShrubland - TROPICAL_SHRUBLAND: - text: TROPICAL_SHRUBLAND - meaning: rfs:TropicalShrubland - URBAN_TREES: - text: URBAN_TREES - meaning: rfs:UrbanTrees - VINEYARD: - text: VINEYARD - meaning: rfs:Vineyard - WETLAND: - text: WETLAND - meaning: rfs:Wetland - BOG: - text: BOG - meaning: rfs:Bog - MARSH: - text: MARSH - meaning: rfs:Marsh - SWAMP: - text: SWAMP - meaning: rfs:Swamp + Marine: + text: Marine + meaning: rft:Marine + title: Marine + Cropland: + text: Cropland + meaning: rft:Cropland + title: Cropland + UrbanTrees: + text: UrbanTrees + meaning: rft:UrbanTrees + title: UrbanTrees + Shrubland: + text: Shrubland + meaning: rft:Shrubland + title: Shrubland + Pasture: + text: Pasture + meaning: rft:Pasture + title: Pasture + Savanna: + text: Savanna + meaning: rft:Savanna + title: Savanna + Grassland: + text: Grassland + meaning: rft:Grassland + title: Grassland + AgroforestrySystem: + text: AgroforestrySystem + meaning: rft:AgroforestrySystem + title: AgroforestrySystem + PermanentIce: + text: PermanentIce + meaning: rft:PermanentIce + title: PermanentIce + Wetland: + text: Wetland + meaning: rft:Wetland + title: Wetland + Freshwater: + text: Freshwater + meaning: rft:Freshwater + title: Freshwater + Orchard: + text: Orchard + meaning: rft:Orchard + title: Orchard + AquacultureSystem: + text: AquacultureSystem + meaning: rft:AquacultureSystem + title: AquacultureSystem + Vineyard: + text: Vineyard + meaning: rft:Vineyard + title: Vineyard + Desert: + text: Desert + meaning: rft:Desert + title: Desert + Forest: + text: Forest + meaning: rft:Forest + title: Forest + IrrigatedCropland: + text: IrrigatedCropland + meaning: rft:IrrigatedCropland + title: IrrigatedCropland + RainfedCropland: + text: RainfedCropland + meaning: rft:RainfedCropland + title: RainfedCropland + TemperateShrubland: + text: TemperateShrubland + meaning: rft:TemperateShrubland + title: TemperateShrubland + BorealShrubland: + text: BorealShrubland + meaning: rft:BorealShrubland + title: BorealShrubland + TropicalShrubland: + text: TropicalShrubland + meaning: rft:TropicalShrubland + title: TropicalShrubland + Marsh: + text: Marsh + meaning: rft:Marsh + title: Marsh + Bog: + text: Bog + meaning: rft:Bog + title: Bog + Swamp: + text: Swamp + meaning: rft:Swamp + title: Swamp + TropicalForest: + text: TropicalForest + meaning: rft:TropicalForest + title: TropicalForest + TemperateForest: + text: TemperateForest + meaning: rft:TemperateForest + title: TemperateForest + BorealForest: + text: BorealForest + meaning: rft:BorealForest + title: BorealForest + Coastal: + text: Coastal + meaning: rft:Coastal + title: Coastal + DeepWater: + text: DeepWater + meaning: rft:DeepWater + title: DeepWater + CoralReef: + text: CoralReef + meaning: rft:CoralReef + title: CoralReef + TemperateGrassland: + text: TemperateGrassland + meaning: rft:TemperateGrassland + title: TemperateGrassland + Tundra: + text: Tundra + meaning: rft:Tundra + title: Tundra + TropicalGrassland: + text: TropicalGrassland + meaning: rft:TropicalGrassland + title: TropicalGrassland + Lake: + text: Lake + meaning: rft:Lake + title: Lake + Watercourse: + text: Watercourse + meaning: rft:Watercourse + title: Watercourse ```
diff --git a/schema/generated/ImpactTypes.md b/schema/generated/ImpactTypes.md new file mode 100644 index 0000000..1d63723 --- /dev/null +++ b/schema/generated/ImpactTypes.md @@ -0,0 +1,149 @@ +# Enum: ImpactTypes + + + +URI: [ImpactTypes](ImpactTypes.md) + +## Permissible Values + +| Value | Meaning | Description | +| --- | --- | --- | +| ReducedFertilizerAmendments | rft:ReducedFertilizerAmendments | | +| AvoidedDeforestationDegradation | rft:AvoidedDeforestationDegradation | | +| ImprovedCulturalHeritageAwareness | rft:ImprovedCulturalHeritageAwareness | | +| ImprovedBiodiversity | rft:ImprovedBiodiversity | | +| ImprovedEnvironmentalEducationOutreach | rft:ImprovedEnvironmentalEducationOutreach | | +| ReducedSoilErosion | rft:ReducedSoilErosion | | +| ReducedHerbicideAmendments | rft:ReducedHerbicideAmendments | | +| ImprovedForestHealth | rft:ImprovedForestHealth | | +| ImprovedCommunityHealth | rft:ImprovedCommunityHealth | | +| ImprovedWildlifeHabitat | rft:ImprovedWildlifeHabitat | | +| ImprovedSoilHealth | rft:ImprovedSoilHealth | | +| IncreasedForestCover | rft:IncreasedForestCover | | +| ReducedPesticideAmendments | rft:ReducedPesticideAmendments | | +| ImprovedWaterInfiltration | rft:ImprovedWaterInfiltration | | +| ImprovedWaterHoldingCapacity | rft:ImprovedWaterHoldingCapacity | | +| IncreasedCarbonSequestrationStorage | rft:IncreasedCarbonSequestrationStorage | | +| ReducedIrrigation | rft:ReducedIrrigation | | +| ImprovedSoilStructure | rft:ImprovedSoilStructure | | +| ImprovedNutrientCycling | rft:ImprovedNutrientCycling | | + + + + +## Slots + +| Name | Description | +| --- | --- | +| [impact](impact.md) | A project or initiative’s current and potential impact | + + + + + + +## Identifier and Mapping Information + + + + + + + +### Schema Source + + +* from schema: https://framework.regen.network/schema/ + + + + + + +## LinkML Source + +
+```yaml +name: ImpactTypes +from_schema: https://framework.regen.network/schema/ +rank: 1000 +permissible_values: + ReducedFertilizerAmendments: + text: ReducedFertilizerAmendments + meaning: rft:ReducedFertilizerAmendments + title: ReducedFertilizerAmendments + AvoidedDeforestationDegradation: + text: AvoidedDeforestationDegradation + meaning: rft:AvoidedDeforestationDegradation + title: AvoidedDeforestationDegradation + ImprovedCulturalHeritageAwareness: + text: ImprovedCulturalHeritageAwareness + meaning: rft:ImprovedCulturalHeritageAwareness + title: ImprovedCulturalHeritageAwareness + ImprovedBiodiversity: + text: ImprovedBiodiversity + meaning: rft:ImprovedBiodiversity + title: ImprovedBiodiversity + ImprovedEnvironmentalEducationOutreach: + text: ImprovedEnvironmentalEducationOutreach + meaning: rft:ImprovedEnvironmentalEducationOutreach + title: ImprovedEnvironmentalEducationOutreach + ReducedSoilErosion: + text: ReducedSoilErosion + meaning: rft:ReducedSoilErosion + title: ReducedSoilErosion + ReducedHerbicideAmendments: + text: ReducedHerbicideAmendments + meaning: rft:ReducedHerbicideAmendments + title: ReducedHerbicideAmendments + ImprovedForestHealth: + text: ImprovedForestHealth + meaning: rft:ImprovedForestHealth + title: ImprovedForestHealth + ImprovedCommunityHealth: + text: ImprovedCommunityHealth + meaning: rft:ImprovedCommunityHealth + title: ImprovedCommunityHealth + ImprovedWildlifeHabitat: + text: ImprovedWildlifeHabitat + meaning: rft:ImprovedWildlifeHabitat + title: ImprovedWildlifeHabitat + ImprovedSoilHealth: + text: ImprovedSoilHealth + meaning: rft:ImprovedSoilHealth + title: ImprovedSoilHealth + IncreasedForestCover: + text: IncreasedForestCover + meaning: rft:IncreasedForestCover + title: IncreasedForestCover + ReducedPesticideAmendments: + text: ReducedPesticideAmendments + meaning: rft:ReducedPesticideAmendments + title: ReducedPesticideAmendments + ImprovedWaterInfiltration: + text: ImprovedWaterInfiltration + meaning: rft:ImprovedWaterInfiltration + title: ImprovedWaterInfiltration + ImprovedWaterHoldingCapacity: + text: ImprovedWaterHoldingCapacity + meaning: rft:ImprovedWaterHoldingCapacity + title: ImprovedWaterHoldingCapacity + IncreasedCarbonSequestrationStorage: + text: IncreasedCarbonSequestrationStorage + meaning: rft:IncreasedCarbonSequestrationStorage + title: IncreasedCarbonSequestrationStorage + ReducedIrrigation: + text: ReducedIrrigation + meaning: rft:ReducedIrrigation + title: ReducedIrrigation + ImprovedSoilStructure: + text: ImprovedSoilStructure + meaning: rft:ImprovedSoilStructure + title: ImprovedSoilStructure + ImprovedNutrientCycling: + text: ImprovedNutrientCycling + meaning: rft:ImprovedNutrientCycling + title: ImprovedNutrientCycling + +``` +
diff --git a/schema/generated/ProjectInfo.md b/schema/generated/ProjectInfo.md index 5341bf1..6ea383a 100644 --- a/schema/generated/ProjectInfo.md +++ b/schema/generated/ProjectInfo.md @@ -18,6 +18,8 @@ ProjectInfo { string projectStartDate string projectEndDate string creditClassVersion + ActivityTypesList activity + ImpactTypesList impact } ProjectRole { string name @@ -84,6 +86,9 @@ Location ||--|o Any : "properties" | [projectStartDate](projectStartDate.md) | 0..1
[String](String.md) | The start date of the project | direct | | [projectEndDate](projectEndDate.md) | 0..1
[String](String.md) | The end date of the project | direct | | [creditClassVersion](creditClassVersion.md) | 0..1
[String](String.md) | The version of the credit class used for the project | direct | +| [activity](activity.md) | *
[ActivityTypes](ActivityTypes.md) | The types of activities being implemented in projects | direct | +| [environmentType](environmentType.md) | *
[EnvironmentTypeTypes](EnvironmentTypeTypes.md) | The environment type of the project | direct | +| [impact](impact.md) | *
[ImpactTypes](ImpactTypes.md) | A project or initiative’s current and potential impact | direct | @@ -145,6 +150,9 @@ slots: - projectStartDate - projectEndDate - creditClassVersion +- activity +- environmentType +- impact class_uri: rfs:ProjectInfo ``` @@ -302,6 +310,30 @@ attributes: domain_of: - ProjectInfo range: string + activity: + name: activity + description: The types of activities being implemented in projects + from_schema: https://framework.regen.network/schema/ + rank: 1000 + slot_uri: rfs:activity + alias: activity + owner: ProjectInfo + domain_of: + - ProjectInfo + range: ActivityTypes + multivalued: true + impact: + name: impact + description: A project or initiative’s current and potential impact + from_schema: https://framework.regen.network/schema/ + rank: 1000 + slot_uri: rfs:impact + alias: impact + owner: ProjectInfo + domain_of: + - ProjectInfo + range: ImpactTypes + multivalued: true class_uri: rfs:ProjectInfo ``` diff --git a/schema/generated/TerrasosProjectInfo.md b/schema/generated/TerrasosProjectInfo.md index a09c75e..f22d7cb 100644 --- a/schema/generated/TerrasosProjectInfo.md +++ b/schema/generated/TerrasosProjectInfo.md @@ -27,6 +27,8 @@ TerrasosProjectInfo { string projectStartDate string projectEndDate string creditClassVersion + ActivityTypesList activity + ImpactTypesList impact } ProjectRole { string name @@ -127,6 +129,8 @@ ManagementArea ||--|o QuantityValue : "extent" | [projectStartDate](projectStartDate.md) | 0..1
[String](String.md) | The start date of the project | [ProjectInfo](ProjectInfo.md) | | [projectEndDate](projectEndDate.md) | 0..1
[String](String.md) | The end date of the project | [ProjectInfo](ProjectInfo.md) | | [creditClassVersion](creditClassVersion.md) | 0..1
[String](String.md) | The version of the credit class used for the project | [ProjectInfo](ProjectInfo.md) | +| [activity](activity.md) | *
[ActivityTypes](ActivityTypes.md) | The types of activities being implemented in projects | [ProjectInfo](ProjectInfo.md) | +| [impact](impact.md) | *
[ImpactTypes](ImpactTypes.md) | A project or initiative’s current and potential impact | [ProjectInfo](ProjectInfo.md) | @@ -510,6 +514,30 @@ attributes: domain_of: - ProjectInfo range: string + activity: + name: activity + description: The types of activities being implemented in projects + from_schema: https://framework.regen.network/schema/ + rank: 1000 + slot_uri: rfs:activity + alias: activity + owner: TerrasosProjectInfo + domain_of: + - ProjectInfo + range: ActivityTypes + multivalued: true + impact: + name: impact + description: A project or initiative’s current and potential impact + from_schema: https://framework.regen.network/schema/ + rank: 1000 + slot_uri: rfs:impact + alias: impact + owner: TerrasosProjectInfo + domain_of: + - ProjectInfo + range: ImpactTypes + multivalued: true class_uri: rfs:TerrasosProjectInfo ``` diff --git a/schema/generated/activity.md b/schema/generated/activity.md new file mode 100644 index 0000000..824096e --- /dev/null +++ b/schema/generated/activity.md @@ -0,0 +1,87 @@ + + +# Slot: activity + + +_The types of activities being implemented in projects_ + + + + + +URI: [rfs:activity](https://framework.regen.network/schema/activity) + + + + + + + + + +## Applicable Classes + +| Name | Description | Modifies Slot | +| --- | --- | --- | +| [ProjectInfo](ProjectInfo.md) | | no | +| [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no | + + + + + + + +## Properties + +* Range: [ActivityTypes](ActivityTypes.md) + +* Multivalued: True + + + + + +## Identifier and Mapping Information + + + + + + + +### Schema Source + + +* from schema: https://framework.regen.network/schema/ + + + + +## Mappings + +| Mapping Type | Mapped Value | +| --- | --- | +| self | rfs:activity | +| native | rfs:activity | + + + + +## LinkML Source + +
+```yaml +name: activity +description: The types of activities being implemented in projects +from_schema: https://framework.regen.network/schema/ +rank: 1000 +slot_uri: rfs:activity +alias: activity +domain_of: +- ProjectInfo +range: ActivityTypes +multivalued: true + +``` +
\ No newline at end of file diff --git a/schema/generated/impact.md b/schema/generated/impact.md new file mode 100644 index 0000000..a425a90 --- /dev/null +++ b/schema/generated/impact.md @@ -0,0 +1,87 @@ + + +# Slot: impact + + +_A project or initiative’s current and potential impact_ + + + + + +URI: [rfs:impact](https://framework.regen.network/schema/impact) + + + + + + + + + +## Applicable Classes + +| Name | Description | Modifies Slot | +| --- | --- | --- | +| [ProjectInfo](ProjectInfo.md) | | no | +| [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no | + + + + + + + +## Properties + +* Range: [ImpactTypes](ImpactTypes.md) + +* Multivalued: True + + + + + +## Identifier and Mapping Information + + + + + + + +### Schema Source + + +* from schema: https://framework.regen.network/schema/ + + + + +## Mappings + +| Mapping Type | Mapped Value | +| --- | --- | +| self | rfs:impact | +| native | rfs:impact | + + + + +## LinkML Source + +
+```yaml +name: impact +description: A project or initiative’s current and potential impact +from_schema: https://framework.regen.network/schema/ +rank: 1000 +slot_uri: rfs:impact +alias: impact +domain_of: +- ProjectInfo +range: ImpactTypes +multivalued: true + +``` +
\ No newline at end of file diff --git a/schema/generated/index.md b/schema/generated/index.md index 0eecdfd..3cff5cf 100644 --- a/schema/generated/index.md +++ b/schema/generated/index.md @@ -32,6 +32,7 @@ Name: Schemas | Slot | Description | | --- | --- | +| [activity](activity.md) | The types of activities being implemented in projects | | [administrativeArea](administrativeArea.md) | The administrative area associated with the project | | [bbox](bbox.md) | | | [biomeType](biomeType.md) | The type of biome associated with the project | @@ -52,6 +53,7 @@ Name: Schemas | [geometry](geometry.md) | | | [id](id.md) | | | [image](image.md) | | +| [impact](impact.md) | A project or initiative’s current and potential impact | | [iri](iri.md) | | | [location](location.md) | The location of the project | | [managementAreas](managementAreas.md) | The management areas associated with the project | @@ -89,9 +91,10 @@ Name: Schemas | Enumeration | Description | | --- | --- | -| [ActivityTypes](ActivityTypes.md) | The type of activity | +| [ActivityTypes](ActivityTypes.md) | | | [ConservationStatusTypes](ConservationStatusTypes.md) | The conservation status of the project | -| [EnvironmentTypeTypes](EnvironmentTypeTypes.md) | The type of ecosystem | +| [EnvironmentTypeTypes](EnvironmentTypeTypes.md) | | +| [ImpactTypes](ImpactTypes.md) | | | [MarketTypeTypes](MarketTypeTypes.md) | The type of marketplace | | [ProjectRoleTypes](ProjectRoleTypes.md) | | From 42a58fac4f5a8a9a2648626929d8c305a52491cd Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Fri, 27 Dec 2024 12:44:05 -0800 Subject: [PATCH 6/7] Add gen-taxonomy to makefile --- schema/Makefile | 5 ++++- schema/scripts/populateSemanticEnums.py | 4 ++-- schema/src/taxonomy.yaml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/schema/Makefile b/schema/Makefile index ac1d86f..b9bd32e 100644 --- a/schema/Makefile +++ b/schema/Makefile @@ -1,3 +1,6 @@ +gen-taxonomy: + python3 scripts/populateSemanticEnums.py + lint: linkml-lint --validate src/ -a @@ -10,4 +13,4 @@ gen-jsonld: validate: linkml-validate -s src/TerrasosProjectInfo.yaml --target-class TerrasosProjectInfo data/TerrasosProjectInfoData.yaml -all: lint gen-doc gen-jsonld validate +all: gen-taxonomy lint gen-doc gen-jsonld validate diff --git a/schema/scripts/populateSemanticEnums.py b/schema/scripts/populateSemanticEnums.py index 9a99a6d..84f0c79 100644 --- a/schema/scripts/populateSemanticEnums.py +++ b/schema/scripts/populateSemanticEnums.py @@ -5,7 +5,7 @@ from linkml_runtime.dumpers import yaml_dumper # Load the taxonomy schema into a SchemaView. -taxonomy_schema_path = "../src/taxonomy.yaml" +taxonomy_schema_path = "src/taxonomy.yaml" view = SchemaView(taxonomy_schema_path) # Map each taxonomy to the linkml enum. @@ -18,7 +18,7 @@ # Load all taxonomy terms and add to the enums. for taxonomy, enum_name in taxonomies.items(): enum = view.get_enum(enum_name) - md_files = glob.glob("**/*.md", root_dir=f"../../src/content/{taxonomy}", recursive=True) + md_files = glob.glob("**/*.md", root_dir=f"../src/content/{taxonomy}", recursive=True) for file in md_files: enum_text = file.split("/").pop().replace(".md", "").replace(" ", "") enum_value = PermissibleValue( diff --git a/schema/src/taxonomy.yaml b/schema/src/taxonomy.yaml index 54ca69b..a61bf71 100644 --- a/schema/src/taxonomy.yaml +++ b/schema/src/taxonomy.yaml @@ -366,4 +366,4 @@ slots: slot_uri: rfs:impact range: ImpactTypes multivalued: true -source_file: ../src/taxonomy.yaml +source_file: src/taxonomy.yaml From 9c18c532d2a9220b83bb34daf8db0ae6ef5ad3c6 Mon Sep 17 00:00:00 2001 From: Paul Weidner Date: Fri, 27 Dec 2024 13:44:58 -0800 Subject: [PATCH 7/7] Update taxonomy enums to upper snake case for consistency --- schema/data/TerrasosProjectInfoData.yaml | 2 +- schema/generated/ActivityTypes.md | 156 +++++------ schema/generated/EnvironmentTypeTypes.md | 210 +++++++-------- schema/generated/ImpactTypes.md | 114 ++++---- schema/scripts/populateSemanticEnums.py | 12 +- schema/src/taxonomy.yaml | 320 +++++++++++------------ 6 files changed, 408 insertions(+), 406 deletions(-) diff --git a/schema/data/TerrasosProjectInfoData.yaml b/schema/data/TerrasosProjectInfoData.yaml index b065460..5465803 100644 --- a/schema/data/TerrasosProjectInfoData.yaml +++ b/schema/data/TerrasosProjectInfoData.yaml @@ -28,7 +28,7 @@ biomeType: watershed: "Amazon River" subWatershed: "Upper Amazon" environmentType: - - CLOUD_FOREST + - BOG projectDuration: "P1Y" creditClassVersion: "1.0" ecologicalConnectivityIndex: 75.5 diff --git a/schema/generated/ActivityTypes.md b/schema/generated/ActivityTypes.md index 8225616..ed1eaff 100644 --- a/schema/generated/ActivityTypes.md +++ b/schema/generated/ActivityTypes.md @@ -8,32 +8,32 @@ URI: [ActivityTypes](ActivityTypes.md) | Value | Meaning | Description | | --- | --- | --- | -| ResidueTillageManagement | rft:ResidueTillageManagement | | -| BiocharProduction | rft:BiocharProduction | | -| ImprovedForestManagement | rft:ImprovedForestManagement | | -| Agroforestry | rft:Agroforestry | | -| PrescribedGrazing | rft:PrescribedGrazing | | -| RiparianForestBuffers | rft:RiparianForestBuffers | | -| SoilAmendments | rft:SoilAmendments | | -| Conservation | rft:Conservation | | -| Ecotourism | rft:Ecotourism | | -| CoverCropping | rft:CoverCropping | | -| TreePlanting | rft:TreePlanting | | -| PhotocatalystApplication | rft:PhotocatalystApplication | | -| EcosystemRestoration | rft:EcosystemRestoration | | -| IndustrialBiocharProduction | rft:IndustrialBiocharProduction | | -| ArtisanalBiocharProduction | rft:ArtisanalBiocharProduction | | -| Biochar | rft:Biochar | | -| EnhancedRockWeathering | rft:EnhancedRockWeathering | | -| CompostAmendments | rft:CompostAmendments | | -| KeystoneSpeciesConservation | rft:KeystoneSpeciesConservation | | -| UmbrellaSpeciesConservation | rft:UmbrellaSpeciesConservation | | -| Silvopasture | rft:Silvopasture | | -| ForestFarming | rft:ForestFarming | | -| NonUrbanForestImprovement | rft:NonUrbanForestImprovement | | -| UrbanForestImprovement | rft:UrbanForestImprovement | | -| Afforestation | rft:Afforestation | | -| Reforestation | rft:Reforestation | | +| RESIDUE_TILLAGE_MANAGEMENT | rft:ResidueTillageManagement | | +| BIOCHAR_PRODUCTION | rft:BiocharProduction | | +| IMPROVED_FOREST_MANAGEMENT | rft:ImprovedForestManagement | | +| AGROFORESTRY | rft:Agroforestry | | +| PRESCRIBED_GRAZING | rft:PrescribedGrazing | | +| RIPARIAN_FOREST_BUFFERS | rft:RiparianForestBuffers | | +| SOIL_AMENDMENTS | rft:SoilAmendments | | +| CONSERVATION | rft:Conservation | | +| ECOTOURISM | rft:Ecotourism | | +| COVER_CROPPING | rft:CoverCropping | | +| TREE_PLANTING | rft:TreePlanting | | +| PHOTOCATALYST_APPLICATION | rft:PhotocatalystApplication | | +| ECOSYSTEM_RESTORATION | rft:EcosystemRestoration | | +| INDUSTRIAL_BIOCHAR_PRODUCTION | rft:IndustrialBiocharProduction | | +| ARTISANAL_BIOCHAR_PRODUCTION | rft:ArtisanalBiocharProduction | | +| BIOCHAR | rft:Biochar | | +| ENHANCED_ROCK_WEATHERING | rft:EnhancedRockWeathering | | +| COMPOST_AMENDMENTS | rft:CompostAmendments | | +| KEYSTONE_SPECIES_CONSERVATION | rft:KeystoneSpeciesConservation | | +| UMBRELLA_SPECIES_CONSERVATION | rft:UmbrellaSpeciesConservation | | +| SILVOPASTURE | rft:Silvopasture | | +| FOREST_FARMING | rft:ForestFarming | | +| NON_URBAN_FOREST_IMPROVEMENT | rft:NonUrbanForestImprovement | | +| URBAN_FOREST_IMPROVEMENT | rft:UrbanForestImprovement | | +| AFFORESTATION | rft:Afforestation | | +| REFORESTATION | rft:Reforestation | | @@ -77,108 +77,108 @@ name: ActivityTypes from_schema: https://framework.regen.network/schema/ rank: 1000 permissible_values: - ResidueTillageManagement: - text: ResidueTillageManagement + RESIDUE_TILLAGE_MANAGEMENT: + text: RESIDUE_TILLAGE_MANAGEMENT meaning: rft:ResidueTillageManagement title: ResidueTillageManagement - BiocharProduction: - text: BiocharProduction + BIOCHAR_PRODUCTION: + text: BIOCHAR_PRODUCTION meaning: rft:BiocharProduction title: BiocharProduction - ImprovedForestManagement: - text: ImprovedForestManagement + IMPROVED_FOREST_MANAGEMENT: + text: IMPROVED_FOREST_MANAGEMENT meaning: rft:ImprovedForestManagement title: ImprovedForestManagement - Agroforestry: - text: Agroforestry + AGROFORESTRY: + text: AGROFORESTRY meaning: rft:Agroforestry title: Agroforestry - PrescribedGrazing: - text: PrescribedGrazing + PRESCRIBED_GRAZING: + text: PRESCRIBED_GRAZING meaning: rft:PrescribedGrazing title: PrescribedGrazing - RiparianForestBuffers: - text: RiparianForestBuffers + RIPARIAN_FOREST_BUFFERS: + text: RIPARIAN_FOREST_BUFFERS meaning: rft:RiparianForestBuffers title: RiparianForestBuffers - SoilAmendments: - text: SoilAmendments + SOIL_AMENDMENTS: + text: SOIL_AMENDMENTS meaning: rft:SoilAmendments title: SoilAmendments - Conservation: - text: Conservation + CONSERVATION: + text: CONSERVATION meaning: rft:Conservation title: Conservation - Ecotourism: - text: Ecotourism + ECOTOURISM: + text: ECOTOURISM meaning: rft:Ecotourism title: Ecotourism - CoverCropping: - text: CoverCropping + COVER_CROPPING: + text: COVER_CROPPING meaning: rft:CoverCropping title: CoverCropping - TreePlanting: - text: TreePlanting + TREE_PLANTING: + text: TREE_PLANTING meaning: rft:TreePlanting title: TreePlanting - PhotocatalystApplication: - text: PhotocatalystApplication + PHOTOCATALYST_APPLICATION: + text: PHOTOCATALYST_APPLICATION meaning: rft:PhotocatalystApplication title: PhotocatalystApplication - EcosystemRestoration: - text: EcosystemRestoration + ECOSYSTEM_RESTORATION: + text: ECOSYSTEM_RESTORATION meaning: rft:EcosystemRestoration title: EcosystemRestoration - IndustrialBiocharProduction: - text: IndustrialBiocharProduction + INDUSTRIAL_BIOCHAR_PRODUCTION: + text: INDUSTRIAL_BIOCHAR_PRODUCTION meaning: rft:IndustrialBiocharProduction title: IndustrialBiocharProduction - ArtisanalBiocharProduction: - text: ArtisanalBiocharProduction + ARTISANAL_BIOCHAR_PRODUCTION: + text: ARTISANAL_BIOCHAR_PRODUCTION meaning: rft:ArtisanalBiocharProduction title: ArtisanalBiocharProduction - Biochar: - text: Biochar + BIOCHAR: + text: BIOCHAR meaning: rft:Biochar title: Biochar - EnhancedRockWeathering: - text: EnhancedRockWeathering + ENHANCED_ROCK_WEATHERING: + text: ENHANCED_ROCK_WEATHERING meaning: rft:EnhancedRockWeathering title: EnhancedRockWeathering - CompostAmendments: - text: CompostAmendments + COMPOST_AMENDMENTS: + text: COMPOST_AMENDMENTS meaning: rft:CompostAmendments title: CompostAmendments - KeystoneSpeciesConservation: - text: KeystoneSpeciesConservation + KEYSTONE_SPECIES_CONSERVATION: + text: KEYSTONE_SPECIES_CONSERVATION meaning: rft:KeystoneSpeciesConservation title: KeystoneSpeciesConservation - UmbrellaSpeciesConservation: - text: UmbrellaSpeciesConservation + UMBRELLA_SPECIES_CONSERVATION: + text: UMBRELLA_SPECIES_CONSERVATION meaning: rft:UmbrellaSpeciesConservation title: UmbrellaSpeciesConservation - Silvopasture: - text: Silvopasture + SILVOPASTURE: + text: SILVOPASTURE meaning: rft:Silvopasture title: Silvopasture - ForestFarming: - text: ForestFarming + FOREST_FARMING: + text: FOREST_FARMING meaning: rft:ForestFarming title: ForestFarming - NonUrbanForestImprovement: - text: NonUrbanForestImprovement + NON_URBAN_FOREST_IMPROVEMENT: + text: NON_URBAN_FOREST_IMPROVEMENT meaning: rft:NonUrbanForestImprovement title: NonUrbanForestImprovement - UrbanForestImprovement: - text: UrbanForestImprovement + URBAN_FOREST_IMPROVEMENT: + text: URBAN_FOREST_IMPROVEMENT meaning: rft:UrbanForestImprovement title: UrbanForestImprovement - Afforestation: - text: Afforestation + AFFORESTATION: + text: AFFORESTATION meaning: rft:Afforestation title: Afforestation - Reforestation: - text: Reforestation + REFORESTATION: + text: REFORESTATION meaning: rft:Reforestation title: Reforestation diff --git a/schema/generated/EnvironmentTypeTypes.md b/schema/generated/EnvironmentTypeTypes.md index 76ff45f..07b50d0 100644 --- a/schema/generated/EnvironmentTypeTypes.md +++ b/schema/generated/EnvironmentTypeTypes.md @@ -8,41 +8,41 @@ URI: [EnvironmentTypeTypes](EnvironmentTypeTypes.md) | Value | Meaning | Description | | --- | --- | --- | -| Marine | rft:Marine | | -| Cropland | rft:Cropland | | -| UrbanTrees | rft:UrbanTrees | | -| Shrubland | rft:Shrubland | | -| Pasture | rft:Pasture | | -| Savanna | rft:Savanna | | -| Grassland | rft:Grassland | | -| AgroforestrySystem | rft:AgroforestrySystem | | -| PermanentIce | rft:PermanentIce | | -| Wetland | rft:Wetland | | -| Freshwater | rft:Freshwater | | -| Orchard | rft:Orchard | | -| AquacultureSystem | rft:AquacultureSystem | | -| Vineyard | rft:Vineyard | | -| Desert | rft:Desert | | -| Forest | rft:Forest | | -| IrrigatedCropland | rft:IrrigatedCropland | | -| RainfedCropland | rft:RainfedCropland | | -| TemperateShrubland | rft:TemperateShrubland | | -| BorealShrubland | rft:BorealShrubland | | -| TropicalShrubland | rft:TropicalShrubland | | -| Marsh | rft:Marsh | | -| Bog | rft:Bog | | -| Swamp | rft:Swamp | | -| TropicalForest | rft:TropicalForest | | -| TemperateForest | rft:TemperateForest | | -| BorealForest | rft:BorealForest | | -| Coastal | rft:Coastal | | -| DeepWater | rft:DeepWater | | -| CoralReef | rft:CoralReef | | -| TemperateGrassland | rft:TemperateGrassland | | -| Tundra | rft:Tundra | | -| TropicalGrassland | rft:TropicalGrassland | | -| Lake | rft:Lake | | -| Watercourse | rft:Watercourse | | +| MARINE | rft:Marine | | +| CROPLAND | rft:Cropland | | +| URBAN_TREES | rft:UrbanTrees | | +| SHRUBLAND | rft:Shrubland | | +| PASTURE | rft:Pasture | | +| SAVANNA | rft:Savanna | | +| GRASSLAND | rft:Grassland | | +| AGROFORESTRY_SYSTEM | rft:AgroforestrySystem | | +| PERMANENT_ICE | rft:PermanentIce | | +| WETLAND | rft:Wetland | | +| FRESHWATER | rft:Freshwater | | +| ORCHARD | rft:Orchard | | +| AQUACULTURE_SYSTEM | rft:AquacultureSystem | | +| VINEYARD | rft:Vineyard | | +| DESERT | rft:Desert | | +| FOREST | rft:Forest | | +| IRRIGATED_CROPLAND | rft:IrrigatedCropland | | +| RAINFED_CROPLAND | rft:RainfedCropland | | +| TEMPERATE_SHRUBLAND | rft:TemperateShrubland | | +| BOREAL_SHRUBLAND | rft:BorealShrubland | | +| TROPICAL_SHRUBLAND | rft:TropicalShrubland | | +| MARSH | rft:Marsh | | +| BOG | rft:Bog | | +| SWAMP | rft:Swamp | | +| TROPICAL_FOREST | rft:TropicalForest | | +| TEMPERATE_FOREST | rft:TemperateForest | | +| BOREAL_FOREST | rft:BorealForest | | +| COASTAL | rft:Coastal | | +| DEEP_WATER | rft:DeepWater | | +| CORAL_REEF | rft:CoralReef | | +| TEMPERATE_GRASSLAND | rft:TemperateGrassland | | +| TUNDRA | rft:Tundra | | +| TROPICAL_GRASSLAND | rft:TropicalGrassland | | +| LAKE | rft:Lake | | +| WATERCOURSE | rft:Watercourse | | @@ -84,144 +84,144 @@ name: EnvironmentTypeTypes from_schema: https://framework.regen.network/schema/ rank: 1000 permissible_values: - Marine: - text: Marine + MARINE: + text: MARINE meaning: rft:Marine title: Marine - Cropland: - text: Cropland + CROPLAND: + text: CROPLAND meaning: rft:Cropland title: Cropland - UrbanTrees: - text: UrbanTrees + URBAN_TREES: + text: URBAN_TREES meaning: rft:UrbanTrees title: UrbanTrees - Shrubland: - text: Shrubland + SHRUBLAND: + text: SHRUBLAND meaning: rft:Shrubland title: Shrubland - Pasture: - text: Pasture + PASTURE: + text: PASTURE meaning: rft:Pasture title: Pasture - Savanna: - text: Savanna + SAVANNA: + text: SAVANNA meaning: rft:Savanna title: Savanna - Grassland: - text: Grassland + GRASSLAND: + text: GRASSLAND meaning: rft:Grassland title: Grassland - AgroforestrySystem: - text: AgroforestrySystem + AGROFORESTRY_SYSTEM: + text: AGROFORESTRY_SYSTEM meaning: rft:AgroforestrySystem title: AgroforestrySystem - PermanentIce: - text: PermanentIce + PERMANENT_ICE: + text: PERMANENT_ICE meaning: rft:PermanentIce title: PermanentIce - Wetland: - text: Wetland + WETLAND: + text: WETLAND meaning: rft:Wetland title: Wetland - Freshwater: - text: Freshwater + FRESHWATER: + text: FRESHWATER meaning: rft:Freshwater title: Freshwater - Orchard: - text: Orchard + ORCHARD: + text: ORCHARD meaning: rft:Orchard title: Orchard - AquacultureSystem: - text: AquacultureSystem + AQUACULTURE_SYSTEM: + text: AQUACULTURE_SYSTEM meaning: rft:AquacultureSystem title: AquacultureSystem - Vineyard: - text: Vineyard + VINEYARD: + text: VINEYARD meaning: rft:Vineyard title: Vineyard - Desert: - text: Desert + DESERT: + text: DESERT meaning: rft:Desert title: Desert - Forest: - text: Forest + FOREST: + text: FOREST meaning: rft:Forest title: Forest - IrrigatedCropland: - text: IrrigatedCropland + IRRIGATED_CROPLAND: + text: IRRIGATED_CROPLAND meaning: rft:IrrigatedCropland title: IrrigatedCropland - RainfedCropland: - text: RainfedCropland + RAINFED_CROPLAND: + text: RAINFED_CROPLAND meaning: rft:RainfedCropland title: RainfedCropland - TemperateShrubland: - text: TemperateShrubland + TEMPERATE_SHRUBLAND: + text: TEMPERATE_SHRUBLAND meaning: rft:TemperateShrubland title: TemperateShrubland - BorealShrubland: - text: BorealShrubland + BOREAL_SHRUBLAND: + text: BOREAL_SHRUBLAND meaning: rft:BorealShrubland title: BorealShrubland - TropicalShrubland: - text: TropicalShrubland + TROPICAL_SHRUBLAND: + text: TROPICAL_SHRUBLAND meaning: rft:TropicalShrubland title: TropicalShrubland - Marsh: - text: Marsh + MARSH: + text: MARSH meaning: rft:Marsh title: Marsh - Bog: - text: Bog + BOG: + text: BOG meaning: rft:Bog title: Bog - Swamp: - text: Swamp + SWAMP: + text: SWAMP meaning: rft:Swamp title: Swamp - TropicalForest: - text: TropicalForest + TROPICAL_FOREST: + text: TROPICAL_FOREST meaning: rft:TropicalForest title: TropicalForest - TemperateForest: - text: TemperateForest + TEMPERATE_FOREST: + text: TEMPERATE_FOREST meaning: rft:TemperateForest title: TemperateForest - BorealForest: - text: BorealForest + BOREAL_FOREST: + text: BOREAL_FOREST meaning: rft:BorealForest title: BorealForest - Coastal: - text: Coastal + COASTAL: + text: COASTAL meaning: rft:Coastal title: Coastal - DeepWater: - text: DeepWater + DEEP_WATER: + text: DEEP_WATER meaning: rft:DeepWater title: DeepWater - CoralReef: - text: CoralReef + CORAL_REEF: + text: CORAL_REEF meaning: rft:CoralReef title: CoralReef - TemperateGrassland: - text: TemperateGrassland + TEMPERATE_GRASSLAND: + text: TEMPERATE_GRASSLAND meaning: rft:TemperateGrassland title: TemperateGrassland - Tundra: - text: Tundra + TUNDRA: + text: TUNDRA meaning: rft:Tundra title: Tundra - TropicalGrassland: - text: TropicalGrassland + TROPICAL_GRASSLAND: + text: TROPICAL_GRASSLAND meaning: rft:TropicalGrassland title: TropicalGrassland - Lake: - text: Lake + LAKE: + text: LAKE meaning: rft:Lake title: Lake - Watercourse: - text: Watercourse + WATERCOURSE: + text: WATERCOURSE meaning: rft:Watercourse title: Watercourse diff --git a/schema/generated/ImpactTypes.md b/schema/generated/ImpactTypes.md index 1d63723..0ea8da3 100644 --- a/schema/generated/ImpactTypes.md +++ b/schema/generated/ImpactTypes.md @@ -8,25 +8,25 @@ URI: [ImpactTypes](ImpactTypes.md) | Value | Meaning | Description | | --- | --- | --- | -| ReducedFertilizerAmendments | rft:ReducedFertilizerAmendments | | -| AvoidedDeforestationDegradation | rft:AvoidedDeforestationDegradation | | -| ImprovedCulturalHeritageAwareness | rft:ImprovedCulturalHeritageAwareness | | -| ImprovedBiodiversity | rft:ImprovedBiodiversity | | -| ImprovedEnvironmentalEducationOutreach | rft:ImprovedEnvironmentalEducationOutreach | | -| ReducedSoilErosion | rft:ReducedSoilErosion | | -| ReducedHerbicideAmendments | rft:ReducedHerbicideAmendments | | -| ImprovedForestHealth | rft:ImprovedForestHealth | | -| ImprovedCommunityHealth | rft:ImprovedCommunityHealth | | -| ImprovedWildlifeHabitat | rft:ImprovedWildlifeHabitat | | -| ImprovedSoilHealth | rft:ImprovedSoilHealth | | -| IncreasedForestCover | rft:IncreasedForestCover | | -| ReducedPesticideAmendments | rft:ReducedPesticideAmendments | | -| ImprovedWaterInfiltration | rft:ImprovedWaterInfiltration | | -| ImprovedWaterHoldingCapacity | rft:ImprovedWaterHoldingCapacity | | -| IncreasedCarbonSequestrationStorage | rft:IncreasedCarbonSequestrationStorage | | -| ReducedIrrigation | rft:ReducedIrrigation | | -| ImprovedSoilStructure | rft:ImprovedSoilStructure | | -| ImprovedNutrientCycling | rft:ImprovedNutrientCycling | | +| REDUCED_FERTILIZER_AMENDMENTS | rft:ReducedFertilizerAmendments | | +| AVOIDED_DEFORESTATION_DEGRADATION | rft:AvoidedDeforestationDegradation | | +| IMPROVED_CULTURAL_HERITAGE_AWARENESS | rft:ImprovedCulturalHeritageAwareness | | +| IMPROVED_BIODIVERSITY | rft:ImprovedBiodiversity | | +| IMPROVED_ENVIRONMENTAL_EDUCATION_OUTREACH | rft:ImprovedEnvironmentalEducationOutreach | | +| REDUCED_SOIL_EROSION | rft:ReducedSoilErosion | | +| REDUCED_HERBICIDE_AMENDMENTS | rft:ReducedHerbicideAmendments | | +| IMPROVED_FOREST_HEALTH | rft:ImprovedForestHealth | | +| IMPROVED_COMMUNITY_HEALTH | rft:ImprovedCommunityHealth | | +| IMPROVED_WILDLIFE_HABITAT | rft:ImprovedWildlifeHabitat | | +| IMPROVED_SOIL_HEALTH | rft:ImprovedSoilHealth | | +| INCREASED_FOREST_COVER | rft:IncreasedForestCover | | +| REDUCED_PESTICIDE_AMENDMENTS | rft:ReducedPesticideAmendments | | +| IMPROVED_WATER_INFILTRATION | rft:ImprovedWaterInfiltration | | +| IMPROVED_WATER_HOLDING_CAPACITY | rft:ImprovedWaterHoldingCapacity | | +| INCREASED_CARBON_SEQUESTRATION_STORAGE | rft:IncreasedCarbonSequestrationStorage | | +| REDUCED_IRRIGATION | rft:ReducedIrrigation | | +| IMPROVED_SOIL_STRUCTURE | rft:ImprovedSoilStructure | | +| IMPROVED_NUTRIENT_CYCLING | rft:ImprovedNutrientCycling | | @@ -68,80 +68,80 @@ name: ImpactTypes from_schema: https://framework.regen.network/schema/ rank: 1000 permissible_values: - ReducedFertilizerAmendments: - text: ReducedFertilizerAmendments + REDUCED_FERTILIZER_AMENDMENTS: + text: REDUCED_FERTILIZER_AMENDMENTS meaning: rft:ReducedFertilizerAmendments title: ReducedFertilizerAmendments - AvoidedDeforestationDegradation: - text: AvoidedDeforestationDegradation + AVOIDED_DEFORESTATION_DEGRADATION: + text: AVOIDED_DEFORESTATION_DEGRADATION meaning: rft:AvoidedDeforestationDegradation title: AvoidedDeforestationDegradation - ImprovedCulturalHeritageAwareness: - text: ImprovedCulturalHeritageAwareness + IMPROVED_CULTURAL_HERITAGE_AWARENESS: + text: IMPROVED_CULTURAL_HERITAGE_AWARENESS meaning: rft:ImprovedCulturalHeritageAwareness title: ImprovedCulturalHeritageAwareness - ImprovedBiodiversity: - text: ImprovedBiodiversity + IMPROVED_BIODIVERSITY: + text: IMPROVED_BIODIVERSITY meaning: rft:ImprovedBiodiversity title: ImprovedBiodiversity - ImprovedEnvironmentalEducationOutreach: - text: ImprovedEnvironmentalEducationOutreach + IMPROVED_ENVIRONMENTAL_EDUCATION_OUTREACH: + text: IMPROVED_ENVIRONMENTAL_EDUCATION_OUTREACH meaning: rft:ImprovedEnvironmentalEducationOutreach title: ImprovedEnvironmentalEducationOutreach - ReducedSoilErosion: - text: ReducedSoilErosion + REDUCED_SOIL_EROSION: + text: REDUCED_SOIL_EROSION meaning: rft:ReducedSoilErosion title: ReducedSoilErosion - ReducedHerbicideAmendments: - text: ReducedHerbicideAmendments + REDUCED_HERBICIDE_AMENDMENTS: + text: REDUCED_HERBICIDE_AMENDMENTS meaning: rft:ReducedHerbicideAmendments title: ReducedHerbicideAmendments - ImprovedForestHealth: - text: ImprovedForestHealth + IMPROVED_FOREST_HEALTH: + text: IMPROVED_FOREST_HEALTH meaning: rft:ImprovedForestHealth title: ImprovedForestHealth - ImprovedCommunityHealth: - text: ImprovedCommunityHealth + IMPROVED_COMMUNITY_HEALTH: + text: IMPROVED_COMMUNITY_HEALTH meaning: rft:ImprovedCommunityHealth title: ImprovedCommunityHealth - ImprovedWildlifeHabitat: - text: ImprovedWildlifeHabitat + IMPROVED_WILDLIFE_HABITAT: + text: IMPROVED_WILDLIFE_HABITAT meaning: rft:ImprovedWildlifeHabitat title: ImprovedWildlifeHabitat - ImprovedSoilHealth: - text: ImprovedSoilHealth + IMPROVED_SOIL_HEALTH: + text: IMPROVED_SOIL_HEALTH meaning: rft:ImprovedSoilHealth title: ImprovedSoilHealth - IncreasedForestCover: - text: IncreasedForestCover + INCREASED_FOREST_COVER: + text: INCREASED_FOREST_COVER meaning: rft:IncreasedForestCover title: IncreasedForestCover - ReducedPesticideAmendments: - text: ReducedPesticideAmendments + REDUCED_PESTICIDE_AMENDMENTS: + text: REDUCED_PESTICIDE_AMENDMENTS meaning: rft:ReducedPesticideAmendments title: ReducedPesticideAmendments - ImprovedWaterInfiltration: - text: ImprovedWaterInfiltration + IMPROVED_WATER_INFILTRATION: + text: IMPROVED_WATER_INFILTRATION meaning: rft:ImprovedWaterInfiltration title: ImprovedWaterInfiltration - ImprovedWaterHoldingCapacity: - text: ImprovedWaterHoldingCapacity + IMPROVED_WATER_HOLDING_CAPACITY: + text: IMPROVED_WATER_HOLDING_CAPACITY meaning: rft:ImprovedWaterHoldingCapacity title: ImprovedWaterHoldingCapacity - IncreasedCarbonSequestrationStorage: - text: IncreasedCarbonSequestrationStorage + INCREASED_CARBON_SEQUESTRATION_STORAGE: + text: INCREASED_CARBON_SEQUESTRATION_STORAGE meaning: rft:IncreasedCarbonSequestrationStorage title: IncreasedCarbonSequestrationStorage - ReducedIrrigation: - text: ReducedIrrigation + REDUCED_IRRIGATION: + text: REDUCED_IRRIGATION meaning: rft:ReducedIrrigation title: ReducedIrrigation - ImprovedSoilStructure: - text: ImprovedSoilStructure + IMPROVED_SOIL_STRUCTURE: + text: IMPROVED_SOIL_STRUCTURE meaning: rft:ImprovedSoilStructure title: ImprovedSoilStructure - ImprovedNutrientCycling: - text: ImprovedNutrientCycling + IMPROVED_NUTRIENT_CYCLING: + text: IMPROVED_NUTRIENT_CYCLING meaning: rft:ImprovedNutrientCycling title: ImprovedNutrientCycling diff --git a/schema/scripts/populateSemanticEnums.py b/schema/scripts/populateSemanticEnums.py index 84f0c79..31f9ce9 100644 --- a/schema/scripts/populateSemanticEnums.py +++ b/schema/scripts/populateSemanticEnums.py @@ -1,4 +1,5 @@ import glob +import re from linkml_runtime.linkml_model import PermissibleValue from linkml_runtime.utils.schemaview import SchemaView @@ -20,13 +21,14 @@ enum = view.get_enum(enum_name) md_files = glob.glob("**/*.md", root_dir=f"../src/content/{taxonomy}", recursive=True) for file in md_files: - enum_text = file.split("/").pop().replace(".md", "").replace(" ", "") + enum_name = file.split("/").pop().replace(".md", "").replace(" ", "") + enum_key = re.sub('([A-Z])', r'_\1', enum_name).lstrip("_").upper() enum_value = PermissibleValue( - title=enum_text, - text=enum_text, - meaning=f"rft:{enum_text}" + title=enum_name, + text=enum_key, + meaning=f"rft:{enum_name}" ) - enum.permissible_values.update({enum_text: enum_value}) + enum.permissible_values.update({enum_key: enum_value}) # Write back changes to the taxonomy schema file. with open(taxonomy_schema_path, "w") as f: diff --git a/schema/src/taxonomy.yaml b/schema/src/taxonomy.yaml index a61bf71..62fd45e 100644 --- a/schema/src/taxonomy.yaml +++ b/schema/src/taxonomy.yaml @@ -16,332 +16,332 @@ enums: name: ActivityTypes from_schema: https://framework.regen.network/taxonomy/ permissible_values: - ResidueTillageManagement: - text: ResidueTillageManagement + RESIDUE_TILLAGE_MANAGEMENT: + text: RESIDUE_TILLAGE_MANAGEMENT meaning: rft:ResidueTillageManagement title: ResidueTillageManagement - BiocharProduction: - text: BiocharProduction + BIOCHAR_PRODUCTION: + text: BIOCHAR_PRODUCTION meaning: rft:BiocharProduction title: BiocharProduction - ImprovedForestManagement: - text: ImprovedForestManagement + IMPROVED_FOREST_MANAGEMENT: + text: IMPROVED_FOREST_MANAGEMENT meaning: rft:ImprovedForestManagement title: ImprovedForestManagement - Agroforestry: - text: Agroforestry + AGROFORESTRY: + text: AGROFORESTRY meaning: rft:Agroforestry title: Agroforestry - PrescribedGrazing: - text: PrescribedGrazing + PRESCRIBED_GRAZING: + text: PRESCRIBED_GRAZING meaning: rft:PrescribedGrazing title: PrescribedGrazing - RiparianForestBuffers: - text: RiparianForestBuffers + RIPARIAN_FOREST_BUFFERS: + text: RIPARIAN_FOREST_BUFFERS meaning: rft:RiparianForestBuffers title: RiparianForestBuffers - SoilAmendments: - text: SoilAmendments + SOIL_AMENDMENTS: + text: SOIL_AMENDMENTS meaning: rft:SoilAmendments title: SoilAmendments - Conservation: - text: Conservation + CONSERVATION: + text: CONSERVATION meaning: rft:Conservation title: Conservation - Ecotourism: - text: Ecotourism + ECOTOURISM: + text: ECOTOURISM meaning: rft:Ecotourism title: Ecotourism - CoverCropping: - text: CoverCropping + COVER_CROPPING: + text: COVER_CROPPING meaning: rft:CoverCropping title: CoverCropping - TreePlanting: - text: TreePlanting + TREE_PLANTING: + text: TREE_PLANTING meaning: rft:TreePlanting title: TreePlanting - PhotocatalystApplication: - text: PhotocatalystApplication + PHOTOCATALYST_APPLICATION: + text: PHOTOCATALYST_APPLICATION meaning: rft:PhotocatalystApplication title: PhotocatalystApplication - EcosystemRestoration: - text: EcosystemRestoration + ECOSYSTEM_RESTORATION: + text: ECOSYSTEM_RESTORATION meaning: rft:EcosystemRestoration title: EcosystemRestoration - IndustrialBiocharProduction: - text: IndustrialBiocharProduction + INDUSTRIAL_BIOCHAR_PRODUCTION: + text: INDUSTRIAL_BIOCHAR_PRODUCTION meaning: rft:IndustrialBiocharProduction title: IndustrialBiocharProduction - ArtisanalBiocharProduction: - text: ArtisanalBiocharProduction + ARTISANAL_BIOCHAR_PRODUCTION: + text: ARTISANAL_BIOCHAR_PRODUCTION meaning: rft:ArtisanalBiocharProduction title: ArtisanalBiocharProduction - Biochar: - text: Biochar + BIOCHAR: + text: BIOCHAR meaning: rft:Biochar title: Biochar - EnhancedRockWeathering: - text: EnhancedRockWeathering + ENHANCED_ROCK_WEATHERING: + text: ENHANCED_ROCK_WEATHERING meaning: rft:EnhancedRockWeathering title: EnhancedRockWeathering - CompostAmendments: - text: CompostAmendments + COMPOST_AMENDMENTS: + text: COMPOST_AMENDMENTS meaning: rft:CompostAmendments title: CompostAmendments - KeystoneSpeciesConservation: - text: KeystoneSpeciesConservation + KEYSTONE_SPECIES_CONSERVATION: + text: KEYSTONE_SPECIES_CONSERVATION meaning: rft:KeystoneSpeciesConservation title: KeystoneSpeciesConservation - UmbrellaSpeciesConservation: - text: UmbrellaSpeciesConservation + UMBRELLA_SPECIES_CONSERVATION: + text: UMBRELLA_SPECIES_CONSERVATION meaning: rft:UmbrellaSpeciesConservation title: UmbrellaSpeciesConservation - Silvopasture: - text: Silvopasture + SILVOPASTURE: + text: SILVOPASTURE meaning: rft:Silvopasture title: Silvopasture - ForestFarming: - text: ForestFarming + FOREST_FARMING: + text: FOREST_FARMING meaning: rft:ForestFarming title: ForestFarming - NonUrbanForestImprovement: - text: NonUrbanForestImprovement + NON_URBAN_FOREST_IMPROVEMENT: + text: NON_URBAN_FOREST_IMPROVEMENT meaning: rft:NonUrbanForestImprovement title: NonUrbanForestImprovement - UrbanForestImprovement: - text: UrbanForestImprovement + URBAN_FOREST_IMPROVEMENT: + text: URBAN_FOREST_IMPROVEMENT meaning: rft:UrbanForestImprovement title: UrbanForestImprovement - Afforestation: - text: Afforestation + AFFORESTATION: + text: AFFORESTATION meaning: rft:Afforestation title: Afforestation - Reforestation: - text: Reforestation + REFORESTATION: + text: REFORESTATION meaning: rft:Reforestation title: Reforestation EnvironmentTypeTypes: name: EnvironmentTypeTypes from_schema: https://framework.regen.network/taxonomy/ permissible_values: - Marine: - text: Marine + MARINE: + text: MARINE meaning: rft:Marine title: Marine - Cropland: - text: Cropland + CROPLAND: + text: CROPLAND meaning: rft:Cropland title: Cropland - UrbanTrees: - text: UrbanTrees + URBAN_TREES: + text: URBAN_TREES meaning: rft:UrbanTrees title: UrbanTrees - Shrubland: - text: Shrubland + SHRUBLAND: + text: SHRUBLAND meaning: rft:Shrubland title: Shrubland - Pasture: - text: Pasture + PASTURE: + text: PASTURE meaning: rft:Pasture title: Pasture - Savanna: - text: Savanna + SAVANNA: + text: SAVANNA meaning: rft:Savanna title: Savanna - Grassland: - text: Grassland + GRASSLAND: + text: GRASSLAND meaning: rft:Grassland title: Grassland - AgroforestrySystem: - text: AgroforestrySystem + AGROFORESTRY_SYSTEM: + text: AGROFORESTRY_SYSTEM meaning: rft:AgroforestrySystem title: AgroforestrySystem - PermanentIce: - text: PermanentIce + PERMANENT_ICE: + text: PERMANENT_ICE meaning: rft:PermanentIce title: PermanentIce - Wetland: - text: Wetland + WETLAND: + text: WETLAND meaning: rft:Wetland title: Wetland - Freshwater: - text: Freshwater + FRESHWATER: + text: FRESHWATER meaning: rft:Freshwater title: Freshwater - Orchard: - text: Orchard + ORCHARD: + text: ORCHARD meaning: rft:Orchard title: Orchard - AquacultureSystem: - text: AquacultureSystem + AQUACULTURE_SYSTEM: + text: AQUACULTURE_SYSTEM meaning: rft:AquacultureSystem title: AquacultureSystem - Vineyard: - text: Vineyard + VINEYARD: + text: VINEYARD meaning: rft:Vineyard title: Vineyard - Desert: - text: Desert + DESERT: + text: DESERT meaning: rft:Desert title: Desert - Forest: - text: Forest + FOREST: + text: FOREST meaning: rft:Forest title: Forest - IrrigatedCropland: - text: IrrigatedCropland + IRRIGATED_CROPLAND: + text: IRRIGATED_CROPLAND meaning: rft:IrrigatedCropland title: IrrigatedCropland - RainfedCropland: - text: RainfedCropland + RAINFED_CROPLAND: + text: RAINFED_CROPLAND meaning: rft:RainfedCropland title: RainfedCropland - TemperateShrubland: - text: TemperateShrubland + TEMPERATE_SHRUBLAND: + text: TEMPERATE_SHRUBLAND meaning: rft:TemperateShrubland title: TemperateShrubland - BorealShrubland: - text: BorealShrubland + BOREAL_SHRUBLAND: + text: BOREAL_SHRUBLAND meaning: rft:BorealShrubland title: BorealShrubland - TropicalShrubland: - text: TropicalShrubland + TROPICAL_SHRUBLAND: + text: TROPICAL_SHRUBLAND meaning: rft:TropicalShrubland title: TropicalShrubland - Marsh: - text: Marsh + MARSH: + text: MARSH meaning: rft:Marsh title: Marsh - Bog: - text: Bog + BOG: + text: BOG meaning: rft:Bog title: Bog - Swamp: - text: Swamp + SWAMP: + text: SWAMP meaning: rft:Swamp title: Swamp - TropicalForest: - text: TropicalForest + TROPICAL_FOREST: + text: TROPICAL_FOREST meaning: rft:TropicalForest title: TropicalForest - TemperateForest: - text: TemperateForest + TEMPERATE_FOREST: + text: TEMPERATE_FOREST meaning: rft:TemperateForest title: TemperateForest - BorealForest: - text: BorealForest + BOREAL_FOREST: + text: BOREAL_FOREST meaning: rft:BorealForest title: BorealForest - Coastal: - text: Coastal + COASTAL: + text: COASTAL meaning: rft:Coastal title: Coastal - DeepWater: - text: DeepWater + DEEP_WATER: + text: DEEP_WATER meaning: rft:DeepWater title: DeepWater - CoralReef: - text: CoralReef + CORAL_REEF: + text: CORAL_REEF meaning: rft:CoralReef title: CoralReef - TemperateGrassland: - text: TemperateGrassland + TEMPERATE_GRASSLAND: + text: TEMPERATE_GRASSLAND meaning: rft:TemperateGrassland title: TemperateGrassland - Tundra: - text: Tundra + TUNDRA: + text: TUNDRA meaning: rft:Tundra title: Tundra - TropicalGrassland: - text: TropicalGrassland + TROPICAL_GRASSLAND: + text: TROPICAL_GRASSLAND meaning: rft:TropicalGrassland title: TropicalGrassland - Lake: - text: Lake + LAKE: + text: LAKE meaning: rft:Lake title: Lake - Watercourse: - text: Watercourse + WATERCOURSE: + text: WATERCOURSE meaning: rft:Watercourse title: Watercourse ImpactTypes: name: ImpactTypes from_schema: https://framework.regen.network/taxonomy/ permissible_values: - ReducedFertilizerAmendments: - text: ReducedFertilizerAmendments + REDUCED_FERTILIZER_AMENDMENTS: + text: REDUCED_FERTILIZER_AMENDMENTS meaning: rft:ReducedFertilizerAmendments title: ReducedFertilizerAmendments - AvoidedDeforestationDegradation: - text: AvoidedDeforestationDegradation + AVOIDED_DEFORESTATION_DEGRADATION: + text: AVOIDED_DEFORESTATION_DEGRADATION meaning: rft:AvoidedDeforestationDegradation title: AvoidedDeforestationDegradation - ImprovedCulturalHeritageAwareness: - text: ImprovedCulturalHeritageAwareness + IMPROVED_CULTURAL_HERITAGE_AWARENESS: + text: IMPROVED_CULTURAL_HERITAGE_AWARENESS meaning: rft:ImprovedCulturalHeritageAwareness title: ImprovedCulturalHeritageAwareness - ImprovedBiodiversity: - text: ImprovedBiodiversity + IMPROVED_BIODIVERSITY: + text: IMPROVED_BIODIVERSITY meaning: rft:ImprovedBiodiversity title: ImprovedBiodiversity - ImprovedEnvironmentalEducationOutreach: - text: ImprovedEnvironmentalEducationOutreach + IMPROVED_ENVIRONMENTAL_EDUCATION_OUTREACH: + text: IMPROVED_ENVIRONMENTAL_EDUCATION_OUTREACH meaning: rft:ImprovedEnvironmentalEducationOutreach title: ImprovedEnvironmentalEducationOutreach - ReducedSoilErosion: - text: ReducedSoilErosion + REDUCED_SOIL_EROSION: + text: REDUCED_SOIL_EROSION meaning: rft:ReducedSoilErosion title: ReducedSoilErosion - ReducedHerbicideAmendments: - text: ReducedHerbicideAmendments + REDUCED_HERBICIDE_AMENDMENTS: + text: REDUCED_HERBICIDE_AMENDMENTS meaning: rft:ReducedHerbicideAmendments title: ReducedHerbicideAmendments - ImprovedForestHealth: - text: ImprovedForestHealth + IMPROVED_FOREST_HEALTH: + text: IMPROVED_FOREST_HEALTH meaning: rft:ImprovedForestHealth title: ImprovedForestHealth - ImprovedCommunityHealth: - text: ImprovedCommunityHealth + IMPROVED_COMMUNITY_HEALTH: + text: IMPROVED_COMMUNITY_HEALTH meaning: rft:ImprovedCommunityHealth title: ImprovedCommunityHealth - ImprovedWildlifeHabitat: - text: ImprovedWildlifeHabitat + IMPROVED_WILDLIFE_HABITAT: + text: IMPROVED_WILDLIFE_HABITAT meaning: rft:ImprovedWildlifeHabitat title: ImprovedWildlifeHabitat - ImprovedSoilHealth: - text: ImprovedSoilHealth + IMPROVED_SOIL_HEALTH: + text: IMPROVED_SOIL_HEALTH meaning: rft:ImprovedSoilHealth title: ImprovedSoilHealth - IncreasedForestCover: - text: IncreasedForestCover + INCREASED_FOREST_COVER: + text: INCREASED_FOREST_COVER meaning: rft:IncreasedForestCover title: IncreasedForestCover - ReducedPesticideAmendments: - text: ReducedPesticideAmendments + REDUCED_PESTICIDE_AMENDMENTS: + text: REDUCED_PESTICIDE_AMENDMENTS meaning: rft:ReducedPesticideAmendments title: ReducedPesticideAmendments - ImprovedWaterInfiltration: - text: ImprovedWaterInfiltration + IMPROVED_WATER_INFILTRATION: + text: IMPROVED_WATER_INFILTRATION meaning: rft:ImprovedWaterInfiltration title: ImprovedWaterInfiltration - ImprovedWaterHoldingCapacity: - text: ImprovedWaterHoldingCapacity + IMPROVED_WATER_HOLDING_CAPACITY: + text: IMPROVED_WATER_HOLDING_CAPACITY meaning: rft:ImprovedWaterHoldingCapacity title: ImprovedWaterHoldingCapacity - IncreasedCarbonSequestrationStorage: - text: IncreasedCarbonSequestrationStorage + INCREASED_CARBON_SEQUESTRATION_STORAGE: + text: INCREASED_CARBON_SEQUESTRATION_STORAGE meaning: rft:IncreasedCarbonSequestrationStorage title: IncreasedCarbonSequestrationStorage - ReducedIrrigation: - text: ReducedIrrigation + REDUCED_IRRIGATION: + text: REDUCED_IRRIGATION meaning: rft:ReducedIrrigation title: ReducedIrrigation - ImprovedSoilStructure: - text: ImprovedSoilStructure + IMPROVED_SOIL_STRUCTURE: + text: IMPROVED_SOIL_STRUCTURE meaning: rft:ImprovedSoilStructure title: ImprovedSoilStructure - ImprovedNutrientCycling: - text: ImprovedNutrientCycling + IMPROVED_NUTRIENT_CYCLING: + text: IMPROVED_NUTRIENT_CYCLING meaning: rft:ImprovedNutrientCycling title: ImprovedNutrientCycling slots: