{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/SeedLot.schema.json",
  "title": "SeedLot",
  "description": "A specified quantity of seed that is physically and uniquely identifiable and handled as one unit for storage, testing, certification or distribution. A lot is distinct from the varieties and accessions whose material it contains, and combining source lots does not imply certification.",
  "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."
    },
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "seed_lot_varieties": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/PlantVariety.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "The varieties whose seed the lot contains. An empty or absent list does not imply varietal purity."
      }
    },
    "seed_lot_accessions": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/GeneticResourceAccession.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "The genebank accessions whose material the lot contains."
      }
    },
    "source_seed_lots": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/SeedLot.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "The seed lots combined to form this lot. The list does not express proportions or establish certified blend status."
      }
    },
    "seed_lot_quantity": {
      "$ref": "https://publicschema.org/QuantityValue.schema.json",
      "description": "The amount of seed in the lot, by weight or number of seeds, with an explicit unit. No inventory balance or current availability is implied."
    },
    "seed_lot_production_date": {
      "type": "string",
      "format": "date",
      "description": "The date on which the lot was formed as a uniquely identified quantity of seed, distinct from the harvest date and from the date a container was sealed."
    }
  }
}
