Use live maintenance sessions, durable capacity reservations and streamed SHA-bound ZIP uploads. An ordinary capped import worker validates stored/deflated v1/v2 packages, persists immutable unpublished candidates and finite audit events, and recovers or releases capacity after interruption and expiry. Validate actual PG/HTTP/worker/storage fault paths in an isolated capped VM (2 passed, 0 skipped), reuse unchanged actual migration roundtrip evidence, and pass affected backend/architecture checks plus the prior full engineering checks.
39 lines
837 B
JSON
39 lines
837 B
JSON
{
|
|
"$id": "urn:kf-oj:problem-import-create:v1",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"archive_bytes": {
|
|
"maximum": 67108864,
|
|
"minimum": 1,
|
|
"title": "Archive Bytes",
|
|
"type": "integer"
|
|
},
|
|
"archive_digest": {
|
|
"maxLength": 64,
|
|
"minLength": 64,
|
|
"pattern": "^[0-9a-f]{64}$",
|
|
"title": "Archive Digest",
|
|
"type": "string"
|
|
},
|
|
"operation_id": {
|
|
"format": "uuid",
|
|
"title": "Operation Id",
|
|
"type": "string"
|
|
},
|
|
"schema_version": {
|
|
"const": 1,
|
|
"default": 1,
|
|
"title": "Schema Version",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"operation_id",
|
|
"archive_digest",
|
|
"archive_bytes"
|
|
],
|
|
"title": "CreateProblemImport",
|
|
"type": "object"
|
|
}
|