Last active
November 17, 2024 06:30
-
-
Save bprashanth/f3783f08b55773420b458e25121da6d6 to your computer and use it in GitHub Desktop.
schemaDefinitions.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"siteId": { | |
"description": "The station identifier for the replantation site", | |
"type": "enum", | |
"values": ["station1", "station2", "station3", "station4", "station5"] | |
}, | |
"studyId": { | |
"description": "An identifier for the study", | |
"type": "string" | |
}, | |
"userId": { | |
"description": "Unique identifier for the user entering the data", | |
"type": "string" | |
}, | |
"userName": { | |
"description": "Name of the user entering the data", | |
"type": "string" | |
}, | |
"timestamp": { | |
"description": "The date and time the data was recorded", | |
"type": "datetime" | |
}, | |
"picture": { | |
"description": "Details about the picture taken", | |
"type": "object", | |
"fields": { | |
"imageURL": { | |
"description": "URL of the image", | |
"type": "string" | |
}, | |
"latitude": { | |
"description": "Latitude of the picture location", | |
"type": "float" | |
}, | |
"longitude": { | |
"description": "Longitude of the picture location", | |
"type": "float" | |
}, | |
"notes": { | |
"description": "Additional notes about the picture", | |
"type": "string" | |
} | |
} | |
}, | |
"survey": { | |
"description": "Survey results for the tree", | |
"type": "object", | |
"fields": { | |
"treeHeightFeet": { | |
"description": "Height of the tree in feet", | |
"type": "int" | |
}, | |
"canopyHeightFeet": { | |
"description": "Height of the canopy in feet", | |
"type": "int" | |
}, | |
"canopyWidthFeet": { | |
"description": "Width of the canopy in feet", | |
"type": "int" | |
}, | |
"dbhInches": { | |
"description": "Diameter at breast height in inches", | |
"type": "float" | |
}, | |
"leafCondition": { | |
"description": "Condition of the leaves", | |
"type": "enum", | |
"values": ["healthy", "yellowing", "spotting"] | |
}, | |
"treeCondition": { | |
"description": "Condition of the tree", | |
"type": "enum", | |
"values": ["healthy", "diseased", "damaged"] | |
}, | |
"barkCondition": { | |
"description": "Condition of the bark", | |
"type": "enum", | |
"values": ["intact", "peeling", "damaged"] | |
}, | |
"presenceOfPests": { | |
"description": "Presence of pests on the tree", | |
"type": "enum", | |
"values": ["yes", "no"] | |
}, | |
"soilCondition": { | |
"description": "Condition of the soil around the tree", | |
"type": "enum", | |
"values": ["moist", "dry", "erosion observed"] | |
}, | |
"groundCover": { | |
"description": "Type of ground cover around the tree", | |
"type": "enum", | |
"values": ["grass", "shrubs", "bare soil"] | |
}, | |
"distanceToWaterSourceMeters": { | |
"description": "Distance to the nearest water source in meters", | |
"type": "int" | |
}, | |
"presenceOfCompetingVegetation": { | |
"description": "Presence of other vegetation competing for resources", | |
"type": "enum", | |
"values": ["yes", "no"] | |
}, | |
"sunlightExposure": { | |
"description": "Amount of sunlight the tree receives", | |
"type": "enum", | |
"values": ["full sun", "partial shade", "full shade"] | |
}, | |
"presenceOfWildlifeBrowsing": { | |
"description": "Evidence of wildlife browsing", | |
"type": "enum", | |
"values": ["yes", "no"] | |
}, | |
"weather": { | |
"description": "Weather conditions at the time of the survey", | |
"type": "enum", | |
"values": ["sunny", "cloudy", "raining"] | |
}, | |
"temperatureCelsius": { | |
"description": "Temperature in Celsius", | |
"type": "float" | |
}, | |
"humidityPercent": { | |
"description": "Humidity as a percentage", | |
"type": "float" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment