{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/agri/AgriculturalInputProduct.schema.json",
  "title": "AgriculturalInputProduct",
  "description": "A product specification or marketed formulation intended for use as an agricultural input, such as a feed, fertilising product or pesticide. It is not an individual package, shipment, batch or product authorization.",
  "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."
      }
    },
    "input_product_category": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "feed",
          "fertilising_product",
          "pesticide",
          "other"
        ],
        "$comment": "https://publicschema.org/vocab/agri/agricultural-input-category",
        "description": "A regulatory category to which the agricultural input product belongs, such as feed, fertilising product or pesticide."
      }
    },
    "product_designation": {
      "type": "string",
      "description": "A marketed designation or specification distinguishing a product."
    },
    "product_component": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/ProductComponent.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "A declared constituent of the product."
      }
    }
  }
}
