Content hash

Cryptographic content identity for reproducible evaluations.

$defs.content_hash · One Of (3)

Definition JSON

This fragment is shown exactly as published. Use the chevrons to fold objects and arrays; linked $ref values return to their targets in the complete schema.

{    "oneOf": [        {            "type": "object",
            "additionalProperties": false,
            "required": [                "algorithm",
                "value"            ],
            "properties": {                "algorithm": {                    "const": "sha256"                },
                "value": {                    "type": "string",
                    "pattern": "^[A-Fa-f0-9]{64}$"                }            }        },
        {            "type": "object",
            "additionalProperties": false,
            "required": [                "algorithm",
                "value"            ],
            "properties": {                "algorithm": {                    "const": "sha384"                },
                "value": {                    "type": "string",
                    "pattern": "^[A-Fa-f0-9]{96}$"                }            }        },
        {            "type": "object",
            "additionalProperties": false,
            "required": [                "algorithm",
                "value"            ],
            "properties": {                "algorithm": {                    "const": "sha512"                },
                "value": {                    "type": "string",
                    "pattern": "^[A-Fa-f0-9]{128}$"                }            }        }    ],
    "description": "Cryptographic content identity for reproducible evaluations."}

Fields

This definition has no named object fields.