{"apiVersion": "openeyes.nails.web.v1", "contract": {"additionalProperties": false, "contractVersion": 1, "name": "nails-maliang-exports-api-input-package", "optionalFields": ["payloadDigest", "authorizationPacketDigest", "authorizationPacket"], "requiredFields": ["stateRoot"], "schemaDigest": "730560ec0a923c0028c26542d93fce7bbc8f35087c9d16e6905f0e8604cecbae", "schemaId": "https://openeyes.local/plugins/nails/web/v1/maliang-exports-api-input-package.schema.json"}, "links": {"apiInputWorkflow": {"method": "GET", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:api-input-workflow"}, "apiInputWorkflowVerify": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:api-input-workflow-verify"}, "crawlExportsQualityReport": {"condition": "when_crawl_quality_inputs_manifest_exists", "method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/crawl-exports:quality-report"}, "designFusionReadinessReport": {"condition": "when_verified_design_package_matches_release", "method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/design-fusion:readiness-report"}, "designPackage": {"condition": "when_verified_design_package_matches_release", "method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/design-packages:get"}, "externalRuntimeHandoffVerify": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-handoff-verify"}, "externalRuntimeHandoffVerifyContract": {"method": "GET", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-handoff-verify-contract"}, "externalRuntimePreflightReceiptVerify": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-preflight-receipt-verify"}, "externalRuntimePreflightReceiptVerifyContract": {"method": "GET", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-preflight-receipt-verify-contract"}, "externalRuntimeReceiptVerify": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-receipt-verify"}, "externalRuntimeReceiptVerifyContract": {"method": "GET", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:external-runtime-receipt-verify-contract"}, "runtimeResourceReadReceiptVerify": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:runtime-resource-read-receipt-verify"}, "runtimeResourceReadReceiptVerifyContract": {"method": "GET", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:runtime-resource-read-receipt-verify-contract"}, "submitRequest": {"method": "POST", "network": false, "path": "/api/web/v1/plugins/nails/maliang-exports:submit-request"}}, "method": "GET", "network": false, "ok": true, "packageContract": {"kind": "maliang.nails.api_input_package", "method": "POST", "network": false, "responseFields": ["localPackageReady", "readyForMaliangInput", "sourceTraceReady", "sourceTraceLinks", "sourceTraceEvidence", "sourceTraceEvidenceDigest", "externalRuntimeHandoff", "externalRuntimeHandoffDigest", "externalRuntimeSmokeKit", "externalRuntimeSmokeKitDigest", "runtimeResourceAccessPolicy", "runtimeResourceAccessPolicyDigest", "maliangApiInput", "apiInputWorkflowDigest", "apiInputWorkflowVerificationDigest", "submitRequestDigest", "submitReviewPacketDigest", "externalExecutionRunbookDigest"], "sourceArtifacts": ["maliang-exports:api-input-workflow", "maliang-exports:api-input-workflow-verify", "maliang-exports:submit-request"], "submitEnabled": false, "uploadEnabled": false}, "packagePath": "/api/web/v1/plugins/nails/maliang-exports:api-input-package", "pluginId": "nails", "route": "/api/web/v1/plugins/nails/maliang-exports:api-input-package-contract", "schema": {"$id": "https://openeyes.local/plugins/nails/web/v1/maliang-exports-api-input-package.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": {"authorizationPacket": {"description": "Optional full authorization packet produced by online-pilot:authorization-dry-run.", "type": "object"}, "authorizationPacketDigest": {"description": "Optional authorization digest to bind the package to an external review gate before real Maliang execution.", "pattern": "^[a-f0-9]{64}$", "type": "string"}, "payloadDigest": {"description": "Optional payload digest. When omitted, the latest local Maliang export record is used.", "pattern": "^[a-f0-9]{64}$", "type": "string"}, "stateRoot": {"description": "Local state root that contains state/plugins/nails/maliang.", "minLength": 1, "type": "string"}}, "required": ["stateRoot"], "title": "Nails Maliang API Input Package Request v1", "type": "object"}, "sideEffects": "local_state_read_only", "submitEnabled": false, "uploadEnabled": false}