{"apiInputPackagePath": "/api/web/v1/plugins/nails/maliang-exports:api-input-package", "apiVersion": "openeyes.nails.web.v1", "contract": {"additionalProperties": false, "contractVersion": 1, "inputModes": ["inline_json", "uri"], "name": "nails-maliang-exports-external-runtime-receipt-verify", "oneOfInputs": {"externalExecutionReceipt": ["externalExecutionReceipt", "externalExecutionReceiptUri"]}, "optionalFields": ["externalExecutionReceipt", "externalExecutionReceiptUri", "objectUriMirrorRoot"], "requiredFields": ["externalRuntimeHandoffVerification", "externalRuntimeHandoffVerificationDigest"], "schemaDigest": "5d7f9946e7759d524444539a95f22817a19b8d9c36eb38597e484c925042d743", "schemaId": "https://openeyes.local/plugins/nails/web/v1/maliang-exports-external-runtime-receipt-verify-request.schema.json"}, "handoffVerifyPath": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-handoff-verify", "links": {"apiInputPackage": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:api-input-package"}, "externalRuntimeHandoffVerify": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-handoff-verify"}}, "method": "GET", "network": false, "objectUriReader": {"acceptedSchemes": ["gs", "oss"], "bucketAllowlistEnv": ["MALIANG_NAILS_RESOURCE_BUCKETS", "NAILS_AUDIT_EVIDENCE_BUCKET", "NAILS_SOURCE_ASSETS_BUCKET", "NAILS_DESIGN_PACKAGES_BUCKET", "NAILS_PUBLIC_ASSETS_BUCKET"], "defaultMode": "local_object_uri_mirror", "gcsModeEnv": "NAILS_WEB_GCS_URI_READ_ENABLED=1", "mirrorRootField": "objectUriMirrorRoot", "network": false, "payloadField": "externalExecutionReceiptUri", "payloadKind": "json"}, "ok": true, "pluginId": "nails", "productionMutations": false, "receiptContract": {"digestAlgorithm": "canonical_sha256_of_external_execution_receipt", "kind": "maliang.nails.external_runtime_execution_receipt", "name": "maliang-external-runtime-execution-receipt", "network": false, "requiredFields": ["kind", "receiptVersion", "status", "executedByExternalRuntime", "executedBy", "executedAt", "externalRuntimeHandoffDigest", "requestDigest", "bodyDigest", "runtimeResourceAccessPolicyDigest", "payloadDigest", "releaseId", "idempotencyKey", "maliangTarget", "response", "authorizationSuppliedByExternalRuntime", "authorizationRedacted", "resourceAccessAuthorizationSuppliedByExternalRuntime", "resourceAccessAuthorizationRedacted", "network", "submitEnabled", "productionMutations"], "responseRequiredFields": ["statusCode"]}, "responseFields": ["verified", "verificationStatus", "externalExecutionReceiptDigest", "externalRuntimeHandoffVerificationDigest", "handoffDigest", "runtimeResourceAccessPolicyDigest", "requestDigestVerified", "bodyDigestVerified", "runtimeResourceAccessPolicyDigestVerified", "resourceAccessAuthorizationRedacted", "receiptReferencesHandoff", "receiptResponseAccepted", "authorizationRedacted", "verificationDigest", "verificationEvidence", "externalExecutionReceiptInputMode", "objectUriReads", "objectUriReadNetwork"], "route": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-receipt-verify-contract", "schema": {"$id": "https://openeyes.local/plugins/nails/web/v1/maliang-exports-external-runtime-receipt-verify-request.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "oneOf": [{"required": ["externalExecutionReceipt"]}, {"required": ["externalExecutionReceiptUri"]}], "properties": {"externalExecutionReceipt": {"description": "Receipt returned by the external Maliang Nails runtime after it executes the verified handoff request.", "type": "object"}, "externalExecutionReceiptUri": {"description": "Stable oss:// or gs:// JSON object containing the external Maliang Nails runtime execution receipt.", "type": "string"}, "externalRuntimeHandoffVerification": {"description": "Response from maliang-exports:external-runtime-handoff-verify.", "type": "object"}, "externalRuntimeHandoffVerificationDigest": {"description": "Digest from externalRuntimeHandoffVerification.verificationDigest.", "pattern": "^[a-f0-9]{64}$", "type": "string"}, "objectUriMirrorRoot": {"description": "Optional local mirror root for object URI readback in same-host verification.", "type": "string"}}, "required": ["externalRuntimeHandoffVerification", "externalRuntimeHandoffVerificationDigest"], "title": "Nails Maliang External Runtime Receipt Verify Request v1", "type": "object"}, "sideEffects": "receipt_verification_only_no_local_state_write", "submitEnabled": false, "uploadEnabled": false, "verifyPath": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-receipt-verify"}