diff --git a/qc-data-model/README.md b/qc-data-model/README.md index f6848e3..ab3404b 100644 --- a/qc-data-model/README.md +++ b/qc-data-model/README.md @@ -15,6 +15,8 @@ The XML Schema and Class model for EBU QC Reports, QC Profiles and QC Item Defin The class diagram for the EBU QC data model is shown below (refer to the documentation above for more details). +Note: this diagram is an SVG containing embedded draw.io data meaning it can be edited at https://www.drawio.com/ + ![UML Class diagram](qc-data-model.uml_diagram.drawio.svg) ## Approach to versioning of qc.xsd diff --git a/qc-data-model/qc-data-model.uml_diagram.drawio.svg b/qc-data-model/qc-data-model.uml_diagram.drawio.svg index ef967e8..f7d7447 100644 --- a/qc-data-model/qc-data-model.uml_diagram.drawio.svg +++ b/qc-data-model/qc-data-model.uml_diagram.drawio.svg @@ -1,4 +1,4 @@ -
Report
Report
Item Definitions
Item Definitions
Profile
Profile
0..*
0..*
QCProfile
QCProfile
ID: UUIDType
ID: UUIDType
Name [0..1]: string
Name [0..1]: string
CheckResultRule [0..1]: RuleType
CheckResultRule [0..1]: RuleType
Description [0..1]: string
Description [0..1]: string
Scopes/Scope [0..*]: LocatorType
Scopes/Scope [0..*]: LocatorType
RelevanceLevel [0..1]: Integer
RelevanceLevel [0..1]: Integer
ContentId/ContentIdentifier [1..*]: ContentIdentifierType
ContentId/ContentIdentifier [1..*]: ContentIdenti...
Requestor [0..1]: OperatorType
Requestor [0..1]: OperatorType
DueDate [0..1]: dateTime
DueDate [0..1]: dateTime
QCReport
QCReport
ReportId: UUIDType

ReportId: UUIDType
ExecutionStatus: ExecutionStatusType


ExecutionStatus: ExecutionStatusType...
ErrorDescription [0..1]: string


ErrorDescription [0..1]: string...
CheckResult [0..1]: Boolean

CheckResult [0..1]: Boolean
LastModifiedDateTime: dateTime

LastModifiedDateTime: dateTime
ReportGroupId [0..1]: string

ReportGroupId [0..1]: string
ToolInformation [0..1]: ToolInformationType

ToolInformation [0..1]: ToolInformationType
OverallAnalysisDuration [0..1]: duration

OverallAnalysisDuration [0..1]: duration
ContentId/ContentIdentifier [1..*]: ContentIdentifierType

ContentId/ContentIdentifier [1..*]: ContentIdentif...
ReportCreator [0..1]: OperatorType

