{"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-handoff-verify", "oneOfInputs": {"externalRuntimeHandoff": ["externalRuntimeHandoff", "externalRuntimeHandoffUri"]}, "optionalFields": ["externalRuntimeHandoff", "externalRuntimeHandoffUri", "objectUriMirrorRoot"], "requiredFields": ["expectedHandoffDigest"], "schemaDigest": "1282ba7e52717fdb517769881962484233373202364e6c6cdb90c427c6db6733", "schemaId": "https://openeyes.local/plugins/nails/web/v1/maliang-exports-external-runtime-handoff-verify-request.schema.json"}, "links": {"apiInputPackage": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:api-input-package"}, "apiInputPackageContract": {"method": "GET", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:api-input-package-contract"}}, "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": "externalRuntimeHandoffUri", "payloadKind": "json"}, "ok": true, "pluginId": "nails", "responseFields": ["verified", "verificationStatus", "handoffDigest", "expectedHandoffDigest", "canonicalHandoffDigest", "requestDigestVerified", "bodyDigestVerified", "runtimeResourceAccessPolicyVerified", "runtimeResourceAccessPolicyDigest", "authorizationHeaderExcluded", "sourceTraceDigestVerified", "sourceTraceEvidenceDigestVerified", "localBoundaryHeld", "verificationDigest", "verificationEvidence", "externalRuntimeHandoffInputMode", "objectUriReads", "objectUriReadNetwork"], "route": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-handoff-verify-contract", "schema": {"$id": "https://openeyes.local/plugins/nails/web/v1/maliang-exports-external-runtime-handoff-verify-request.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "oneOf": [{"required": ["externalRuntimeHandoff"]}, {"required": ["externalRuntimeHandoffUri"]}], "properties": {"expectedHandoffDigest": {"description": "Expected canonical digest from api-input-package.externalRuntimeHandoffDigest.", "pattern": "^[a-f0-9]{64}$", "type": "string"}, "externalRuntimeHandoff": {"description": "The externalRuntimeHandoff object returned by maliang-exports:api-input-package.", "type": "object"}, "externalRuntimeHandoffUri": {"description": "Stable oss:// or gs:// JSON object URI containing the externalRuntimeHandoff object returned by maliang-exports:api-input-package.", "minLength": 1, "type": "string"}, "objectUriMirrorRoot": {"description": "Optional local mirror root used when reading stable object URIs without enabling the GCS JSON API reader.", "minLength": 1, "type": "string"}}, "required": ["expectedHandoffDigest"], "title": "Nails Maliang External Runtime Handoff Verify Request v1", "type": "object"}, "sideEffects": "local_state_read_only", "submitEnabled": false, "uploadEnabled": false, "verifyContract": {"actualDigestField": "handoffDigest", "authorizationPolicy": "Authorization header must be absent", "bodyDigestField": "bodyDigest", "canonicalDigestField": "canonicalHandoffDigest", "digestAlgorithm": "canonical_sha256_without_handoffDigest", "expectedDigestField": "expectedHandoffDigest", "handoffSource": "maliang-exports:api-input-package.externalRuntimeHandoff", "handoffSourceUriField": "externalRuntimeHandoffUri", "kind": "maliang.nails.external_runtime_handoff_verify", "method": "POST", "name": "maliang-external-runtime-handoff-verify", "network": false, "requestDigestField": "requestDigest", "runtimeResourceAccessPolicyDigestField": "digests.runtimeResourceAccessPolicyDigest", "sourceTraceDigestField": "sourceTrace.linksDigest", "sourceTraceEvidenceDigestField": "sourceTrace.evidenceDigest", "submitEnabled": false, "verificationDigestField": "verificationDigest", "verificationEvidenceField": "verificationEvidence", "verifiedField": "verified"}, "verifyPath": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-handoff-verify"}