Skip to content

Commit

Permalink
Merge pull request #27 from DanSmith/master
Browse files Browse the repository at this point in the history
Fix cardinality in converted xxxGroup type references
  • Loading branch information
jeremyiverson committed Dec 21, 2023
2 parents b2af74b + 4e29cd5 commit 64f07e9
Show file tree
Hide file tree
Showing 32 changed files with 70 additions and 68 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
xcopy ddi-lifecycle-all-outputs\xsd ddi-lifecycle\xsd /E /I
xcopy ddi-lifecycle-all-outputs\json ddi-lifecycle\json /E /I
xcopy ddi-lifecycle-all-outputs\owl ddi-lifecycle\rdf /E /I
xcopy ddi-lifecycle-all-outputs\uml ddi-lifecycle\uml /E /I
ren ddi-lifecycle ddi-lifecycle-${{env.SHORT_SHA}}
ren ddi-lifecycle-all-outputs ddi-lifecycle-all-outputs-${{env.SHORT_SHA}}
7z a -tzip "ddi-lifecycle-all-outputs-${{env.SHORT_SHA}}.zip" "ddi-lifecycle-all-outputs-${{ENV.SHORT_SHA}}\*"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/stronglyTypedReferences.csv
/generated
/notDefinedTypedReference.csv
/build/graphviz-2.38
4 changes: 2 additions & 2 deletions ItemTypes/CategoryGroup/CategoryGroup.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
CategoryReference,Category,0,1,A category defined as a member of this group.,,,,,,,,,,,ddi:reusable:3_3,e,
CategoryGroupReference,CategoryGroup,0,1,A category group that is a member of this group (nesting structure).,,,,,,,,,,,ddi:logicalproduct:3_3,e,
CategoryReference,Category,0,n,A category defined as a member of this group.,,,,,,,,,,,ddi:reusable:3_3,e,
CategoryGroupReference,CategoryGroup,0,n,A category group that is a member of this group (nesting structure).,,,,,,,,,,,ddi:logicalproduct:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/CodeListGroup/CodeListGroup.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the CodeLists in this group.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
CodeListReference,CodeList,0,1,Reference to constituent CodeList.,,,,,,,,,,,ddi:reusable:3_3,e,
CodeListGroupReference,CodeListGroup,0,1,Reference to constituent CodeListGroup. This allows for nesting of CodeListGroups.,,,,,,,,,,,ddi:logicalproduct:3_3,e,
CodeListReference,CodeList,0,n,Reference to constituent CodeList.,,,,,,,,,,,ddi:reusable:3_3,e,
CodeListGroupReference,CodeListGroup,0,n,Reference to constituent CodeListGroup. This allows for nesting of CodeListGroups.,,,,,,,,,,,ddi:logicalproduct:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/ConceptGroup/ConceptGroup.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ GroupingUniverseReference,Universe,0,n,Reference to the universe statement descr
GroupingConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group. Expresses a conceptual basis for grouping the concepts. Note that this is not a formal linking of a concept to a university such as found in a ConceptualVariable. It is a means of helping to define the context within which this ConceptGroup is relevant.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
ConceptReference,Concept,0,1,"Reference to a concept included in the concept group. A concept can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group.",,,,,,,,,,,ddi:reusable:3_3,e,
ConceptGroupReference,ConceptGroup,0,1,"Reference to a subordinate concept group included in the concept group. A concept group can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group.",,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
ConceptReference,Concept,0,n,"Reference to a concept included in the concept group. A concept can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group.",,,,,,,,,,,ddi:reusable:3_3,e,
ConceptGroupReference,ConceptGroup,0,n,"Reference to a subordinate concept group included in the concept group. A concept group can be referenced internally, from the concept scheme included in the same conceptual components module, or externally, from another scheme. This element is recursive to allow for the description of hierarchical relationships within the concept group.",,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
IsAdministrativeOnly,boolean,0,1,Indicates the purpose of a concept group.,,,,,,,,,,,,a,
IsConcept,boolean,0,1,"A value of true indicates that there is a concept which defines the group, and which is comprised of the concepts contained in the group. A group can be conceptual in purpose (that is, have a value of ""concept"" for the purpose attribute), but not itself have a defining concept.",,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/ConceptualVariableGroup/ConceptualVariableGroup.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group. TypeOfObject should be set to Concept.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
ConceptualVariableReference,ConceptualVariable,0,1,Reference to constituent ConceptualVariable (from the substitution group). TypeOfObject should be set to ConceptualVariable.,,,,,,,,,,,ddi:reusable:3_3,e,
ConceptualVariableGroupReference,ConceptualVariableGroup,0,1,Reference to constituent ConceptualVariableGroup. This allows for nesting of ConceptualVariableGroups. TypeOfObject should be set to ConceptualVariableGroup.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
ConceptualVariableReference,ConceptualVariable,0,n,Reference to constituent ConceptualVariable (from the substitution group). TypeOfObject should be set to ConceptualVariable.,,,,,,,,,,,ddi:reusable:3_3,e,
ConceptualVariableGroupReference,ConceptualVariableGroup,0,n,Reference to constituent ConceptualVariableGroup. This allows for nesting of ConceptualVariableGroups. TypeOfObject should be set to ConceptualVariableGroup.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/ControlConstructGroup/ControlConstructGroup.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
ControlConstructReference,ControlConstruct,0,1,"Reference to constituent ControlConstruct (from the substitution group). TypeOfObject should be set to IfThenElse, RepeatUntil, RepeatWhile, Loop, Sequence, ComputationItem, StatementItem, MeasurementConstruct or QuestionConstruct.",,,,,,,,,,,ddi:datacollection:3_3,e,
ControlConstructGroupReference,ControlConstructGroup,0,1,Reference to constituent ControlConstructGroup. This allows for nesting of ControlConstructGroups. TypeOfObject should be set to ControlConstructGroup.,,,,,,,,,,,ddi:datacollection:3_3,e,
ControlConstructReference,ControlConstruct,0,n,"Reference to constituent ControlConstruct (from the substitution group). TypeOfObject should be set to IfThenElse, RepeatUntil, RepeatWhile, Loop, Sequence, ComputationItem, StatementItem, MeasurementConstruct or QuestionConstruct.",,,,,,,,,,,ddi:datacollection:3_3,e,
ControlConstructGroupReference,ControlConstructGroup,0,n,Reference to constituent ControlConstructGroup. This allows for nesting of ControlConstructGroups. TypeOfObject should be set to ControlConstructGroup.,,,,,,,,,,,ddi:datacollection:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
DevelopmentActivityReference,DevelopmentActivity,0,1,"Reference to a constituent DevelopmentActivity for inclusion in the group. TypeOfObject should be ContentReviewActivity, TranslationActivity, or PretestActivity.",,,,,,,,,,,ddi:datacollection:3_3,e,
DevelopmentActivityGroupReference,DevelopmentActivityGroup,0,1,Reference to constituent Development Activity group. This allows for nesting of processing instruction groups. TypeOfObject should be DevelopmentActivityGroup.,,,,,,,,,,,ddi:datacollection:3_3,e,
DevelopmentActivityReference,DevelopmentActivity,0,n,"Reference to a constituent DevelopmentActivity for inclusion in the group. TypeOfObject should be ContentReviewActivity, TranslationActivity, or PretestActivity.",,,,,,,,,,,ddi:datacollection:3_3,e,
DevelopmentActivityGroupReference,DevelopmentActivityGroup,0,n,Reference to constituent Development Activity group. This allows for nesting of processing instruction groups. TypeOfObject should be DevelopmentActivityGroup.,,,,,,,,,,,ddi:datacollection:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/GeographicLocationGroup/GeographicLocationGroup.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLocationReference,GeographicLocation,0,1,Reference to constituent GeographicLocation (from the substitution group). TypeOfObject should be set to GeographicLocation.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLocationGroupReference,GeographicLocationGroup,0,1,Reference to constituent GeographicLocationGroup. This allows for nesting of GeographicLocationGroups. TypeOfObject should be set to GeographicLocationGroup.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
GeographicLocationReference,GeographicLocation,0,n,Reference to constituent GeographicLocation (from the substitution group). TypeOfObject should be set to GeographicLocation.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLocationGroupReference,GeographicLocationGroup,0,n,Reference to constituent GeographicLocationGroup. This allows for nesting of GeographicLocationGroups. TypeOfObject should be set to GeographicLocationGroup.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ UniverseReference,Universe,0,n,Reference to the universe statement describing th
ConceptReference,Concept,0,1,Reference to the concept expressed by the objects in this group.,,,,,,,,,,,ddi:reusable:3_3,e,
Subject,InternationalCodeValueType,0,n,"If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
Keyword,InternationalCodeValueType,0,n,"If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.",,,,,,,,,,,ddi:reusable:3_3,e,
GeographicStructureReference,GeographicStructure,0,1,Reference to constituent GeographicStructure (from the substitution group). TypeOfObject should be set to GeographicStructure.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicStructureGroupReference,GeographicStructureGroup,0,1,Reference to constituent GeographicStructureGroup. This allows for nesting of GeographicStructureGroups. TypeOfObject should be set to GeographicStructureGroup.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
GeographicStructureReference,GeographicStructure,0,n,Reference to constituent GeographicStructure (from the substitution group). TypeOfObject should be set to GeographicStructure.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicStructureGroupReference,GeographicStructureGroup,0,n,Reference to constituent GeographicStructureGroup. This allows for nesting of GeographicStructureGroups. TypeOfObject should be set to GeographicStructureGroup.,,,,,,,,,,,ddi:conceptualcomponent:3_3,e,
IsOrdered,boolean,0,1,"If set to ""true"" indicates that the content of the group is ordered as it appears within the XML structure.",,,,,,,,,,,,a,

0 comments on commit 64f07e9

Please sign in to comment.