{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developer.reits.tech/schemas/runner-factory-controller-disposable-host-live-evidence-collection-detached-user-confirmation.v1.schema.json",
  "title": "Runner Factory Disposable-host Live-evidence Collection Detached User Confirmation",
  "type": "object",
  "additionalProperties": false,
  "required": ["schemaVersion", "status", "observedAt", "scope", "upstream", "operations", "proofSlots", "authorityTopology", "confirmationGuardrails", "stateModel", "invariants", "productionPrerequisites", "selectedDenialTrace", "verification", "truth", "fixtureRegistry", "discovery"],
  "properties": {
    "schemaVersion": { "const": "developer.reits.tech/runner-factory-disposable-host-live-evidence-collection-detached-user-confirmation-contract/v1" },
    "status": { "const": "DISPOSABLE_HOST_LIVE_EVIDENCE_COLLECTION_DETACHED_USER_CONFIRMATION_IMPLEMENTED_NOT_CONFIGURED" },
    "observedAt": { "type": "string", "format": "date-time" },
    "scope": {
      "type": "object", "additionalProperties": false,
      "required": ["mode", "input", "output", "verdict", "fixtureDetachedSignatureVerified", "realIdentityVerified", "realUserConfirmed", "liveQuoteRead", "budgetHeld", "hostClaimCreated", "hostContacted", "packageLoaded", "processSpawned", "shellSurface", "transactionAuthority", "launchAuthority", "billingAuthority", "promotionAuthority", "productionEntrypointWired"],
      "properties": {
        "mode": { "const": "FIXTURE_DETACHED_SIGNATURE_VERIFICATION_ONLY_NO_LIVE_READ_NO_HOLD_NO_CLAIM" },
        "input": { "const": "POSITIVELY_VERIFIED_TEST_ONLY_TRANSACTION_INTENT_RECEIPT" },
        "output": { "const": "DETACHED_USER_CONFIRMATION_VERIFIED_FIXTURE_ONLY" },
        "verdict": { "const": "REQUIRES_FRESH_QUOTE_BUDGET_HOLD_HOST_CLAIM_AND_EXECUTION_AUTHORIZATION" },
        "fixtureDetachedSignatureVerified": { "const": true }, "realIdentityVerified": { "const": false }, "realUserConfirmed": { "const": false }, "liveQuoteRead": { "const": false }, "budgetHeld": { "const": false }, "hostClaimCreated": { "const": false }, "hostContacted": { "const": false }, "packageLoaded": { "const": false }, "processSpawned": { "const": false },
        "shellSurface": { "const": "NONE" }, "transactionAuthority": { "const": "NONE" }, "launchAuthority": { "const": "NONE" }, "billingAuthority": { "const": "NONE" }, "promotionAuthority": { "const": "NONE" }, "productionEntrypointWired": { "const": false }
      }
    },
    "upstream": {
      "type": "object", "additionalProperties": false,
      "required": ["schemaVersion", "status", "verdict", "authoritativeVerificationRequired", "positiveBooleanRequired"],
      "properties": { "schemaVersion": { "const": "developer.reits.tech/runner-factory-disposable-host-live-evidence-collection-transaction-intent-receipt/v1" }, "status": { "const": "LIVE_COLLECTION_TRANSACTION_INTENT_PREPARED_TEST_ONLY" }, "verdict": { "const": "REQUIRES_REAL_USER_SIGNATURE_AND_EXECUTION_TIME_REVALIDATION" }, "authoritativeVerificationRequired": { "const": true }, "positiveBooleanRequired": { "const": true } }
    },
    "operations": { "type": "array", "minItems": 4, "maxItems": 4, "items": { "type": "object", "additionalProperties": false, "required": ["id", "input", "output", "sideEffect"], "properties": { "id": { "enum": ["prepare", "project", "verify", "dispose"] }, "input": { "type": "string" }, "output": { "type": "string" }, "sideEffect": { "const": "NONE" } } } },
    "proofSlots": {
      "type": "array", "minItems": 5, "maxItems": 5,
      "items": { "type": "object", "additionalProperties": false, "required": ["ordinal", "slot", "authority", "signerKeyId", "observedLive"], "properties": { "ordinal": { "type": "integer", "minimum": 1, "maximum": 5 }, "slot": { "enum": ["IDENTITY_BINDING_ATTESTATION", "CONSENT_PRESENTATION_ATTESTATION", "REAUTHENTICATION_FRESHNESS_ATTESTATION", "DETACHED_CHALLENGE_SIGNATURE_ATTESTATION", "CONFIRMATION_POLICY_REVALIDATION"] }, "authority": { "type": "string" }, "signerKeyId": { "type": "string", "pattern": "^fixture-p256-" }, "observedLive": { "const": false } } }
    },
    "authorityTopology": { "type": "array", "minItems": 4, "maxItems": 4, "items": { "type": "object", "additionalProperties": false, "required": ["authority", "slots", "mayConfirm", "mayExecute"], "properties": { "authority": { "type": "string" }, "slots": { "type": "integer", "minimum": 1, "maximum": 2 }, "mayConfirm": { "const": false }, "mayExecute": { "const": false } } } },
    "confirmationGuardrails": {
      "type": "object", "additionalProperties": false,
      "required": ["requestValiditySeconds", "challengeValiditySeconds", "signatureValiditySeconds", "proofShapeValiditySeconds", "hostCountMaximum", "maximumMilliUsdCeiling", "collectionWindowSeconds", "retirementSlaSeconds", "identityMode", "signatureAlgorithm", "signatureOrigin", "environment", "networkIngress", "networkEgress", "shellSurface", "realIdentityVerified", "realUserSignatureObserved", "liveQuoteRead", "budgetHoldCreated", "hostClaimCreated", "productionConfigured"],
      "properties": { "requestValiditySeconds": { "const": 30 }, "challengeValiditySeconds": { "const": 120 }, "signatureValiditySeconds": { "const": 120 }, "proofShapeValiditySeconds": { "const": 3600 }, "hostCountMaximum": { "const": 1 }, "maximumMilliUsdCeiling": { "const": 500 }, "collectionWindowSeconds": { "const": 600 }, "retirementSlaSeconds": { "const": 120 }, "identityMode": { "const": "OPAQUE_FIXTURE_SUBJECT_ONLY" }, "signatureAlgorithm": { "const": "ECDSA_P256_SHA256" }, "signatureOrigin": { "const": "FIXTURE_ONLY" }, "environment": { "const": "isolated-nonproduction-required-not-provisioned" }, "networkIngress": { "const": "NONE" }, "networkEgress": { "const": "DEFAULT_DENY_ALLOWLIST_REQUIRED" }, "shellSurface": { "const": "NONE" }, "realIdentityVerified": { "const": false }, "realUserSignatureObserved": { "const": false }, "liveQuoteRead": { "const": false }, "budgetHoldCreated": { "const": false }, "hostClaimCreated": { "const": false }, "productionConfigured": { "const": false } }
    },
    "stateModel": { "type": "array", "minItems": 14, "maxItems": 14, "items": { "type": "string" } },
    "invariants": { "type": "array", "minItems": 74, "maxItems": 74, "items": { "type": "string" } },
    "productionPrerequisites": { "type": "array", "minItems": 15, "maxItems": 15, "items": { "type": "string" } },
    "selectedDenialTrace": { "type": "object", "additionalProperties": false, "required": ["fixtureId", "mutation", "expected", "reason"], "properties": { "fixtureId": { "const": "RFDHLEDUC-48" }, "mutation": { "const": "CHALLENGE_USER_CONFIRMED" }, "expected": { "const": "DENY" }, "reason": { "type": "string" } } },
    "verification": {
      "type": "object", "additionalProperties": false,
      "required": ["status", "fixtures", "acceptedOutcomes", "deniedOutcomes", "upstreamReceiptsVerified", "detachedSignaturesVerified", "proofSignaturesVerified", "confirmationReceiptsVerified", "projectedConfirmations", "disposedHandles", "realIdentityVerificationsObserved", "realUserConfirmationsObserved", "livePriceQuotesObserved", "durableBudgetHoldsObserved", "durableClaimReservationsObserved", "productionHostRuns", "pricingReadsExecuted", "externalReadsExecuted", "externalWritesExecuted", "mutationsExecuted", "paidResourcesCreated"],
      "properties": { "status": { "const": "PASS_FIXTURE_ONLY" }, "fixtures": { "const": 100 }, "acceptedOutcomes": { "const": 14 }, "deniedOutcomes": { "const": 86 }, "upstreamReceiptsVerified": { "const": 80 }, "detachedSignaturesVerified": { "const": 51 }, "proofSignaturesVerified": { "const": 162 }, "confirmationReceiptsVerified": { "const": 3 }, "projectedConfirmations": { "const": 14 }, "disposedHandles": { "const": 2 }, "realIdentityVerificationsObserved": { "const": 0 }, "realUserConfirmationsObserved": { "const": 0 }, "livePriceQuotesObserved": { "const": 0 }, "durableBudgetHoldsObserved": { "const": 0 }, "durableClaimReservationsObserved": { "const": 0 }, "productionHostRuns": { "const": 0 }, "pricingReadsExecuted": { "const": 0 }, "externalReadsExecuted": { "const": 0 }, "externalWritesExecuted": { "const": 0 }, "mutationsExecuted": { "const": 0 }, "paidResourcesCreated": { "const": false } }
    },
    "truth": {
      "type": "object", "additionalProperties": false,
      "required": ["realIdentityVerificationsObserved", "realUserConfirmationsObserved", "livePriceQuotesObserved", "durableBudgetHoldsObserved", "durableClaimReservationsObserved", "productionDriversObserved", "watchdogArmingsObserved", "networkLeasesObserved", "imageAttestationsObserved", "retirementDrillsObserved", "incidentWindowsObserved", "policyRevalidationsObserved", "productionHostRuns", "productionHostClaims", "processesSpawned", "hostContacts", "packageLoads", "pricingReadsExecuted", "systemdUnitsInstalled", "controllerServicesStarted", "listenerStarts", "publicRoutes", "reverseProxyRoutes", "externalReadsExecuted", "externalWritesExecuted", "mutationsExecuted", "paidResourcesCreated", "deploymentPermitted"],
      "properties": { "realIdentityVerificationsObserved": { "const": 0 }, "realUserConfirmationsObserved": { "const": 0 }, "livePriceQuotesObserved": { "const": 0 }, "durableBudgetHoldsObserved": { "const": 0 }, "durableClaimReservationsObserved": { "const": 0 }, "productionDriversObserved": { "const": 0 }, "watchdogArmingsObserved": { "const": 0 }, "networkLeasesObserved": { "const": 0 }, "imageAttestationsObserved": { "const": 0 }, "retirementDrillsObserved": { "const": 0 }, "incidentWindowsObserved": { "const": 0 }, "policyRevalidationsObserved": { "const": 0 }, "productionHostRuns": { "const": 0 }, "productionHostClaims": { "const": 0 }, "processesSpawned": { "const": 0 }, "hostContacts": { "const": 0 }, "packageLoads": { "const": 0 }, "pricingReadsExecuted": { "const": 0 }, "systemdUnitsInstalled": { "const": 0 }, "controllerServicesStarted": { "const": 0 }, "listenerStarts": { "const": 0 }, "publicRoutes": { "const": 0 }, "reverseProxyRoutes": { "const": 0 }, "externalReadsExecuted": { "const": 0 }, "externalWritesExecuted": { "const": 0 }, "mutationsExecuted": { "const": 0 }, "paidResourcesCreated": { "const": false }, "deploymentPermitted": { "const": false } }
    },
    "fixtureRegistry": {
      "type": "object", "additionalProperties": false,
      "required": ["schemaVersion", "description", "mode", "cases", "networkRequestsExecuted", "pricingReadsExecuted", "realIdentityVerificationsExecuted", "userConfirmationsExecuted", "budgetHoldsExecuted", "hostClaimsExecuted", "hostLaunchesExecuted", "externalWritesExecuted", "paidResourcesCreated"],
      "properties": { "schemaVersion": { "const": "developer.reits.tech/runner-factory-disposable-host-live-evidence-collection-detached-user-confirmation-fixtures/v1" }, "description": { "type": "string" }, "mode": { "const": "FIXTURE_DETACHED_SIGNATURE_VERIFICATION_ONLY_NO_LIVE_READ_NO_HOLD_NO_CLAIM" }, "cases": { "type": "array", "minItems": 100, "maxItems": 100, "items": { "type": "object", "additionalProperties": false, "required": ["id", "mutation", "expected"], "properties": { "id": { "type": "string", "pattern": "^RFDHLEDUC-[0-9]{2,3}$" }, "mutation": { "type": "string" }, "expected": { "enum": ["ACCEPT", "DENY"] } } } }, "networkRequestsExecuted": { "const": 0 }, "pricingReadsExecuted": { "const": 0 }, "realIdentityVerificationsExecuted": { "const": 0 }, "userConfirmationsExecuted": { "const": 0 }, "budgetHoldsExecuted": { "const": 0 }, "hostClaimsExecuted": { "const": 0 }, "hostLaunchesExecuted": { "const": 0 }, "externalWritesExecuted": { "const": 0 }, "paidResourcesCreated": { "const": false } }
    },
    "discovery": {
      "type": "object", "additionalProperties": false,
      "required": ["controller", "lifecycle", "upstream", "workbench", "schema"],
      "properties": { "controller": { "const": "/api/runner-factory/controller" }, "lifecycle": { "const": "/api/runner-factory" }, "upstream": { "const": "/api/runner-factory/controller/disposable-host-live-evidence-collection-transaction-intent" }, "workbench": { "const": "/release-foundation#disposable-host-live-evidence-collection-detached-user-confirmation" }, "schema": { "const": "/schemas/runner-factory-controller-disposable-host-live-evidence-collection-detached-user-confirmation.v1.schema.json" } }
    }
  }
}
