{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/PlantBaseRequest.json",
"title": "PlantBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The botanical name of the plant."
},
"owner_id": {
"type": "integer",
"description": "ID of the owner - if omitted, will default to your id"
},
"phenotype": {
"type": "string",
"description": "Observable physical or biochemical characteristics of the plant"
},
"genotype": {
"type": "string",
"description": "The genetic makeup of the plant"
},
"generation": {
"type": "string",
"description": "Generation of the plant"
},
"harvest_date": {
"type": "string",
"format": "date",
"description": "The date when the plant was harvested, formatted as YYYY-MM-DD",
"example": "2021-03-11"
},
"source": {
"type": "string",
"description": "The origin of the plant"
},
"description": {
"type": "string",
"description": "Description of the plant"
}
}
}
}
}