This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dido:public:s_cli:05_contents:02_prt:supply:03_theory:02_issue:01_opc:start [2021/05/20 18:35] nick ↷ Links adapted because of a move operation |
dido:public:s_cli:05_contents:02_prt:supply:03_theory:02_issue:01_opc:start [2022/02/03 20:35] (current) 52.45.51.99 ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[dido:public:s_cli:05_contents:02_prt:supply:start| User Scenario: Supply Chain]] | [[dido:public:s_cli:05_contents:02_prt:supply:start| User Scenario: Supply Chain]] | ||
| - | As part of the OP, Sal downloads the DIDO Platform selected by the OPC (we refer to this as DIDO Platform O). The OPC have defined several Data Objects (DOs) that they are going to have on their DIDO. When a DO is deployed to a DIDO, it is referred to as a Smart Contract. | + | As part of the OP, Sal downloads the [[dido:public:ra:xapend:xapend.a_glossary:d:dido_platform |
| + | |DIDO Platform]] selected by the OPC (we refer to this as DIDO Platform O). The OPC have defined several [[dido:public:ra:xapend:xapend.a_glossary:d:data_object]] that they are going to have on their DIDO. When a DO is deployed to a DIDO, it is referred to as a [[dido:public:ra:xapend:xapend.a_glossary:s:smart_contract|Smart Contract]]. | ||
| - | ===== 1.1 DO: Field ===== | + | ===== 1.1 DO: Track ===== |
| - | [[dido:public:s_cli:05_contents:02_prt:supply:theory:02_issue:01_opc:start| Return to Top ]] | + | [[dido:public:s_cli:05_contents:02_prt:supply:03_theory:02_issue:01_opc:start| Return to Top ]] |
| - | **Field** represents the plot of ground where crops are grown. The definition of a field can be relatively static in nature (i.e., the field was created 200 years ago, or the filed was created last year to just grow strawberries.<code sql> | + | **Track** represents the plot of ground where crops are grown. The definition of a track can be relatively static in nature (i.e., the track (field) was created 200 years ago, or the track was created last year to just grow strawberries.<code sql> |
| DEFINE TYPE LatitudeType | DEFINE TYPE LatitudeType | ||
| Line 50: | Line 51: | ||
| elevation SeaLevelType | elevation SeaLevelType | ||
| }; | }; | ||
| - | DEFINE TYPE AgFieldShapeType AS ENUM | + | DEFINE TYPE AgTrackShapeType AS ENUM |
| WITH CONSTRAINTS | WITH CONSTRAINTS | ||
| { { 0, "Rectangle"} DEFAULT, | { { 0, "Rectangle"} DEFAULT, | ||
| Line 58: | Line 59: | ||
| } | } | ||
| VALUE = DEFAULT; | VALUE = DEFAULT; | ||
| - | DEFINE TYPE AgFieldType AS OBJECT | + | DEFINE TYPE AgTrackType AS OBJECT |
| { swCorner Geolocation, | { swCorner Geolocation, | ||
| - | shapeOfField ShapeType, | + | shapeOfTrack ShapeType, |
| listOfCoord Geolocation[] | listOfCoord Geolocation[] | ||
| }; | }; | ||
| Line 66: | Line 67: | ||
| ===== 1.2 DO: Activity Calendar ===== | ===== 1.2 DO: Activity Calendar ===== | ||
| - | [[dido:public:s_cli:05_contents:02_prt:supply:theory:02_issue:01_opc:start| Return to Top ]] | + | [[dido:public:s_cli:05_contents:02_prt:supply:03_theory:02_issue:01_opc:start| Return to Top ]] |
| - | **Activity Calendar** is a list of the farming activities performed on a field, the time the activities were conducted and the duration of the activity. This can be important when it comes to some agricultural activities. For example, a crop can not be harvest for a certain number of days after watering, using fertilizers or herbicides. You can not plant until you have plowed.<code sql> | + | **Activity Calendar** is a list of the farming activities performed on a track, the time the activities were conducted and the duration of the activity. This can be important when it comes to some agricultural activities. For example, a crop can not be harvest for a certain number of days after watering, using fertilizers or herbicides. You can not plant until you have plowed.<code sql> |
| DEFINE TYPE AgActivityType AS ENUM | DEFINE TYPE AgActivityType AS ENUM | ||
| WITH CONSTRAINTS | WITH CONSTRAINTS | ||
| Line 124: | Line 125: | ||
| ===== 1.3 DO: Substances, Methods and Ingredients ===== | ===== 1.3 DO: Substances, Methods and Ingredients ===== | ||
| - | [[dido:public:s_cli:05_contents:02_prt:supply:theory:02_issue:01_opc:start| Return to Top ]] | + | [[dido:public:s_cli:05_contents:02_prt:supply:03_theory:02_issue:01_opc:start| Return to Top ]] |
| Line 133: | Line 134: | ||
| Accessed: 17 May 2021, | Accessed: 17 May 2021, | ||
| [[https://www.ecfr.gov/cgi-bin/text-idx?c=ecfr&SID=9874504b6f1025eb0e6b67cadf9d3b40&rgn=div6&view=text&node=7:3.1.1.9.32.7&idno=7#sg7.3.205.g.sg0]] | [[https://www.ecfr.gov/cgi-bin/text-idx?c=ecfr&SID=9874504b6f1025eb0e6b67cadf9d3b40&rgn=div6&view=text&node=7:3.1.1.9.32.7&idno=7#sg7.3.205.g.sg0]] | ||
| - | )). Therefore, each field needs to maintain a history of the Substances, Methods and Ingredients used on that field.<code sql> | + | )). Therefore, each track needs to maintain a history of the Substances, Methods and Ingredients used on that track.<code sql> |
| DEFINE AgSubstanceEvent AS OBJECT | DEFINE AgSubstanceEvent AS OBJECT | ||
| { Substance TextValue, | { Substance TextValue, | ||
| Line 141: | Line 142: | ||
| { AgSubstanceEvent[ TimestampType ] | { AgSubstanceEvent[ TimestampType ] | ||
| };<code> | };<code> | ||
| - | - Crop History is important when it comes to the health of the field to sustain crops in the future (i.e., crop rotation) and also in determining how suitable the field is for organic production. In order for produce to be called organic if it’s certified to have grown on soil that had no prohibited substances applied for three years prior to harvest. Prohibited substances include most synthetic fertilizers and pesticides.(( | + | - Crop History is important when it comes to the health of the track to sustain crops in the future (i.e., crop rotation) and also in determining how suitable the track is for organic production. In order for produce to be called organic if it’s certified to have grown on soil that had no prohibited substances applied for three years prior to harvest. Prohibited substances include most synthetic fertilizers and pesticides.(( |
| Miles McEvoy, | Miles McEvoy, | ||
| 13 May 2019, | 13 May 2019, | ||
| Line 150: | Line 151: | ||
| )) <code sql> | )) <code sql> | ||
| DEFINE CropHistory AS OBJECT | DEFINE CropHistory AS OBJECT | ||
| - | { AgField AgFieldType, | + | { agTrack AgTrackType, |
| - | StartingDate DateTimeValue, | + | startingDate DateTimeValue, |
| - | EndingDate DateTimeValue, | + | endingDate DateTimeValue, |
| - | CropType | + | cropType |
| }; | }; | ||
| </code> | </code> | ||
| ===== 1.4 DO: Owner or Operator ===== | ===== 1.4 DO: Owner or Operator ===== | ||
| - | [[dido:public:s_cli:05_contents:02_prt:supply:theory:02_issue:01_opc:start| Return to Top ]] | + | [[dido:public:s_cli:05_contents:02_prt:supply:03_theory:02_issue:01_opc:start| Return to Top ]] |
| [[dido:public:ra:xapend:xapend.a_glossary:o:owner]] or [[dido:public:ra:xapend:xapend.a_glossary:o:operator]] Details | [[dido:public:ra:xapend:xapend.a_glossary:o:owner]] or [[dido:public:ra:xapend:xapend.a_glossary:o:operator]] Details | ||
| Line 263: | Line 264: | ||
| { FarmerEntity FarmerEntityType, | { FarmerEntity FarmerEntityType, | ||
| NaiscCode NaicsCodeType, | NaiscCode NaicsCodeType, | ||
| - | ListOfFields AgFieldType[PositiveWholeNumber] | + | ListOfTracks AgTrackType[PositiveWholeNumber] |
| }; | }; | ||
| </code> | </code> | ||