Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multivalued to markettype for TerrasosProjectInfo #25

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 30 additions & 11 deletions schema/data/TerrasosProjectInfoData.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@
"description": "This project aims to conserve the Amazon Rainforest by implementing sustainable land management practices.",
"projectDeveloper": {
"name": "Terrasos",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"type": "ORGANIZATION",
"image": "https://via.placeholder.com/150"
"image": "https://via.placeholder.com/150",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
},
"environmentType": [
"CLOUD_FOREST"
],
"projectMonitor": {
"name": "EAFIT",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"type": "ORGANIZATION",
"image": "https://via.placeholder.com/150"
"image": "https://via.placeholder.com/150",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
},
"projectVerifier": {
"name": "KPMG",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"type": "ORGANIZATION",
"image": "https://via.placeholder.com/150"
"image": "https://via.placeholder.com/150",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
},
"creditClassVersion": "1.0",
"ecologicalConnectivityIndex": 75.5,
Expand Down Expand Up @@ -73,17 +73,19 @@
"projectDuration": "P1Y",
"projectOperator": {
"name": "El Globo",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"type": "ORGANIZATION",
"image": "https://via.placeholder.com/150"
"image": "https://via.placeholder.com/150",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
},
"projectOwner": {
"name": "Jose Gonzales",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
"type": "INDIVIDUAL",
"image": "https://via.placeholder.com/150"
"image": "https://via.placeholder.com/150",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
},
"marketType": "COMPLIANCE_MARKET",
"marketType": [
"COMPLIANCE_MARKET"
],
"environmentalAuthority": [
{
"name": "Corantioquia",
Expand Down Expand Up @@ -178,17 +180,34 @@
"@type": "xsd:float",
"@id": "center"
},
"context": {
"@type": "@id",
"@id": "context"
},
"geometry": {
"@type": "@id",
"@id": "geometry"
},
"id": {
"@id": "id"
},
"place_name": {
"@id": "place_name"
},
"place_type": {
"@id": "place_type"
},
"properties": {
"@type": "@id",
"@id": "properties"
},
"relevance": {
"@type": "xsd:float",
"@id": "relevance"
},
"text": {
"@id": "text"
},
"extent": {
"@type": "@id",
"@id": "dcterms:extent"
Expand Down
3 changes: 2 additions & 1 deletion schema/data/TerrasosProjectInfoData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ location:
- -72.5
- -2.5
place_name: "Antioquia"
marketType: COMPLIANCE_MARKET
marketType:
- COMPLIANCE_MARKET
bioregion:
- "Amazon Basin"
biomeType:
Expand Down
1 change: 1 addition & 0 deletions schema/generated/Any.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Any {

| used by | used in | type | used |
| --- | --- | --- | --- |
| [Location](Location.md) | [context](context.md) | range | [Any](Any.md) |
| [Location](Location.md) | [properties](properties.md) | range | [Any](Any.md) |


Expand Down
3 changes: 3 additions & 0 deletions schema/generated/Geometry.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ URI: [rfs:geometry](https://framework.regen.network/schema/geometry)

* Range: [Geometry](Geometry.md)

* Required: True




Expand Down Expand Up @@ -72,6 +74,7 @@ owner: Location
domain_of:
- Location
range: Geometry
required: true

```
</details>
9 changes: 7 additions & 2 deletions schema/generated/ProjectInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ ProjectInfo {
}
ProjectRole {
string name
string description
string url
string image
string description
ProjectRoleTypes type
}
QuantityValue {
Expand All @@ -33,8 +33,12 @@ QuantityValue {
Location {
string type
string placeName
string id
floatList bbox
string text
floatList center
float relevance
string placeType
}
Any {

Expand All @@ -49,7 +53,8 @@ ProjectInfo ||--|o QuantityValue : "projectSize"
ProjectInfo ||--|o ProjectRole : "projectDeveloper"
ProjectInfo ||--|o ProjectRole : "projectMonitor"
ProjectInfo ||--|o ProjectRole : "projectVerifier"
Location ||--|o Geometry : "geometry"
Location ||--|| Geometry : "geometry"
Location ||--|o Any : "context"
Location ||--|o Any : "properties"

```
Expand Down
40 changes: 22 additions & 18 deletions schema/generated/ProjectRole.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ URI: [rfs:ProjectRole](https://framework.regen.network/schema/ProjectRole)
erDiagram
ProjectRole {
string name
string description
string url
string image
string description
ProjectRoleTypes type
}

Expand All @@ -32,9 +32,9 @@ ProjectRole {
| Name | Cardinality and Range | Description | Inheritance |
| --- | --- | --- | --- |
| [name](name.md) | 1 <br/> [String](String.md) | Name of the project | direct |
| [description](description.md) | 1 <br/> [String](String.md) | Optional description of the project | direct |
| [url](url.md) | 0..1 <br/> [String](String.md) | | direct |
| [image](image.md) | 0..1 <br/> [String](String.md) | | direct |
| [description](description.md) | 0..1 <br/> [String](String.md) | | direct |
| [type](type.md) | 1 <br/> [ProjectRoleTypes](ProjectRoleTypes.md) | | direct |


Expand Down Expand Up @@ -100,10 +100,18 @@ name: ProjectRole
from_schema: https://framework.regen.network/schema/
slots:
- name
- description
- url
- image
attributes:
description:
name: description
from_schema: https://framework.regen.network/schema/
domain_of:
- ProjectInfo
- ProjectRole
- Organization
- File
range: string
type:
name: type
from_schema: https://framework.regen.network/schema/
Expand All @@ -126,6 +134,17 @@ attributes:
name: ProjectRole
from_schema: https://framework.regen.network/schema/
attributes:
description:
name: description
from_schema: https://framework.regen.network/schema/
alias: description
owner: ProjectRole
domain_of:
- ProjectInfo
- ProjectRole
- Organization
- File
range: string
type:
name: type
from_schema: https://framework.regen.network/schema/
Expand Down Expand Up @@ -155,21 +174,6 @@ attributes:
- AdministrativeArea
range: string
required: true
description:
name: description
description: Optional description of the project.
from_schema: https://framework.regen.network/schema/
rank: 1000
slot_uri: schema:description
alias: description
owner: ProjectRole
domain_of:
- ProjectInfo
- ProjectRole
- Organization
- File
range: string
required: true
url:
name: url
from_schema: https://framework.regen.network/schema/
Expand Down
14 changes: 10 additions & 4 deletions schema/generated/TerrasosProjectInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TerrasosProjectInfo {
float socialCulturalIndex
ConservationStatusTypes conservationStatus
string projectDuration
MarketTypeTypes marketType
MarketTypeTypesList marketType
stringList bioregion
stringList biomeType
string watershed
Expand All @@ -30,9 +30,9 @@ TerrasosProjectInfo {
}
ProjectRole {
string name
string description
string url
string image
string description
ProjectRoleTypes type
}
QuantityValue {
Expand All @@ -42,8 +42,12 @@ QuantityValue {
Location {
string type
string placeName
string id
floatList bbox
string text
floatList center
float relevance
string placeType
}
Any {

Expand Down Expand Up @@ -77,7 +81,8 @@ TerrasosProjectInfo ||--|o QuantityValue : "projectSize"
TerrasosProjectInfo ||--|o ProjectRole : "projectDeveloper"
TerrasosProjectInfo ||--|o ProjectRole : "projectMonitor"
TerrasosProjectInfo ||--|o ProjectRole : "projectVerifier"
Location ||--|o Geometry : "geometry"
Location ||--|| Geometry : "geometry"
Location ||--|o Any : "context"
Location ||--|o Any : "properties"
ManagementArea ||--|o QuantityValue : "extent"

Expand All @@ -104,7 +109,7 @@ ManagementArea ||--|o QuantityValue : "extent"
| [projectDuration](projectDuration.md) | 0..1 <br/> [String](String.md) | The duration of the project | direct |
| [projectOperator](projectOperator.md) | 0..1 <br/> [ProjectRole](ProjectRole.md) | The organization responsible for operating the project | direct |
| [projectOwner](projectOwner.md) | 0..1 <br/> [ProjectRole](ProjectRole.md) | The organization responsible for owning the project | direct |
| [marketType](marketType.md) | 0..1 <br/> [MarketTypeTypes](MarketTypeTypes.md) | The type of market for the associated credits | direct |
| [marketType](marketType.md) | * <br/> [MarketTypeTypes](MarketTypeTypes.md) | The type of market for the associated credits | direct |
| [environmentalAuthority](environmentalAuthority.md) | * <br/> [Organization](Organization.md) | The environmental authority associated with the project | direct |
| [bioregion](bioregion.md) | * <br/> [String](String.md) | The bioregion associated with the project | direct |
| [biomeType](biomeType.md) | * <br/> [String](String.md) | The type of biome associated with the project | direct |
Expand Down Expand Up @@ -299,6 +304,7 @@ attributes:
domain_of:
- TerrasosProjectInfo
range: MarketTypeTypes
multivalued: true
environmentalAuthority:
name: environmentalAuthority
description: The environmental authority associated with the project.
Expand Down
7 changes: 2 additions & 5 deletions schema/generated/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ URI: [rfs:context](https://framework.regen.network/schema/context)

## Properties

* Range: [LocationContext](LocationContext.md)

* Multivalued: True
* Range: [Any](Any.md)



Expand Down Expand Up @@ -73,8 +71,7 @@ alias: context
owner: Location
domain_of:
- Location
range: LocationContext
multivalued: true
range: Any

```
</details>
6 changes: 3 additions & 3 deletions schema/generated/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ URI: [schema:description](http://schema.org/description)

| Name | Description | Modifies Slot |
| --- | --- | --- |
| [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no |
| [Organization](Organization.md) | | no |
| [ProjectInfo](ProjectInfo.md) | | no |
| [ProjectRole](ProjectRole.md) | | no |
| [ProjectInfo](ProjectInfo.md) | | no |
| [TerrasosProjectInfo](TerrasosProjectInfo.md) | | no |
| [File](File.md) | | no |
| [Organization](Organization.md) | | no |



Expand Down
12 changes: 10 additions & 2 deletions schema/generated/id.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ URI: [rfs:id](https://framework.regen.network/schema/id)
| Name | Description | Modifies Slot |
| --- | --- | --- |
| [Location](Location.md) | | no |
| [LocationContext](LocationContext.md) | | no |



Expand All @@ -43,6 +42,13 @@ URI: [rfs:id](https://framework.regen.network/schema/id)



### Schema Source


* from schema: https://framework.regen.network/schema/




## Mappings

Expand All @@ -59,10 +65,12 @@ URI: [rfs:id](https://framework.regen.network/schema/id)
<details>
```yaml
name: id
from_schema: https://framework.regen.network/schema/
rank: 1000
alias: id
owner: Location
domain_of:
- Location
- LocationContext
range: string

```
Expand Down
Loading