{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/InstitutionalRole.schema.json",
  "title": "InstitutionalRole",
  "description": "A dated assignment of a person, group or organization to a role in an organization, such as member, director, officer or board member. Membership of a producer organization or cooperative is an institutional role with a member role type. The role does not by itself show employment, ownership or legal authority.",
  "type": "object",
  "properties": {
    "role_actor": {
      "type": "string",
      "format": "uri",
      "description": "The URI of the person, group or organization holding the institutional role, such as a farmer who is a member of a producer organization."
    },
    "role_organization": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization in which the role is held or for which the person practises."
    },
    "institutional_role_type": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The kind of role held in an organization, such as member, director or secretary."
    },
    "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."
    }
  }
}
