# nl.agroconnect.ecrop.footprintDeclaration

> All relevant data for PefCR calculation for one crop at one production location of one grower in one period

- Kind: record
- Record key: tid
- Authority: ecrop.agroconnect.nl
- Lexicon: 1
- Published by [ecrop.agroconnect.nl](https://lexicon.garden/identity/did:plc:nx3sjjz4dgur3lroujerlh3r), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:nx3sjjz4dgur3lroujerlh3r/nl.agroconnect.ecrop.footprintDeclaration)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:nx3sjjz4dgur3lroujerlh3r/nl.agroconnect.ecrop.footprintDeclaration/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:nx3sjjz4dgur3lroujerlh3r/nl.agroconnect.ecrop.footprintDeclaration/analytics)

## Record (`nl.agroconnect.ecrop.footprintDeclaration`)

Type: record · key tid

### Properties

- `additionalProductSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#additionalProductSection`
- `cropProtectionSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#cropProtectionSection`
- `cropSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#cropSection`
- `cultivationSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#cultivationSection`
- `declarationId` (ref, required): Identification of the footprint declaration as assigned by the data provider. (OpenAPI property name: 'id')
  - Reference: `nl.agroconnect.ecrop.defs#idType`
- `distributionSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#distributionSection`
- `endDate` (ref, required): End date of the period the footprint declaration applies to
  - Reference: `nl.agroconnect.ecrop.defs#dateType`
- `energySection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#energySection`
- `fertilizerSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#fertilizerSection`
- `grower` (ref, required): The grower who is owner of the crop the footprint is calculated on
  - Reference: `nl.agroconnect.ecrop.defs#growerDetails`
- `locationSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#locationSection`
- `sequenceNumber` (ref, required): Sequence number of the footprint declaration. Grower-identification, year and sequence number uniquely identify a footprint declaration (which can have multiple versions).
  - Reference: `nl.agroconnect.ecrop.defs#posInt32Type`
- `startDate` (ref, required): Start date of the period the footprint declaration applies to
  - Reference: `nl.agroconnect.ecrop.defs#dateType`
- `thirdPartyIds` (ref): Third party identifications of the footprint declaration.
  - Reference: `nl.agroconnect.ecrop.defs#thirdPartyIdsType`
- `versionDateTime` (ref): Date-time of publication of the footprint declaration.
  - Reference: `nl.agroconnect.ecrop.defs#dateTimeType`
- `versionNumber` (ref, required): Version number of the footprint declaration. A footprint declaration, identified by grower, year and sequence number, can have multiple versions; the highest version number is the most recent.
  - Reference: `nl.agroconnect.ecrop.defs#posInt32Type`
- `wasteSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#wasteSection`
- `waterConsumptionSection` (ref, required)
  - Reference: `nl.agroconnect.ecrop.defs#waterConsumptionSection`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "All relevant data for PefCR calculation for one crop at one production location of one grower in one period",
      "key": "tid",
      "record": {
        "properties": {
          "additionalProductSection": {
            "ref": "nl.agroconnect.ecrop.defs#additionalProductSection",
            "type": "ref"
          },
          "cropProtectionSection": {
            "ref": "nl.agroconnect.ecrop.defs#cropProtectionSection",
            "type": "ref"
          },
          "cropSection": {
            "ref": "nl.agroconnect.ecrop.defs#cropSection",
            "type": "ref"
          },
          "cultivationSection": {
            "ref": "nl.agroconnect.ecrop.defs#cultivationSection",
            "type": "ref"
          },
          "declarationId": {
            "description": "Identification of the footprint declaration as assigned by the data provider. (OpenAPI property name: 'id')",
            "ref": "nl.agroconnect.ecrop.defs#idType",
            "type": "ref"
          },
          "distributionSection": {
            "ref": "nl.agroconnect.ecrop.defs#distributionSection",
            "type": "ref"
          },
          "endDate": {
            "description": "End date of the period the footprint declaration applies to",
            "ref": "nl.agroconnect.ecrop.defs#dateType",
            "type": "ref"
          },
          "energySection": {
            "ref": "nl.agroconnect.ecrop.defs#energySection",
            "type": "ref"
          },
          "fertilizerSection": {
            "ref": "nl.agroconnect.ecrop.defs#fertilizerSection",
            "type": "ref"
          },
          "grower": {
            "description": "The grower who is owner of the crop the footprint is calculated on",
            "ref": "nl.agroconnect.ecrop.defs#growerDetails",
            "type": "ref"
          },
          "locationSection": {
            "ref": "nl.agroconnect.ecrop.defs#locationSection",
            "type": "ref"
          },
          "sequenceNumber": {
            "description": "Sequence number of the footprint declaration. Grower-identification, year and sequence number uniquely identify a footprint declaration (which can have multiple versions).",
            "ref": "nl.agroconnect.ecrop.defs#posInt32Type",
            "type": "ref"
          },
          "startDate": {
            "description": "Start date of the period the footprint declaration applies to",
            "ref": "nl.agroconnect.ecrop.defs#dateType",
            "type": "ref"
          },
          "thirdPartyIds": {
            "description": "Third party identifications of the footprint declaration.",
            "ref": "nl.agroconnect.ecrop.defs#thirdPartyIdsType",
            "type": "ref"
          },
          "versionDateTime": {
            "description": "Date-time of publication of the footprint declaration.",
            "ref": "nl.agroconnect.ecrop.defs#dateTimeType",
            "type": "ref"
          },
          "versionNumber": {
            "description": "Version number of the footprint declaration. A footprint declaration, identified by grower, year and sequence number, can have multiple versions; the highest version number is the most recent.",
            "ref": "nl.agroconnect.ecrop.defs#posInt32Type",
            "type": "ref"
          },
          "wasteSection": {
            "ref": "nl.agroconnect.ecrop.defs#wasteSection",
            "type": "ref"
          },
          "waterConsumptionSection": {
            "ref": "nl.agroconnect.ecrop.defs#waterConsumptionSection",
            "type": "ref"
          }
        },
        "required": [
          "declarationId",
          "sequenceNumber",
          "versionNumber",
          "startDate",
          "endDate",
          "grower",
          "cropSection",
          "locationSection",
          "cultivationSection",
          "cropProtectionSection",
          "fertilizerSection",
          "energySection",
          "waterConsumptionSection",
          "wasteSection",
          "distributionSection",
          "additionalProductSection"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "nl.agroconnect.ecrop.footprintDeclaration",
  "lexicon": 1
}
```
