-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work items #297
Comments
I think instead of numeric IDs we should recommend human-readable IDs, e.g. a lowercase, abbreviated version of the
Can you share some examples of the different semantics? I want to be sure we have no choice but to use attributes, whose downside is that it is fairly semantics-free from the schema's perspective.
I don't recommend it. If we end up using the same model later, we have an unnecessary difference. If we use a different model, SIFSOURCE will be a special case either way:
I don't see an issue. What was your concern? |
Oh, we can also allow either strings or numbers in value. |
How would that work for the example in which there are two dams?
If the work item is a reservoir, then the category is the type of sediment management, but if the work item is a car park, then the category is the type of pavement. If the work item is a turbine, then the description is its capacity in megawatts, but if the work item is an access road, then the description is its width in meters. Users can also add an 'other' work item and enter a free-text category.
👍
Great, my concern was just that elsewhere |
Sorry - I meant only for the attributes.
Hmm, we might find that some attributes are common enough to promote as individual fields, but for now we can leave them under attributes until we aggregate more demand / collect more evidence.
Can you update the examples you shared to not embed any fields under
IDs need to be compared (e.g. organization reference ID to party ID), in which case a simple A number that represents a length, etc., however, would lose something as a string: no arithmetic, no numeric comparison, possibility of invalid numbers, etc. |
Done! |
Yes, that is my concern with the approach in the item attributes extension, which uses a string The value of an attribute in the proposed model can be either a string or a number, so let's allow a string or a number. |
Here's an updated example, with the changes discussed above: {
"projects": [
{
"workItems": [
{
"id": "1",
"name": "Dam",
"title": "Primary Dam",
"attributes": [
{
"id": "type",
"name": "Type",
"value": "Concrete (mass)"
},
{
"id": "length",
"name": "length",
"value": 500,
"unit": {
"name": "Meters",
"id": "MTR",
"scheme": "UNCEFACT"
}
},
{
"id": "height",
"name": "height",
"value": 30,
"unit": {
"name": "Meters",
"id": "MTR",
"scheme": "UNCEFACT"
}
}
]
},
{
"id": "2",
"name": "Dam",
"title": "Secondary Dam",
"attributes": [
{
"id": "type",
"name": "Type",
"value": "Earth fill"
},
{
"id": "length",
"name": "length",
"value": 100,
"unit": {
"name": "Meters",
"id": "MTR",
"scheme": "UNCEFACT"
}
},
{
"id": "height",
"name": "height",
"value": 20,
"unit": {
"name": "Meters",
"id": "MTR",
"scheme": "UNCEFACT"
}
}
]
},
{
"id": "3",
"name": "Car Parking",
"title": "Primary car park",
"attributes": [
{
"id": "pavement",
"name": "Pavement",
"value": "Asphalt"
},
{
"id": "parkingSpaces",
"name": "Number of car parking spaces",
"value": 10
},
{
"id": "area",
"name": "Total area",
"value": 150,
"unit": {
"name": "Square metre",
"id": "MTK",
"scheme": "UNCEFACT"
}
}
]
}
]
}
]
} |
SIF SOURCE collects data on the work items that make up an infrastructure project and the attributes of each work item, in order to support cost comparisons.
Work items may differ from the items being procured in the contracting processes associated with the project.
SIF SOURCE defines sector-specific lists of work items and attributes. Projects can have multiple of each type of work item and users can set a title for each work item, along with its attributes. For example, a dam project might have one 'Dam' work item for the primary dam and another 'Dam' work item for the secondary dam.
Here's an example from SOURCE of the work items and attributes for the dam sector:
Concrete (Arch)
Rockfill
Concrete-face rockfill dam
Earth fill
Other]
Pelton
Kaplan
Other]
With segment gates
With sluice gates
Other]
Sluicing
Dredging
Flushin
Other]
Steel
Other]
Underground]
Steel
Other]
Metallic
Timber
Other]
Metallic
Timber
Other]
Concrete
Unpaved
Other]
Concrete
Other]
The semantics of category, description and quantity differ depending on the work item, so I think it's best to consider these all as attributes.
Reusing the modeling from open-contracting/standard#751 would look like this:
Discussion
@jpmckinney - please could you share your thoughts on the overall approach and the following:
workItems
under aSIFSOURCE
object to avoid clashes if we find different approaches to modeling work items in other jurisdictions?value
field with theunit
object (as in the item attributes extension)?The text was updated successfully, but these errors were encountered: