Skip to content

Latest commit

 

History

History
117 lines (67 loc) · 6.68 KB

ega-4-defs-check-checksum-checks-based-on-its-method-anyof-checksum-pattern-check---md5.md

File metadata and controls

117 lines (67 loc) · 6.68 KB

Checksum pattern check - MD5 Schema

https://raw.githubusercontent.com/EbiEga/ega-metadata-schema/main/schemas/EGA.common-definitions.json#/$defs/checksumPatternCheck/anyOf/0

A check that ensures that, if MD5 is given as a checksumMethodId, the checksums per se (e.g. unencryptedChecksum) follow MD5 patterns (md5ChecksumPattern).

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none EGA.common-definitions.json*

0 Type

unknown (Checksum pattern check - MD5)

0 Properties

Property Type Required Nullable Defined by
checksumMethod Not specified Optional cannot be null EGA common metadata definitions
unencryptedChecksum string Optional cannot be null EGA common metadata definitions
encryptedChecksum string Optional cannot be null EGA common metadata definitions

checksumMethod

checksumMethod

checksumMethod Type

unknown

checksumMethod Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"MD5"

unencryptedChecksum

This object exists to hold the pattern that a checksum would have if it was obtained using the algorithm MD5, for it to be referenced elsewhere within this (or other) JSON schema.

unencryptedChecksum

unencryptedChecksum Type

string (Checksum pattern obtained by MD5)

unencryptedChecksum Constraints

pattern: the string must match the following regular expression:

^[0-9a-z](?:-?[0-9a-z]){31}$

try pattern

unencryptedChecksum Examples

"bc527343c7ffc103111f3a694b004e2f"

encryptedChecksum

This object exists to hold the pattern that a checksum would have if it was obtained using the algorithm MD5, for it to be referenced elsewhere within this (or other) JSON schema.

encryptedChecksum

encryptedChecksum Type

string (Checksum pattern obtained by MD5)

encryptedChecksum Constraints

pattern: the string must match the following regular expression:

^[0-9a-z](?:-?[0-9a-z]){31}$

try pattern

encryptedChecksum Examples

"bc527343c7ffc103111f3a694b004e2f"