Skip to content

Commit

Permalink
Additional cardinality updates
Browse files Browse the repository at this point in the history
More updates related to #49
  • Loading branch information
DanSmith committed Oct 31, 2024
1 parent ca17e63 commit a51aa67
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Name,DataType,MinCardinality,MaxCardinality,Description,Ordered,AllowSubtypes,MinLength,MaxLength,Enumeration,Pattern,MinInclusive,MinExclusive,MaxInclusive,MaxExclusive,DeprecatedNamespace,DeprecatedElementOrAttribute,DeprecatedChoiceGroup
CodeReference,CodeType,0,1,Identifies the value to which the new response domain is attached by a references a specific Code within the CodeDomain.,,,,,,,,,,,ddi:reusable:3_3,e,
CategoryReference,Category,0,1,Identifies the value to which the new response domain is attached by a references a specific Category within the CategoryDomain.,,,,,,,,,,,ddi:reusable:3_3,e,
DomainSpecificValue,DomainSpecificValueType,0,1,Identifies the value to which the new response domain is attached by a reference to a specific value used by the response domain and the specific value.,,,,,,,,,,,ddi:datacollection:3_3,e,
CodeReference,CodeType,0,n,Identifies the value to which the new response domain is attached by a references a specific Code within the CodeDomain.,,,,,,,,,,,ddi:reusable:3_3,e,
CategoryReference,Category,0,n,Identifies the value to which the new response domain is attached by a references a specific Category within the CategoryDomain.,,,,,,,,,,,ddi:reusable:3_3,e,
DomainSpecificValue,DomainSpecificValueType,0,n,Identifies the value to which the new response domain is attached by a reference to a specific value used by the response domain and the specific value.,,,,,,,,,,,ddi:datacollection:3_3,e,
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Description,StructuredStringType,0,1,"A summary description of the geographic (s
CountryCode,CountryCodeType,0,n,Serves as head of a substitution group for specifying ISO 3166 Country Codes or use of unspecified text. Use of ISO 3166 Country codes strongly recommended. Repeat for each country. If,,,,,,,,,,,ddi:reusable:3_3,e,
GeographyStructureVariableReference,Variable,0,1,"References a variable describing the geographic levels available in the data such as the variable ""Summary Level"" in U.S. Census data. This reference is needed for assistance in programming.",,,,,,,,,,,ddi:reusable:3_3,e,
SpatialObject,string,0,1,"Contains information on the most discrete type of spatial representation to which data described by this module can be attached (point, line, polygon, linear ring). For example, a raw data file with an address attached to each case is 'point'. When the microdata file is anonymized and the geographic information is for a state or other defined area, it is 'polygon'. Some data, such as traffic or criminal incidence data may have a street range identification or 'line', and some such as communications data have a point with a radius or 'linear ring'.",,,,,Point Polygon Line LinearRing,,,,,,ddi:reusable:3_3,e,
GeographicStructureReference,GeographicStructure,0,1,Reference to the detailed information found in a GeographicStructure. Allows for the exclusion of specified LevelValues.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLevelReference,GeographicLevelType,0,1,Reference to specific LevelValue found in a GeographicStructure. Use when only a limited number of GeographicLevel are used from a GeographicStructure.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLocationReference,GeographicLocation,0,1,Reference to detailed listing of named locations within the data described by a GeographicLocation.,,,,,,,,,,,ddi:reusable:3_3,e,
LocationValueReference,LocationValueType,0,1,Reference to specific LocationValue found in a GeographicLocation. Use when only a limited number of LocationValue are used from a GeographicStructure.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicStructureReference,GeographicStructure,0,n,Reference to the detailed information found in a GeographicStructure. Allows for the exclusion of specified LevelValues.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLevelReference,GeographicLevelType,0,n,Reference to specific LevelValue found in a GeographicStructure. Use when only a limited number of GeographicLevel are used from a GeographicStructure.,,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLocationReference,GeographicLocation,0,n,Reference to detailed listing of named locations within the data described by a GeographicLocation.,,,,,,,,,,,ddi:reusable:3_3,e,
LocationValueReference,LocationValueType,0,n,Reference to specific LocationValue found in a GeographicLocation. Use when only a limited number of LocationValue are used from a GeographicStructure.,,,,,,,,,,,ddi:reusable:3_3,e,
SummaryDataReference,GeographicLevelType,0,n,"May be repeated to reference each geography (geographic level) for which there is summary data. For example, person records may contain summary data on the State, County, or City in which they reside. In data collections where the individual case is a geographic location such as a County, data may be provided that summarizes State or National data. This is often true where data suppression at lower geographies makes it impossible to roll-up or aggregate the data to obtain values for the higher levels.",,,,,,,,,,,ddi:reusable:3_3,e,
HighestLevelReference,LevelReferenceType,0,1,Reference to the top or highest GeographicLevel.,,,,,,,,,,,ddi:reusable:3_3,e,
LowestLevelReference,LevelReferenceType,0,1,Reference to the bottom or lowest GeographicLevel.,,,,,,,,,,,ddi:reusable:3_3,e,
4 changes: 2 additions & 2 deletions CompositeTypes/GeographicLevelType/GeographicLevelType.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Description,StructuredStringType,0,1,A description of the GeographicLevel. Suppo
GeographicLevelCode,CodeValueType,0,n,A code and its authorization source for identifying the level within a specific system.,,,,,,,,,,,ddi:reusable:3_3,e,
CoverageLimitation,InternationalStringType,0,1,"Describes a limitation of the coverage such as all objects of a specific type that meet population size requirements (i.e., All Places with a population of 10,000 or more).",,,,,,,,,,,ddi:reusable:3_3,e,
PrimaryComponentLevel,PrimaryComponentLevelType,0,n,"Provides references to the base level elements that are used as building blocks for composed geographies. For example, Metropolitan areas that are composed of counties except in the New England States where they are composed of county subdivisions, or School Attendance Boundaries (SABINS) built from Census Blocks. This structure allows for specifying the basic building block for composed areas and any restrictions (coverage limitations). The field may be repeated to provide alternate information on the basic building blocks for areas outside of the coverage limitations described.",,,,,,,,,,,ddi:reusable:3_3,e,
ParentGeographicLevelReference,GeographicLevelType,0,1,Reference to a single containing (parent) geography.,,,,,,,,,,,ddi:reusable:3_3,e,
ParentGeographicLevelReference,GeographicLevelType,0,n,Reference to a single containing (parent) geography.,,,,,,,,,,,ddi:reusable:3_3,e,
IsExhaustiveParentGeographicLevel,boolean,0,1,Indicates whether the geographic level completely fills its parent level. Counties are exhaustive within States. Places are NOT exhaustive within States.,,,,,,,,,,,,,
GeographicLayerBaseReference,GeographicLevelType,2,n,"Use for geographic polygons that are the result of layering two or more geographic hierarchies where the polygon being described is the intersect of the layers. For example: State - County - County Subdivision - Place/Remainder - Tract [The portion of a tract that is within a single place (or non-place area) and a single county subdivision] This polygon is made by overlaying the following three geographic hierarchies: 1) State - Place, 2) State - County - Tract, and 3) State - County - Subdivision. The three GeographicLayerBase elements would point to Tract, Place, and County Subdivision.",,,,,,,,,,,ddi:reusable:3_3,e,
GeographicLayerBaseReference,GeographicLevelType,0,n,"Use for geographic polygons that are the result of layering two or more geographic hierarchies where the polygon being described is the intersect of the layers. For example: State - County - County Subdivision - Place/Remainder - Tract [The portion of a tract that is within a single place (or non-place area) and a single county subdivision] This polygon is made by overlaying the following three geographic hierarchies: 1) State - Place, 2) State - County - Tract, and 3) State - County - Subdivision. The three GeographicLayerBase elements would point to Tract, Place, and County Subdivision.",,,,,,,,,,,ddi:reusable:3_3,e,
2 changes: 1 addition & 1 deletion CompositeTypes/PolygonType/PolygonType.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ExternalURI,anyURI,0,1,Note that ExternalURI points to the boundary file location.,,,,,,,,,,,ddi:reusable:3_3,e,
PolygonLinkCode,string,0,1,The PolygonLinkCode is the identifier of the specific polygon within the file. For example in an NHGIS file the LinkCodeForPolygon for Tract 101.01 in Hennepin County in Minnesota is 2700530010101.,,,,,,,,,,,ddi:reusable:3_3,e,
ShapeFileFormat,CodeValueType,0,1,The format of the shape file existing at the location indicated by the sibling ExternalURI element.,,,,,,,,,,,ddi:reusable:3_3,e,
Point,PointType,4,n,A geographic point defined by a latitude and longitude. A minimum of 4 points is required as the first and last point should be identical in order to close the polygon. Note that a triangle has three sides and requires 3 unique points plus a fourth point replicating the first point in order to close the polygon.,,,,,,,,,,,ddi:reusable:3_3,e,
Point,PointType,0,n,A geographic point defined by a latitude and longitude. A minimum of 4 points is required as the first and last point should be identical in order to close the polygon. Note that a triangle has three sides and requires 3 unique points plus a fourth point replicating the first point in order to close the polygon.,,,,,,,,,,,ddi:reusable:3_3,e,
4 changes: 2 additions & 2 deletions CompositeTypes/TextualType/TextualType.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Name,DataType,MinCardinality,MaxCardinality,Description,Ordered,AllowSubtypes,MinLength,MaxLength,Enumeration,Pattern,MinInclusive,MinExclusive,MaxInclusive,MaxExclusive,DeprecatedNamespace,DeprecatedElementOrAttribute,DeprecatedChoiceGroup
LineParameter,LineParameterType,0,1,Specification of the line and offset for the beginning and end of the segment.,,,,,,,,,,,ddi:reusable:3_3,e,
CharacterParameter,CharacterParameterType,0,1,Specification of the character offset for the beginning and end of the segment.,,,,,,,,,,,ddi:reusable:3_3,e,
LineParameter,LineParameterType,0,n,Specification of the line and offset for the beginning and end of the segment.,,,,,,,,,,,ddi:reusable:3_3,e,
CharacterParameter,CharacterParameterType,0,n,Specification of the character offset for the beginning and end of the segment.,,,,,,,,,,,ddi:reusable:3_3,e,
6 changes: 3 additions & 3 deletions ItemTypes/LocalHoldingPackage/LocalHoldingPackage.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name,DataType,MinCardinality,MaxCardinality,Description,Ordered,AllowSubtypes,MinLength,MaxLength,Enumeration,Pattern,MinInclusive,MinExclusive,MaxInclusive,MaxExclusive,DeprecatedNamespace,DeprecatedElementOrAttribute,DeprecatedChoiceGroup
DepositoryStudyUnitReference,StudyUnit,0,1,A reference to the StudyUnit as deposited.,,,,,,,,,,,ddi:group:3_3,e,
DepositoryGroupReference,Group,0,1,A reference to the Group as deposited.,,,,,,,,,,,ddi:group:3_3,e,
DepositoryResourcePackageReference,ResourcePackage,0,1,A reference to a ResourcePackage as deposited.,,,,,,,,,,,ddi:group:3_3,e,
DepositoryStudyUnitReference,StudyUnit,0,n,A reference to the StudyUnit as deposited.,,,,,,,,,,,ddi:group:3_3,e,
DepositoryGroupReference,Group,0,n,A reference to the Group as deposited.,,,,,,,,,,,ddi:group:3_3,e,
DepositoryResourcePackageReference,ResourcePackage,0,n,A reference to a ResourcePackage as deposited.,,,,,,,,,,,ddi:group:3_3,e,
DefiningConceptReference,Concept,0,1,A concept that defines or aids in understanding the content of the local holding package.,,,,,,,,,,,ddi:reusable:3_3,e,
LocalAddedContent,LocalAddedContentType,0,1,A reference to the ResourcePackage as deposited.,,,,,,,,,,,ddi:group:3_3,e,
4 changes: 2 additions & 2 deletions ItemTypes/MeasurementItem/MeasurementItem.csv
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ StructuredMixedResponseDomain,StructuredMixedResponseDomainType,0,1,Use in cases
ResponseCardinality,ResponseCardinalityType,0,1,Allows the designation of the minimum and maximum number of responses allowed for this measurement. Note that each response domain has its own response cardinality.,,,,,,,,,,,ddi:reusable:3_3,e,
ConceptReference,Concept,0,n,A reference to the concept associated with the response to the measurement.,,,,,,,,,,,ddi:reusable:3_3,e,
ExternalAid,ExternalAidType,0,n,"A pointer to an external aid presented by the instrument such as a text card, image, audio, or audiovisual aid. Typically a URN. Use type attribute to describe the type of external aid provided. Example of terms to use would include: imageOnly audioOnly audioVisual multiMedia.",,,,,,,,,,,ddi:datacollection:3_3,e,
ExternalInterviewerInstruction,ExternalInterviewerInstructionType,0,1,External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.,,,,,,,,,,,ddi:datacollection:3_3,e,
InterviewerInstructionAttachment,AttachedInstructionType,0,1,an interviewer instruction expressed as DDI XML.,,,,,,,,,,,ddi:datacollection:3_3,e,
ExternalInterviewerInstruction,ExternalInterviewerInstructionType,0,n,External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.,,,,,,,,,,,ddi:datacollection:3_3,e,
InterviewerInstructionAttachment,AttachedInstructionType,0,n,an interviewer instruction expressed as DDI XML.,,,,,,,,,,,ddi:datacollection:3_3,e,
RepresentedVariableReference,RepresentedVariable,0,n,"Reference to the RepresentedVariable that describes the data to be collected by this measurement. The RepresentedVariable contains the broad reusable specification of the Variable, i.e., concept, universe, and value representation. When more than one ResponseDomain exists, one RepresentedVariable should be created for each ResponseDomain in the same order as the corresponding ResponseDomain. TypeOfObject should be set to RepresentedVariable.",,,,,,,,,,,ddi:reusable:3_3,e,
DevelopmentResultsReference,DevelopmentResults,0,n,Reference to the development implementation results which gave rise to this version of the object. TypeOfObject should be DevelopmentResults.,,,,,,,,,,,ddi:datacollection:3_3,e,
EstimatedSecondsResponseTime,decimal,0,1,The estimated amount of time required to perform the measurement expressed in seconds. Decimal values should be used to define fractions of seconds.,,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/QuestionGrid/QuestionGrid.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CellLabel,CellLabelType,0,n,Provides for the addition of a label within a cell o
FixedCellValue,FixedCellValueType,0,n,Provides for the ability to fix a value within a cell or cells of the grid.,,,,,,,,,,,ddi:datacollection:3_3,e,
ConceptReference,Concept,0,n,A reference to the concept the QuestionGrid is intended to gather data on.,,,,,,,,,,,ddi:reusable:3_3,e,
ExternalAid,ExternalAidType,0,n,"A pointer to an external aid presented by the instrument such as a text card, image, audio, or audiovisual aid. Typically a URN. Use type attribute to describe the type of external aid provided. Example of terms to use would include: imageOnly audioOnly audioVisual multiMedia.",,,,,,,,,,,ddi:datacollection:3_3,e,
ExternalInterviewerInstruction,ExternalInterviewerInstructionType,0,1,External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.,,,,,,,,,,,ddi:datacollection:3_3,e,
InterviewerInstructionAttachment,AttachedInstructionType,0,1,an interviewer instruction expressed as DDI XML.,,,,,,,,,,,ddi:datacollection:3_3,e,
ExternalInterviewerInstruction,ExternalInterviewerInstructionType,0,n,External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.,,,,,,,,,,,ddi:datacollection:3_3,e,
InterviewerInstructionAttachment,AttachedInstructionType,0,n,an interviewer instruction expressed as DDI XML.,,,,,,,,,,,ddi:datacollection:3_3,e,
RepresentedVariableReference,RepresentedVariable,0,n,"Reference to the RepresentedVariable that describes the data to be collected by this question grid. The RepresentedVariable contains the broad reusable specification of the Variable, i.e., concept, universe, and value representation. When more than one ResponseDomain exists, one RepresentedVariable should be created for each ResponseDomain in the same order as the corresponding ResponseDomain. TypeOfObject should be set to RepresentedVariable.",,,,,,,,,,,ddi:reusable:3_3,e,
EstimatedSecondsResponseTime,decimal,0,1,The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds.,,,,,,,,,,,,a,
4 changes: 2 additions & 2 deletions ItemTypes/QuestionItem/QuestionItem.csv
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ StructuredMixedResponseDomain,StructuredMixedResponseDomainType,0,1,"Use in case
ResponseCardinality,ResponseCardinalityType,0,1,Allows the designation of the minimum and maximum number of responses allowed for this question. Note that each response domain has its own response cardinality.,,,,,,,,,,,ddi:reusable:3_3,e,
ConceptReference,Concept,0,n,A reference to the concept associated with the response to the question.,,,,,,,,,,,ddi:reusable:3_3,e,
ExternalAid,ExternalAidType,0,n,"A pointer to an external aid presented by the instrument such as a text card, image, audio, or audiovisual aid. Typically a URN. Use type attribute to describe the type of external aid provided. Example of terms to use would include: imageOnly audioOnly audioVisual multiMedia.",,,,,,,,,,,ddi:datacollection:3_3,e,
ExternalInterviewerInstruction,ExternalInterviewerInstructionType,0,1,External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.,,,,,,,,,,,ddi:datacollection:3_3,e,
InterviewerInstructionAttachment,AttachedInstructionType,0,1,an interviewer instruction expressed as DDI XML.,,,,,,,,,,,ddi:datacollection:3_3,e,
ExternalInterviewerInstruction,ExternalInterviewerInstructionType,0,n,External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.,,,,,,,,,,,ddi:datacollection:3_3,e,
InterviewerInstructionAttachment,AttachedInstructionType,0,n,an interviewer instruction expressed as DDI XML.,,,,,,,,,,,ddi:datacollection:3_3,e,
RepresentedVariableReference,RepresentedVariable,0,n,"Reference to the RepresentedVariable that describes the data to be collected by this question. The RepresentedVariable contains the broad reusable specification of the Variable, i.e., concept, universe, and value representation. When more than one ResponseDomain exists, one RepresentedVariable should be created for each ResponseDomain in the same order as the corresponding ResponseDomain. TypeOfObject should be set to RepresentedVariable.",,,,,,,,,,,ddi:reusable:3_3,e,
EstimatedSecondsResponseTime,decimal,0,1,The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds.,,,,,,,,,,,,a,

0 comments on commit a51aa67

Please sign in to comment.