{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/PlantVariety.schema.json",
  "title": "PlantVariety",
  "description": "A plant grouping within a single botanical taxon of the lowest known rank that can be defined by characteristics resulting from its genotype, is distinguished from any other grouping by at least one of those characteristics, and is considered a unit because it can be propagated unchanged. A variety is distinct from its listings, protection rights, denominations and physical seed.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The full display name of the record. Depending on the concept, this is a person's or group's name, or the title of a program, instrument, scoring rule, or software product."
    },
    "biological_taxon": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The taxon to which this organism, group, breed, variety or sample belongs, as a code or scientific name from an identified taxonomy such as Catalogue of Life or the taxonomy of the National Center for Biotechnology Information. No single taxonomy is required."
    },
    "variety_denominations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Denominations under which the variety has been proposed or registered in one or more jurisdictions. Approval status, jurisdiction and dates belong to a listing or protection record, and trademarks are not denominations."
      }
    },
    "breeder_reference": {
      "type": "string",
      "description": "The reference that the breeder uses for the variety, as supplied. It links records of the same variety held under different denominations."
    },
    "origin_accessions": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/GeneticResourceAccession.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Genebank accessions reported as sources of the variety's breeding material, without asserting a complete pedigree. This breeding origin is a different relation from the variety an accession represents."
      }
    }
  }
}
