Trefle · Schema

Trefle Plant

A plant record in the Trefle botanical database with taxonomy and species data.

AgricultureBotanyOpen DataPlantsScience

Properties

Name Type Description
id integer Unique Trefle plant identifier
common_name string Common name of the plant in English
slug string URL-safe unique identifier
scientific_name string Scientific (Latin binomial) name
status string Taxonomic acceptance status
rank string Taxonomic rank (species, variety, subspecies, etc.)
family string Scientific plant family name
family_common_name string Common name of the plant family
genus string Plant genus
genus_id integer Trefle genus identifier
image_url string URL to the plant's representative image
synonyms array Synonymous scientific names
View JSON Schema on GitHub

JSON Schema

trefle-plant-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trefle/refs/heads/main/json-schema/trefle-plant-schema.json",
  "title": "Trefle Plant",
  "description": "A plant record in the Trefle botanical database with taxonomy and species data.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique Trefle plant identifier"
    },
    "common_name": {
      "type": "string",
      "description": "Common name of the plant in English"
    },
    "slug": {
      "type": "string",
      "description": "URL-safe unique identifier"
    },
    "scientific_name": {
      "type": "string",
      "description": "Scientific (Latin binomial) name"
    },
    "status": {
      "type": "string",
      "description": "Taxonomic acceptance status"
    },
    "rank": {
      "type": "string",
      "description": "Taxonomic rank (species, variety, subspecies, etc.)"
    },
    "family": {
      "type": "string",
      "description": "Scientific plant family name"
    },
    "family_common_name": {
      "type": "string",
      "description": "Common name of the plant family"
    },
    "genus": {
      "type": "string",
      "description": "Plant genus"
    },
    "genus_id": {
      "type": "integer",
      "description": "Trefle genus identifier"
    },
    "image_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to the plant's representative image"
    },
    "synonyms": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Synonymous scientific names"
    }
  },
  "required": ["id", "scientific_name", "slug"]
}