-
Notifications
You must be signed in to change notification settings - Fork 46
Guidance around extending subschema (building blocks) #606
Copy link
Copy link
Open
Labels
Focus - DocumentationIncludes corrections, clarifications, new guidance, and UI/UX issuesIncludes corrections, clarifications, new guidance, and UI/UX issuesFocus - ExtensionsRelating to new or proposed extensions, or the governance and maintenance of extensionsRelating to new or proposed extensions, or the governance and maintenance of extensionsblockedWe can't merge this yetWe can't merge this yet
Milestone
Metadata
Metadata
Assignees
Labels
Focus - DocumentationIncludes corrections, clarifications, new guidance, and UI/UX issuesIncludes corrections, clarifications, new guidance, and UI/UX issuesFocus - ExtensionsRelating to new or proposed extensions, or the governance and maintenance of extensionsRelating to new or proposed extensions, or the governance and maintenance of extensionsblockedWe can't merge this yetWe can't merge this yet
Type
Projects
Status
To do
If an extension extends the
Periodbuilding block with a new field, because the publisher wants to add a detail or nuance toawardPeriod, that extension will also effectively make that new field available to all other Period objects (tenderPeriod,enquiryPeriod,contractPeriod,award/contractPeriod,contract/period). However, that new field may be meaningless or incoherent in those other contexts.We should author guidance about when to extend building blocks, to avoid this scenario. In general, building blocks should only be extended if those changes make sense for all fields/objects using the building block.
Alternately, if we want to allow people to extend the
awardPeriodobject without affecting other Period objects, then we may need to abandon the idea of reusable building blocks at least as currently implemented (or severely diminish their value and create new challenges, if e.g. a publisher changes the$refofawardPeriodto point to a new, encapsulated Period object), but that may be 2.0.Follow-up from #593 (comment)