ReportCreator [0..1]: OperatorType
QCItem
QCItem
EBUQCID: string
EBUQCID: string
EBUQCName [0..1]: string
EBUQCName [0..1]: string
EBUQCVersion: string
EBUQCVersion: string
InstanceId [0..1]: UUIDType
InstanceId [0..1]: UUIDType
UsedAs [0..1]: UsableAsType
UsedAs [0..1]: UsableAsType
Relevance [0..1]: Integer
Relevance [0..1]: Integer
Scopes/Scope [0..*]: LocatorType
Scopes/Scope [0..*]: LocatorTy...
Track [0..1]: string
Track [0..1]: string
0..*
0..*
QCItemInput
QCItemInput
Name: string
Name: string
Track [0..1]: string
Track [0..1]: string
WrapperLocation [0..1]: WrapperLocationType
WrapperLocation [0..1]: WrapperLocationType
Locator [0..1]: LocatorType
Locator [0..1]: LocatorType
0..*
0..*
QCItemResult
QCItemResult
EBUQCID: string
EBUQCID: string
EBUQCName [0..1]: string
EBUQCName [0..1]: string
EBUQCVersion: string
EBUQCVersion: string
InstanceId [0..1]: UUIDType
InstanceId [0..1]: UUIDType
ExecutionStatus: ExecutionStatusType
ExecutionStatus: ExecutionStatusType
ErrorDescription [0..1]: string
ErrorDescription [0..1]: string
CheckResult [0..1]: boolean
CheckResult [0..1]: boolean
ResultDescription [0..1]: string
ResultDescription [0..1]: string
Relevance [0..1]: Integer
Relevance [0..1]: Integer
ToolInformation [0..1]: ToolInformationType
ToolInformation [0..1]: ToolInformationType
Annotation [0..1]: AnnotationType
Annotation [0..1]: AnnotationType
MaxSeverity [0..1]: Integer
MaxSeverity [0..1]: Integer
VerificationMedia [0..1]: anyURI
VerificationMedia [0..1]: anyURI
DetectionMethod [0..1]: DetectionMethodType
DetectionMethod [0..1]: DetectionMethodType
Revision [0..1]: Integer
Revision [0..1]: Integer
CreationDateTime [0..1]: dateTime
CreationDateTime [0..1]: dateTime
Operator [0..1]: OperatorType
Operator [0..1]: OperatorType
AnalysisMethodUsed: AnalysisMethodType
AnalysisMethodUsed: AnalysisMethodType
QCItemInputGroup
QCItemInputGroup
QCItemOutput
QCItemOutput
Name: string
Name: string
Track [0..1]: string
Track [0..1]: string
WrapperLocation [0..1]: WrapperLocationType
WrapperLocation [0..1]: WrapperLocationType
Locator [0..1]: LocatorType
Locator [0..1]: LocatorType
QCItemInputValue
QCItemInputValue
Value: string
Value: string
0..*
0..*
QCItemDefinition
QCItemDefinition
EBUQCID: string
EBUQCID: string
EBUQCName: string
EBUQCName: string
EBUQCVersion: string
EBUQCVersion: string
Status: PublicationStatusType
Status: PublicationStatusType
UsableAs: List of UsableAsType
UsableAs: List of UsableAsType
AnalysisMethod [0..1]: AnalysisMethodType
AnalysisMethod [0..1]: AnalysisMethodType
Description [0..1]: string
Description [0..1]: string
Definition: string
Definition: string
Remarks [0..1]: string
Remarks [0..1]: string
Layer: LayerType
Layer: LayerType
Category: CategoryType
Category: CategoryType
EssenceType: EssenceType
EssenceType: EssenceType
Aliases/Alias [0..*]: string
Aliases/Alias [0..*]: string
Tags/Tag [0..*]: string
Tags/Tag [0..*]: string
References/Reference [0..*]: ReferenceType
References/Reference [0..*]: ReferenceType
Examples/Example [0..*]: ExampleType
Examples/Example [0..*]: ExampleType
QCItemOutputGroup
QCItemOutputGroup
QCItemOutputValue
QCItemOutputValue
Value [0..1]: string
Value [0..1]: string
Annotation [0..1]: AnnotationType
Annotation [0..1]: AnnotationT...
Confidence [0..1]: decimal
Confidence [0..1]: decimal
Severity [0..1]: Integer
Severity [0..1]: Integer
VerificationMedia [0..1]: anyURI
VerificationMedia [0..1]: anyU...
Aliases [0..1]: List of anyURI
Aliases [0..1]: List of anyURI
QCItemInputDefinition
QCItemInputDefinition
Name: string
Name: string
Description: string
Description: string
Remarks [0..1]: string
Remarks [0..1]: string
HasLocator: boolean
HasLocator: boolean
InReports: CardinalityType
InReports: CardinalityType
InChecks: CardinalityType
InChecks: CardinalityType
QCItemInputGroupDefinition
QCItemInputGroupDefin...
QCItemInputValueDefinition
QCItemInputValueDefinition
DefaultValue [0..1]: string
DefaultValue [0..1]: string
ValueRange [0..1]: RangeType
ValueRange [0..1]: RangeType
Type [0..1]: DatatypeType
Type [0..1]: DatatypeType
Unit [0..1]: UnitType
Unit [0..1]: UnitType
Representation [0..1]: RepresentationType
Representation [0..1]: RepresentationTy...
0..*
0..*
QCItemOutputDefinition
QCItemOutputDefinition
Name: string
Name: string
Description: string
Description: string
Remarks [0..1]: string
Remarks [0..1]: string
HasLocator: boolean
HasLocator: boolean
InReports: CardinalityType
InReports: CardinalityType
InChecks: CardinalityType
InChecks: CardinalityType
QCItemOutputGroupDefinition
QCItemOutputGroupDefinit...
QCItemOutputValueDefinition
QCItemOutputValueDefinition
ValueRange [0..1]: RangeType
ValueRange [0..1]: RangeType
Type [0..1]: DatatypeType
Type [0..1]: DatatypeType
Unit [0..1]: UnitType
Unit [0..1]: UnitType
Representation [0..1]: RepresentationType
Representation [0..1]: RepresentationT...
Aliases [0..1]: List of anyURI
Aliases [0..1]: List of anyURI
0..*
0..*
0..*
0..*
1..*
1..*
1..*
1..*
1..*
1..*
1..*
1..*
Text is not SVG - cannot display
\ No newline at end of file +
Report
Report
Item Definitions
Item Definitions
Profile
Profile
0..*
0..*
QCProfile
QCProfile
ID: UUIDType
ID: UUIDType
Name [0..1]: string
Name [0..1]: string
CheckResultRule [0..1]: RuleType
CheckResultRule [0..1]: RuleType
Description [0..1]: string
Description [0..1]: string
Scopes/Scope [0..*]: LocatorType
Scopes/Scope [0..*]: LocatorType
RelevanceLevel [0..1]: Integer
RelevanceLevel [0..1]: Integer
ContentId/ContentIdentifier [1..*]: ContentIdentifierType
ContentId/ContentIdentifier [1..*]: ContentIdenti...
Requestor [0..1]: OperatorType
Requestor [0..1]: OperatorType
DueDate [0..1]: dateTime
DueDate [0..1]: dateTime
QCReport
QCReport
ReportId: UUIDType

