feat(v2): complete v2 reimplementation
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["repository_id", "format_version", "digest_algorithm", "compression", "encryption", "created_at"],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {"properties": {"encryption": {"properties": {"mode": {"const": "none"}}}}},
|
||||
"then": {"properties": {"encryption": {"properties": {"key_id": {"type": "null"}}}}},
|
||||
"else": {"properties": {"encryption": {"properties": {"key_id": {"type": "string", "format": "uuid", "minLength": 1}}}}}
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"repository_id": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user