{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/agri/PersonAgriculturalHolderRole.schema.json",
  "title": "PersonAgriculturalHolderRole",
  "description": "An agricultural holder role borne by one person. It does not assert ownership, registration or benefit entitlement.",
  "type": "object",
  "properties": {
    "holder_farm": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/agri/Farm.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The farm to which this agricultural holder role applies."
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "The date on which this became effective."
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "The last day on which this is effective. A period includes both its start date and its end date, so a period that applies only on 30 June 2026 has start date 2026-06-30 and end date 2026-06-30."
    },
    "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."
      }
    },
    "holder_person": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Person.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The person who holds this agricultural holder role. It is not inferred from household membership, ownership or employment."
    }
  }
}
