Difference between revisions of "DTr1 thumbnail"

(Automated ADBot page content)
(Automated ADBot page content)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
=thumbnail Thumbnail=
 
=thumbnail Thumbnail=
Datatype Release 1: thumbnail
+
{| class="artdecorwiki"
 +
! style="text-align:left;" | Datatype Release 1 !! Realm
 +
|-
 +
| style="height:30px; vertical-align:middle;" | '''thumbnail''' || style="vertical-align:middle;" | 
 +
|}
 +
 
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-
Line 10: Line 15:
 
| @language ||  optional  || cs
 
| @language ||  optional  || cs
 
|-
 
|-
| @compression ||  optional  || 
+
| @compression
 +
*DF
 +
*GZ
 +
*Z
 +
*ZL
 +
||  optional  || cs
 
|-
 
|-
 
| @integrityCheck ||  optional  || bin
 
| @integrityCheck ||  optional  || bin
 
|-
 
|-
| @integrityCheckAlgorithm ||  optional  || cs
+
| @integrityCheckAlgorithm
 +
*SHA-1
 +
*SHA-256
 +
||  optional  || cs
 
|-
 
|-
| @representation ||  optional  || cs
+
| @representation
 +
*B64
 +
*TXT
 +
||  optional  || cs
 
|-
 
|-
 
| @nullFlavor ||  optional  || cs
 
| @nullFlavor ||  optional  || cs
Line 23: Line 39:
 
|-
 
|-
 
|}
 
|}
==Core Schematron Rules CSR==
+
==Core Schematron Rules (CSR)==
The following rules are defined in the base core schematrons.
+
The following rules are defined in the base core schematrons ({{Error}} errors, {{Warning}} warnings, {{Info}} infos).
 
{{ConstraintBox|Rule ID: '''thumbnail'''
 
{{ConstraintBox|Rule ID: '''thumbnail'''
Extends Rule(s): ED  
+
Extends Rule(s): [[DTr1_ED|ED]]
  
 
Constraints
 
Constraints
Line 43: Line 59:
 
*{{Error}} dtr1-15-thumbnail: no integrityCheckAlgorithm if null
 
*{{Error}} dtr1-15-thumbnail: no integrityCheckAlgorithm if null
 
}}
 
}}
==Additional Strict Schematron Rules SSR==
+
[[Category:DTr1|thumbnail]]
The following rules are defined in the strict mode of core schematrons.
 

Latest revision as of 14:58, 5 December 2017

thumbnail Thumbnail

Datatype Release 1 Realm
thumbnail

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@mediaType   optional   cs
@language   optional   cs
@compression
  • DF
  • GZ
  • Z
  • ZL
  optional   cs
@integrityCheck   optional   bin
@integrityCheckAlgorithm
  • SHA-1
  • SHA-256
  optional   cs
@representation
  • B64
  • TXT
  optional   cs
@nullFlavor   optional   cs
hl7:reference  0 .. 1  TEL

Core Schematron Rules (CSR)

The following rules are defined in the base core schematrons (Alert.png errors, Warning.png warnings, Info.png infos).

Check-circle.svg Rule ID: thumbnail

Extends Rule(s): ED

Constraints

  • Alert.png dtr1-2-thumbnail: integrityCheckAlgorithm required if integrityCheck
  • Alert.png dtr1-3-thumbnail: no reference if null
  • Alert.png dtr1-4-thumbnail: thumbnails do not have thumbnails
  • Alert.png dtr1-5-thumbnail: compression only on binary
  • Alert.png dtr1-6-thumbnail: value implies mediaType is text/plain
  • Alert.png dtr1-7-thumbnail: no history or updateMode
  • Alert.png dtr1-8-thumbnail: no charset for value or xml
  • Alert.png dtr1-10-thumbnail: no mediaType if null
  • Alert.png dtr1-11-thumbnail: no charset if null
  • Alert.png dtr1-12-thumbnail: no language if null
  • Alert.png dtr1-13-thumbnail: no compression if null
  • Alert.png dtr1-14-thumbnail: no integrityCheck if null
  • Alert.png dtr1-15-thumbnail: no integrityCheckAlgorithm if null