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* |
unknown (Checksum pattern check - MD5)
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
-
is optional
-
Type: unknown
-
cannot be null
-
defined in: EGA common metadata definitions
unknown
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"MD5" |
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
-
is optional
-
Type:
string
(Checksum pattern obtained by MD5) -
cannot be null
-
defined in: EGA common metadata definitions
string
(Checksum pattern obtained by MD5)
pattern: the string must match the following regular expression:
^[0-9a-z](?:-?[0-9a-z]){31}$
"bc527343c7ffc103111f3a694b004e2f"
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
-
is optional
-
Type:
string
(Checksum pattern obtained by MD5) -
cannot be null
-
defined in: EGA common metadata definitions
string
(Checksum pattern obtained by MD5)
pattern: the string must match the following regular expression:
^[0-9a-z](?:-?[0-9a-z]){31}$
"bc527343c7ffc103111f3a694b004e2f"