
G2 CR00205: new element derivedFromValue
IPTC G2-Standards: Change Request document
Title: Add new element derivedFromValue
Change Request number: G2 CR00205
Standard to be changed: NewsML-G2
Standard’s version to be changed: 2.27
Change Request History | |||
Version | Date | Author(s) | Notes |
1 | 2018-06-08 | Dave Compton for NAR Dev | Initial draft. |
2 | 2018-06-20 | Dave Compton for NAR Dev | Added assert/sameAs considerations. |
3 | 2018-06-22 | Dave Compton for NAR Dev | Finalised Description text. |
4 | 2018-06-29 | Dave Compton for NAR Dev | Updated B) Adding derivedFromValue to item root elements |
5 | 2018-09-07 | Dave Compton for NAR Dev | Minor edits of the Example. |
6 | 2018-09-07 | Dave Compton for NAR Dev | Minor edits. CR AGREED: NAR Dev Group |
7 | 2018-09-25 | Dave Compton for NAR Dev | Clarified B/ during XSD v2.28 creation: - sourceidref: xs:IDREF, not xs:ID - Add derivedFromValue .. as child element of all items (except <catalogItem>). - derivedFromValue should repeatable, i.e. 0..N (not 0..1). - derivedFromValue and derivedFrom should be allowed in any order. |
8 | 2018-10-02 | Dave Compton for NAR Dev | Added the last bullet point above, and associated clarification in the CR text. |
Typographic note
Changes to existing documents/specifications are highlighted in yellow.
Editing notes for the spec documents are highlighted in cyan.
In drafts only: Text highlighted in magenta needs further discussion / TODOs in pink
Description of the change: (free-text)
Add a new element derivedFromValue to all top-level Items.
Rationale for the change:
The top-level Items already support the derivedFrom element, which allows a derivation relationship between Concepts to be included, e.g. 'this code was added due to the existance of this other code'.
Newer use cases, often associated with automated content generation, now require a derivation relationship to be supported a non-Concept 'data value' to a Concept or non-Concept, e.g. 'these codes were added due to the existance of this specific Slugline'.
Reference to related IPTC discussion(s) (on Yahoo groups etc):
https://groups.yahoo.com/neo/groups/iptc-news-architecture-dev/conversations/messages/10678
Formalised change request: (spec table etc.)
A/ Define a new element <derivedFromValue>.
Header | Value | |||||||||||||||||||||
(XML) Data Model | Element | |||||||||||||||||||||
Namespace (prefix) | nar | |||||||||||||||||||||
Name | derivedFromValue | |||||||||||||||||||||
Title | Derived From Value | |||||||||||||||||||||
Definition | Represents the non-Concept value that was used for deriving the value of one or more properties in this NewsML-G2 item. | |||||||||||||||||||||
User Note(s) |
| |||||||||||||||||||||
Implementation Note(s) |
| |||||||||||||||||||||
XML Schema Spec | At: PCL (no changes to CCL since v 2.25) | |||||||||||||||||||||
Datatype |
| |||||||||||||||||||||
Internally Ctrl Values |
| |||||||||||||||||||||
Externally Ctrl Values |
| |||||||||||||||||||||
Attributes |
| |||||||||||||||||||||
Child elements |
| |||||||||||||||||||||
XML Schema Note(s) |
| |||||||||||||||||||||
Example(s) | Use Case: The Slugline has the associated subject data in Set1:
<slugline id="slug1">MIDEAST-CRISIS/</slugline>
Show that the subjects in Set1 are derived from the Slugline: <!-- Derived From: Data --> <derivedFromValue idrefs="i314d1 i314d2 i314d3 i314d4" sourceidref="slug1" />
| |||||||||||||||||||||
B) Adding <derivedFromValue> to item root elements
The derivedFromValue element will be added
- as child element of all items (except <catalogItem>).
- with optional (and repeatable) cardinality
- after derivedFrom, but both derivedFrom and derivedFromValue should be allowed in any order after inlineRef.
C/ Revise the <derivedFrom> @idrefs description.
Note: This is simply aligning the derivedFrom/@idrefs description based on the derivedFromValue/@idrefs description in B/ above.
Change the derivedFrom/@idrefs description to the following: Refers to the ids of elements whose values have been derived from the concept represented by this property
(END)