Skip to content

Commit

Permalink
Add activity, impact and environmentType slots to project
Browse files Browse the repository at this point in the history
  • Loading branch information
paul121 committed Oct 3, 2024
1 parent ee7de10 commit 02eb62e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 43 deletions.
47 changes: 4 additions & 43 deletions schema/src/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ prefixes:
unit: http://qudt.org/vocab/unit/
imports:
- linkml:types
- taxonomy
default_curi_maps:
- semweb_context
default_prefix: rfs
Expand All @@ -28,7 +29,6 @@ classes:
- biomeType
- watershed
- subWatershed
- environmentType
- offchainCreditsInfo
- projectDuration
- managementAreas
Expand All @@ -41,10 +41,12 @@ classes:
- projectVerifier
- projectDeveloper
- creditClassVersion
- activity
- environmentType
- impact
attributes:
size:
range: integer
activity:
start_date:
end_date:
project_type:
Expand Down Expand Up @@ -170,11 +172,6 @@ slots:
range: string
slot_uri: rfs:subWatershed
description: The sub-watershed associated with the project.
environmentType:
slot_uri: rfs:environmentType
range: EnvironmentTypeTypes
description: The type of environment associated with the project.
multivalued: true
environmentalAuthority:
slot_uri: rfs:environmentalAuthority
range: Organization
Expand Down Expand Up @@ -204,12 +201,6 @@ slots:
description: The management areas associated with the project.
multivalued: true
inlined: true
activity:
# TODO: associate with regen data standards activities
slot_uri: rfs:activity
range: ActivityTypes
description: the activity.
multivalued: true
extent:
slot_uri: dcterms:extent
range: QuantityValue
Expand Down Expand Up @@ -257,33 +248,3 @@ enums:
voluntary:
meaning: rfs:VoluntaryMarket
description: a voluntary market
# TODO: these should be imported from a shared vocabulary
EnvironmentTypeTypes:
description: The type of ecosystem
permissible_values:
cloudForest:
meaning: rfs:CloudForest
tropicalSavannah:
meaning: rfs:TropicalSavannah
tropicalDryForest:
meaning: rfs:TropicalDryForest
tropicalForest:
meaning: rfs:TropicalForest
tropicalVeryHumidForest:
meaning: rfs:TropicalVeryHumidForest
tropicalHumidForest:
meaning: rfs:TropicalHumidForest
premontaneHumidForest:
meaning: rfs:PremontaneHumidForest
lowMontaneVeryHumidForest:
meaning: rfs:LowMontaneVeryHumidForest
# 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
ecosystemRestoration:
meaning: rfs:EcosystemRestoration
description: an ecosystem restoration activity
1 change: 1 addition & 0 deletions schema/src/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ imports:
- linkml:types
- project
- project-post
- taxonomy
default_curi_maps:
- semweb_context
default_prefix: rfs
Expand Down

0 comments on commit 02eb62e

Please sign in to comment.