-
Notifications
You must be signed in to change notification settings - Fork 46
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
Make JSON examples minimal #1666
Comments
Moving relevant comments from #1449: @duncandewhurst in #1449 (comment):
@jpmckinney in #1449 (comment):
|
@jpmckinney I've made your suggested changes. Regarding the second example on that page, it feels unnecessary to me. Given that the purpose of the page is to explain the differences in modelling new information, updates, and amendments, I think it would be sufficient to add a sentence at the end of the first example along the lines of:
Regarding the third example on that page, we can decide what to do with it as a part of #1531 (which removes the easy releases terminology). |
Yes, happy to remove the 2nd example. We can put the new sentence in an admonition titled "Contract updates and amendments" |
Noting that as part of going through all the examples for this issue, I think it'll be useful to use a consistent approach to setting
|
Sounds good to me re: ocid and id. |
I reviewed the examples not already touched by #1680, #1661 and #1531. The following examples would be improved by removing fields. I'll check these off as I work through them:
I also noticed a couple of other opportunities for improvements and fixes: Unsuccessful processesI think this example is trying to do too much: it illustrates linking planning and contracting processes, linking unsuccessful and restarted processes, and how to assign different ocids to unsuccessful and restarted process when they share an identifier in a publisher's system. Suggested actions:
Framework agreementsWhilst updating the examples, I noticed a couple of conflicts with guidance:
|
Organizational unitsI don't understand why an extension is needed in the second example. Couldn't the division code be disclosed in |
Hmm, I think any supplier can indeed request to participate, but only qualified suppliers will then be able to submit a bid .
You're right. It's not needed. This was clarified in #1510 Maybe we do something like https://github.com/sdd1982/branch which indicates the branch of government (executive, legislative, judicial). |
The other suggestions look good! |
Oh yes, of course. I'll update the text.
Hmm, I'm not sure that extension fits the idea of an organizational unit (i.e. an administrative division of an organization). It seems more like a classification of the branch of government to which an organization belongs. I think we can probably just remove the second example? |
Contracting processes and planning processesThe guidance states that:
However, the description of the 'tender' tag suggests that it can be used in a planning process (my emphasis):
Should the references to planning processes be removed? Edit: Also we'll need to replace "should" with "ought to" on the guidance page. |
Oh, right, I didn't check the page title! Yes, we can just remove that example – since there's nothing about it that's different from creating an extension for any other reason.
Ah, indeed, it was made to be a copy of the |
Organization classificationsThe worked example for the organization classification extension begins with a lot of guidance:
There is a lot of crossover and some discrepancies ('needs to' vs 'ought to') with the guidance that appears at the beginning of the page:
To reduce repetition and separate the guidance and examples (as on other guidance/example pages) I suggest that we integrate the guidance from the beginning of the worked example with the guidance at the start of the page. Sound good? |
Yes, sounds good. If relevant, feel free to add structure (headings) to the guidance part, as it might get long. |
One more suggestion about organization classifications: In terms of modelling, I don't see why example 3 (disclosing whether an organization is chaired by a woman) should differ from example 2.2 (disclosing whether an organization is owned by a woman). Given that the third option is discouraged anyway, I think that we can discard it and add an admonition to the second example along the lines of:
|
Yes, I'm happy to remove examples of extensions, as once publishers learn about extensions, they will come up with use cases like these on their own. The admonition is a good idea. In general, a list of codes can be modelled as a set of boolean fields (e.g. SME, VSCE, etc.). Perhaps the admonition can cover boolean elements more broadly.
|
@duncandewhurst Is there anything in this issue not resolved by #1680? |
Only my suggestion in #1666 (comment), which I've done for all the examples I've edited, but there may be some others that still need updating:
When updating the |
@jpmckinney do you want the check for |
Let's create a new issue as I already started reviewing #1680. |
Following on from the discussion started in #1661 (comment):
To ease comprehension, we should have minimal (but coherent) examples. That is, the JSON files in
docs/examples
should contain only the fields needed to illustrate the specific documentation pages that they feature in. Minimal examples are also easier to maintain, for example, to reflect a schema change.The purpose of this issue differs from the purpose of #1449, which is to avoid examples that are incoherent, or that are too abstract (e.g. Anytown buys widgets).
I'll review the examples to identify those whose clarity would be improved by removing fields. I'll do that after #1661 is done to avoid any duplication of effort.
The text was updated successfully, but these errors were encountered: