{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/agri/ProducerOrganization.schema.json",
  "title": "ProducerOrganization",
  "description": "An organization set up on the initiative of agricultural producers and controlled by its producer members to pursue shared aims, such as joint production planning, marketing or services, in one or more agricultural sectors. Legal recognition under a particular regime is a separate record.",
  "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."
      }
    },
    "identity_documents": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/IdentityDocument.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identity documents held by this party, such as passports, national identity cards, civil registration certificates, and program-issued beneficiary cards, or, for an organization, a certificate of registration."
      }
    },
    "location": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Location.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The geographic location of the subject of this record, captured as coordinates or administrative area."
    },
    "legal_form": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The legal form of an organization under the law it was formed under, such as a limited company, cooperative or statutory body."
    },
    "economic_activities": {
      "type": "array",
      "items": {
        "$ref": "https://publicschema.org/CodedValue.schema.json",
        "description": "The economic activities the organization carries out, each coded in a classification of economic activities. ISIC is the international reference; a register may use NACE, NAICS or a national adaptation. The order of the values does not mark a principal activity."
      }
    },
    "formation_date": {
      "type": "string",
      "format": "date",
      "description": "The date on which this group or organization was formed or registered."
    },
    "dissolution_date": {
      "type": "string",
      "format": "date",
      "description": "The date on which the organization ceased to exist or was removed from the register, such as by dissolution, liquidation or striking off. It is the counterpart of the formation date."
    },
    "producer_sector": {
      "type": "array",
      "items": {
        "$ref": "https://publicschema.org/CodedValue.schema.json",
        "description": "An agricultural sector in which the producer organization acts, identified by a code in a stated scheme."
      }
    }
  }
}
