{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "sha2-512/256": { "type": "string", "minLength": 44, "maxLength": 44, "pattern": "^[A-Za-z0-9/+=]+$" }, "blake2b": { "type": "string", "minLength": 44, "maxLength": 44, "pattern": "^[A-Za-z0-9/+=]+$" }, "size": { "type": "integer", "minimum": 0 } }, "type": "object", "required": ["size"], "properties": { "sha2-512/256": { "$ref": "#/definitions/sha2-512/256" }, "blake2b": { "$ref": "#/definitions/blake2b" }, "size": { "$ref": "#/definitions/size" } }, "additionalProperties": false }