ADAPT - ContextItem Discussion

ADAPT - ContextItem Discussion

Note: ContextItems do not have IDs because they never stand alone; they are always embedded within other objects.

ContextItem  

Attribute

Type

Multiplicity

Description

ContextItemType

Integer

1

Essentially a Representation ID. We are talking about an ID of an abstract class because ContextItem values can correspond to:

  • NumericRepresentationValues (e.g., FSA Area of a field)

  • EnumeratedRepresentationValues (e.g., PLSS Prime Meridians)

  • String Representations (e.g., US Driver's License number)

Value

String

0..1

Optional because container ContextItems (e.g., PLSS) would not have a Value.

ContextItems

ContextItem

0..*

Mechanism to implement hierarchy, e.g., PLSS

Code

String

1

 

ValueUOM

String

0..1

 

NestedItems

ContextItem

0..*

 

TimeScopes

TimeScope

0..*

 

ContextItemDefinition

Attribute

Type

Multiplicity

Description

Id

CompoundIdentifier

1

 

ParentId

Integer

0..1

 

Code

String

0..1

 

Version

Integer

1

 

ValueType

ContextItemValueTypeEnum

0..1

 

Description

String

0..1

 

Keywords

String

0..*

 

AgGlossaryURL

String

0..1

 

AgrovocURL

String

0..1

 

Lexicalizations

Lexicalization

0..*

 

Properties

ContextItem

0..*

 

NestedDefIds

Integer

0..*

 

Presentations

Presentations

0..*

 

EnumItems

ContextItemEnumItem

0..*

 

DefaultUOM

String

0..1

 

AllowConversion

Boolean

1

 

TimeScopes

TimeScope

0..*

 

ModelScopeIds

Integer

0..*

 

GeoPoliticalContextIds

Integer

0..*

 

ContextItemEnumItem

Attribute

Type

Multiplicity

Description

Value

String

0..1

 

Version

Integer

1

 

Description

String

0..1

 

AgGlossaryURL

String

0..1

 

AgrovocURL

String

0..1

 

Lexicalizations

Lexicalization

0..*

 

Properties

ContextItem

0..*

 

GeoPoliticalContext

Attribute

Type

Multiplicity

Description

Id

CompoundIdentifier

1

 

Code

String

1

 

Description

String

0..1

 

GPCLevel

GPCLevelEnum

0..1

 

GPCVocSource

GPCSourceVocEnum

0..1

 

Lexicalizations

Lexicalization

0..*

 

Lexicalization

Attribute

Type

Multiplicity

Description

Text

String

1

 

LanguageId

Integer

1

 

GeoPoliticalContextIds

Integer

0..*

 

 

GPCLevelEnum

Enumeration Literal

Description

Country

 

ADM1

 

ADM2

 

GPCSourceVocEnum

Enumeration Literal

Description

ISO3166_1A3

 

ISO3166_2

 

GeoNames

 

FAOGPO

 

Some ContextItem Examples

Note: As of 200160617, the most comprehensive list of ContextItems is in  the SPADE2 Regulatory Context Data Buckets (ContextItem list) page.

Item

Type?

 

 

Proposed?

Why do we need it?

StandardPayableMoisture_US

Numeric

 

Numeric

 

Property of a commodity, and jurisdiction-specific.

SeedLotId

string

0..*

Context?

 

 

SeedSource

string

 

Context?

 

 

CropInsuranceId

string

 

Context?

 

 

PermitId

string

 

Context?

 

 

SiteId

string

 

Context?

 

 

CropZonePermitId

string

 

Context?

 

 

TillagePractice

string

 

Context currently.

 

 

ISO11783 ASP Type enumeration

string

 

1 (Planned)

4 (Effective)

20150818 Group

Needed for ISO11783 compatibility.

ISO11783 TIM Type enumeration

string

 

1 (Planned)

2 (Preliminary)

3 (Preparation)

4 (Effective)

5 (Ineffective)

6 (Repair)

7 (Clearing)

8 (Powered down)

20150818 Group

Needed for ISO11783 compatibility.

ISO11783 DLV.D (DataLogPGN)

Unsigned Long Integer

 

0 to (218-1)

20150818 Group

Takes care of an ISOBUS-architecture-specific attribute for ISO11783 compatibility.

ISO11783 DLV.E (DataLogPGNStartBit)

Unsigned byte

 

0 to 63

20150818 Group

Takes care of an ISOBUS-architecture-specific attribute for ISO11783 compatibility.

ISO11783 DLV.F (DataLogPGNStopBit)

Unsigned byte

 

0 to 63

20150818 Group

Takes care of an ISOBUS-architecture-specific attribute for ISO11783 compatibility.

 

Users of ContextItems?

Unclear what this is...

Attribute

Type

Multiplicity

Description

Id

Integer

1

Unique identifier

PlanId

Integer

0..1

A list of Document references indicating which documents resulted in the creation of this work item

RecommendationId

Integer

0..1

 

WorkOrderId

Integer

0..1

 

NoteId

Integer

0..*

Unbounded note field objects

WorkDates

TimeScope

0..1

Interval of time within which the work must be done: Start --> When the work can begin; End–> Due date by which the work must be done

Priority

Enumeration

0..1

Immediately / SoonAsPossible (no due date) / High / Medium / Low? Some kind of scale?

CreationDate

DateTime

1

When the work item was created.

Moved to Parking Lot - R. Andres Ferreyra (Unlicensed): Check how these are done in UML. Meanwhile we created a DateTime class.

ModifiedDate

DateTime

1

The last date the work item was modified

Season

TimeScope

1

The season the work item should be performed in

ApprovalAuthorityId

Integer

0..*

A list of IDs of authorities that authorized this work

ClientId

Integer

0..1

A reference to the Client/Grower to use for the work

FarmId

Integer

0..1

A reference to the Farm to use for the work

FieldId

Integer

0..1

A reference to the Field to use for the work

CropZoneId

Integer

0..*

A list of CropZone references.

OperatorId

Integer

0..1

A reference to the Operator to use for the work

MachineId

Integer

0..1

A reference to the Machine to use for the work

SpatialLayerId

Integer

0..*

A list of spatial layers needed to do the work (e.g. VarietyLocator layer)

FieldBoundaryId

Integer

0..1

A reference to the field boundary to use for the work

WorkItemOperationId

Integer

0..*

A list of WorkItemOperation references that define various objects to use with a given operation

GuidanceId

Integer

0..n

A list of guidance objects to be used for the work

StatusId

Integer

0..*

Defines the current status of the work item. It's a reference to a StatusUpdate object