ReportId: UUIDType
ExecutionStatus: ExecutionStatusType


ExecutionStatus: ExecutionStatusType...
ErrorDescription [0..1]: string


ErrorDescription [0..1]: string...
CheckResult [0..1]: Boolean

CheckResult [0..1]: Boolean
LastModifiedDateTime: dateTime

LastModifiedDateTime: dateTime
ReportGroupId [0..1]: string

ReportGroupId [0..1]: string
ToolInformation [0..1]: ToolInformationType

ToolInformation [0..1]: ToolInformationType
OverallAnalysisDuration [0..1]: duration

OverallAnalysisDuration [0..1]: duration
ContentId/ContentIdentifier [1..*]: ContentIdentifierType

ContentId/ContentIdentifier [1..*]: ContentIdentif...
ReportCreator [0..1]: OperatorType

ReportCreator [0..1]: OperatorType
QCItem
QCItem
EBUQCID: string
EBUQCID: string
EBUQCName [0..1]: string
EBUQCName [0..1]: string
EBUQCVersion: string
EBUQCVersion: string
InstanceId [0..1]: UUIDType
InstanceId [0..1]: UUIDType
UsedAs [0..1]: UsableAsType
UsedAs [0..1]: UsableAsType
Relevance [0..1]: Integer
Relevance [0..1]: Integer
Scopes/Scope [0..*]: LocatorType
Scopes/Scope [0..*]: LocatorTy...
Track [0..1]: string
Track [0..1]: string
0..*
0..*
QCItemInput
QCItemInput
Name: string
Name: string
Locator [0..1]: LocatorType
Locator [0..1]: LocatorType
Track [0..1]: string
Track [0..1]: string
WrapperLocation [0..1]: WrapperLocationType
WrapperLocation [0..1]: WrapperLocationType
Value [0..1]: string
Value [0..1]: string
0..*
0..*
QCItemResult
QCItemResult
EBUQCID: string
EBUQCID: string
EBUQCName [0..1]: string
EBUQCName [0..1]: string
EBUQCVersion: string
EBUQCVersion: string
InstanceId [0..1]: UUIDType
InstanceId [0..1]: UUIDType
ExecutionStatus: ExecutionStatusType
ExecutionStatus: ExecutionStatusType
ErrorDescription [0..1]: string
ErrorDescription [0..1]: string
CheckResult [0..1]: boolean
CheckResult [0..1]: boolean
ResultDescription [0..1]: string
ResultDescription [0..1]: string
Relevance [0..1]: Integer
Relevance [0..1]: Integer
ToolInformation [0..1]: ToolInformationType
ToolInformation [0..1]: ToolInformationType
Annotation [0..1]: AnnotationType
Annotation [0..1]: AnnotationType
MaxSeverity [0..1]: Integer
MaxSeverity [0..1]: Integer
VerificationMedia [0..1]: anyURI
VerificationMedia [0..1]: anyURI
DetectionMethod [0..1]: DetectionMethodType
DetectionMethod [0..1]: DetectionMethodType
Revision [0..1]: Integer
Revision [0..1]: Integer
CreationDateTime [0..1]: dateTime
CreationDateTime [0..1]: dateTime
Operator [0..1]: OperatorType
Operator [0..1]: OperatorType
AnalysisMethodUsed: AnalysisMethodType
AnalysisMethodUsed: AnalysisMethodType
QCItemOutput
QCItemOutput
Name: string
Name: string
Locator [0..1]: LocatorType
Locator [0..1]: LocatorType
Track [0..1]: string
Track [0..1]: string
WrapperLocation [0..1]: WrapperLocationType
WrapperLocation [0..1]: WrapperLocationType
Value [0..1]: string
Value [0..1]: string
Annotation [0..1]: AnnotationType
Annotation [0..1]: AnnotationType
VerificationMedia [0..1]: anyURI
VerificationMedia [0..1]: anyURI
Confidence [0..1]: decimal
Confidence [0..1]: decimal
Severity [0..1]: Integer
Severity [0..1]: Integer
Aliases [0..1]: List of anyURI
Aliases [0..1]: List of anyURI
0..*
0..*
QCItemDefinition
QCItemDefinition
EBUQCID: string
EBUQCID: string
EBUQCName: string
EBUQCName: string
EBUQCVersion: string
EBUQCVersion: string
Status: PublicationStatusType
Status: PublicationStatusType
UsableAs: List of UsableAsType
UsableAs: List of UsableAsType
AnalysisMethod [0..1]: AnalysisMethodType
AnalysisMethod [0..1]: AnalysisMethodType
Description [0..1]: string
Description [0..1]: string
Definition: string
Definition: string
CheckResultDefinition [0..1]: string
CheckResultDefinition [0..1]: string
Remarks [0..1]: string
Remarks [0..1]: string
Layer: LayerType
Layer: LayerType
Category: CategoryType
Category: CategoryType
EssenceType: EssenceType
EssenceType: EssenceType
Aliases/Alias [0..*]: string
Aliases/Alias [0..*]: string
Tags/Tag [0..*]: string
Tags/Tag [0..*]: string
References/Reference [0..*]: ReferenceType
References/Reference [0..*]: ReferenceType
Examples/Example [0..*]: ExampleType
Examples/Example [0..*]: ExampleType
QCItemInputDefinition
QCItemInputDefinition
Name: string
Name: string
Description: string
Description: string
Remarks [0..1]: string
Remarks [0..1]: string
HasLocatorTemporal: boolean
HasLocatorTemporal: boolean
HasLocatorSpatial: boolean
HasLocatorSpatial: boolean
HasTrack: boolean
HasTrack: boolean
HasWrapperLocation: boolean
HasWrapperLocation: boolean
InReports: CardinalityType
InReports: CardinalityType
InChecks: CardinalityType
InChecks: CardinalityType
DefaultValue [0..1]: string
DefaultValue [0..1]: string
ValueRange [0..1]: RangeType
ValueRange [0..1]: RangeType
Type [0..1]: DatatypeType
Type [0..1]: DatatypeType
Unit [0..1]: UnitType
Unit [0..1]: UnitType
Representation [0..1]: RepresentationType
Representation [0..1]: RepresentationTy...
0..*
0..*
QCItemOutputDefinition
QCItemOutputDefinition
Name: string
Name: string
Description: string
Description: string
Remarks [0..1]: string
Remarks [0..1]: string
HasLocatorTemporal: boolean
HasLocatorTemporal: boolean
HasLocatorSpatial: boolean
HasLocatorSpatial: boolean
HasTrack: boolean
HasTrack: boolean
HasWrapperLocation: boolean
HasWrapperLocation: boolean
InReports: CardinalityType
InReports: CardinalityType
InChecks: CardinalityType
InChecks: CardinalityType
Aliases [0..1]: List of anyURI
Aliases [0..1]: List of anyURI
ValueRange [0..1]: RangeType
ValueRange [0..1]: RangeType
Type [0..1]: DatatypeType
Type [0..1]: DatatypeType
Unit [0..1]: UnitType
Unit [0..1]: UnitType
Representation [0..1]: RepresentationType
Representation [0..1]: RepresentationT...
0..*
0..*
0..*
0..*
0..*
0..*
0..*
0..*
0..*
0..*
0..*
0..*
Text is not SVG - cannot display
\ No newline at end of file diff --git a/qc-data-model/qc.xsd b/qc-data-model/qc.xsd index 9a42b8f..f861aac 100644 --- a/qc-data-model/qc.xsd +++ b/qc-data-model/qc.xsd @@ -1,6 +1,6 @@ - + Class Instances @@ -103,10 +103,9 @@ - - - - + + + @@ -134,10 +133,9 @@ - - - - + + + @@ -162,6 +160,7 @@ + @@ -200,171 +199,103 @@ - - - - + + + - - - - + + + - + + + + - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - Structure Definitions