Debian Codegraph @

externals/OPTIMADE/schemas/src/defs/v1.2/properties/optimade/files/checksums.yaml

raw
1 $$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
2 $id: "https://schemas.optimade.org/defs/v1.2/properties/optimade/files/checksums"
3 title: "checksums"
4 x-optimade-type: "dictionary"
5 x-optimade-definition:
6 label: "checksums_optimade_files"
7 kind: "property"
8 version: "1.2.0"
9 format: "1.2"
10 name: "checksums"
11 type:
12 - "object"
13 - "null"
14 description: |-
15 Dictionary providing checksums of file contents.
16
17 **Requirements/Conventions:**
18
19 - The keys in the dictionary identify checksum functions and the values are strings containing the corresponding checksum.
20
21 - Supported dictionary keys: `md5`, `sha1`, `sha224`, `sha256`, `sha384`, `sha512`.
22 Checksums outside this list MAY be used, but their names MUST be prefixed by database-provider-specific namespace prefix.
23 examples:
24 - {"sha1": "8072f787eada2c50b60a27f3f098fbac7eea08cf"}
25 x-optimade-unit: "inapplicable"
26 properties:
27 md5:
28 x-optimade-type: "string"
29 x-optimade-unit: "inapplicable"
30 type:
31 - "string"
32 sha1:
33 x-optimade-type: "string"
34 x-optimade-unit: "inapplicable"
35 type:
36 - "string"
37 sha224:
38 x-optimade-type: "string"
39 x-optimade-unit: "inapplicable"
40 type:
41 - "string"
42 sha384:
43 x-optimade-type: "string"
44 x-optimade-unit: "inapplicable"
45 type:
46 - "string"
47 sha512:
48 x-optimade-type: "string"
49 x-optimade-unit: "inapplicable"
50 type:
51 - "string"