vinv-schema

Tree Schema

https://schema.vinv.io/0.0.1-alpha.0/vinv-named-openapi.min.json#/definitions/trees_history/properties/definition

Tree definition

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none vinv-named-openapi.min.json*

definition Type

object (Tree)

Tree Properties

Property Type Required Nullable Defined by
location object Required cannot be null vinv
species string Required cannot be null vinv
dbh number Required cannot be null vinv
height number Optional cannot be null vinv
trunk array Optional cannot be null vinv
crown array Optional cannot be null vinv
birth string Optional cannot be null vinv
image array Optional cannot be null vinv

location

location

location Type

object (Location)

species

Tree Species values taken from https://github.com/b-lack/tree-species

species

species Type

string (Tree species)

species Constraints

pattern: the string must match the following regular expression:

^[a-zA-Z0-9_-]{3}$

try pattern

dbh

Diameter in centimeter

dbh

dbh Type

number (Diameter at Breast Height)

dbh Constraints

multiple of: the value of this number must be a multiple of: 1

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 1

height

Height in centimeter

height

height Type

number (Height)

height Constraints

multiple of: the value of this number must be a multiple of: 1

maximum: the value of this number must smaller than or equal to: 1000

minimum: the value of this number must greater than or equal to: 10

trunk

Diameter per height

trunk

trunk Type

object[] (Diameter at height)

trunk Constraints

minimum number of items: the minimum number of items for this array is: 1

unique items: all items in this array must be unique. Duplicates are not allowed.

crown

Diameter per height

crown

crown Type

object[] (Diameter at height)

crown Constraints

minimum number of items: the minimum number of items for this array is: 1

unique items: all items in this array must be unique. Duplicates are not allowed.

birth

Birthday of the tree

birth

birth Type

string (Birthday)

birth Constraints

date: the string must be a date string, according to RFC 3339, section 5.6

image

List of absolute or relative path to file

image

image Type

string[] (Images)