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:
|
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 |
|