{"$defs":{"classified_diagnostic":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"environment_unavailable"},"message":{"const":"a required local environment is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_found"},"message":{"const":"the named environment file does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_regular"},"message":{"const":"the named environment file is not a regular file"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_unreadable"},"message":{"const":"the named environment file cannot be read safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_too_large"},"message":{"const":"the named environment file exceeds the 1 MB limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_invalid_utf8"},"message":{"const":"the named environment file is not valid UTF-8"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_target_unknown"},"message":{"const":"--authorize-mcp must name an installed provider the application selects"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_not_applicable"},"message":{"const":"--authorize-mcp applies only to an installation that declares OAuth"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"command_not_found"},"message":{"const":"a required provider command could not be found"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"executable_unavailable"},"message":{"const":"a required provider executable is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"fixtures_unreadable"},"message":{"const":"provider fixtures could not be read"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"adapter_unavailable"},"message":{"const":"a required provider adapter is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"launcher_unavailable"},"message":{"const":"a required provider launcher is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"local_check_timeout"},"message":{"const":"a local provider check timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_application_unavailable"},"message":{"const":"a required provider application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"application"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_rejected"},"message":{"const":"the provider rejected the normalized selection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_failed"},"message":{"const":"active provider selection validation failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_timeout"},"message":{"const":"active provider selection validation timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"message":{"const":"a required provider credential is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"credentials"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_required"},"message":{"const":"explicit provider authorization is required"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_rejected"},"message":{"const":"explicit provider authorization was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"message":{"const":"provider authentication was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"message":{"const":"the provider rejected the connectivity operation"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"message":{"const":"the provider returned an invalid connectivity response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unsupported"},"message":{"const":"the provider does not implement the declared connectivity check"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_outcome_unknown"},"message":{"const":"the connectivity outcome could not be committed safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_timeout"},"message":{"const":"the connectivity operation exceeded its budget"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_unavailable"},"message":{"const":"the authorization service is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"message":{"const":"the provider connectivity operation is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rate_limited"},"message":{"const":"the provider connectivity operation is rate limited"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unavailable"},"message":{"const":"the selected provider could not be acquired"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_connection_refused"},"message":{"const":"the installed endpoint refused the connection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_name_unresolved"},"message":{"const":"the installed endpoint hostname could not be resolved"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_tls_failed"},"message":{"const":"the installed endpoint did not complete a TLS handshake"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_error"},"message":{"const":"the selected provider returned an invalid acquisition response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_version_unsupported"},"message":{"const":"the installed endpoint does not support MCP protocol 2026-07-28"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_tool_missing"},"message":{"oneOf":[{"const":"the installed endpoint does not expose a declared tool"},{"maxLength":567,"pattern":"^the installed endpoint does not expose declared tool \"(?:[^\"\\\\\\s\\x00-\\x1f\\x7f]|\\\\[\"\\\\]){1,128}\"$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_policy_changed"},"message":{"const":"the selected provider policy changed during acquisition"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"capability_requirement_missing"},"message":{"oneOf":[{"const":"a component requires a capability that the selected providers did not supply"},{"maxLength":1100,"minLength":1,"pattern":"^Missing capability requirement: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"},{"maxLength":1100,"minLength":1,"pattern":"^Missing capability requirements: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}(, [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}){1,7}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"workflow_failed"},"message":{"const":"the workflow failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"workflow_failed"},"message":{"const":"the workflow failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_authentication_failed"},"message":{"const":"the LLM provider rejected authentication; check the installed credential"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_authentication_failed"},"message":{"const":"the LLM provider rejected authentication; check the installed credential"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_payment_required"},"message":{"const":"the LLM provider rejected the request for billing or credit reasons"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_payment_required"},"message":{"const":"the LLM provider rejected the request for billing or credit reasons"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_rate_limited"},"message":{"const":"the LLM provider rate limited the request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_rate_limited"},"message":{"const":"the LLM provider rate limited the request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_model_not_found"},"message":{"const":"the LLM provider could not find the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_model_not_found"},"message":{"const":"the LLM provider could not find the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_tool_calling_unsupported"},"message":{"const":"the configured model does not support tool calling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_tool_calling_unsupported"},"message":{"const":"the configured model does not support tool calling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_request_invalid"},"message":{"const":"the LLM provider rejected the configured request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_request_invalid"},"message":{"const":"the LLM provider rejected the configured request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_access_denied"},"message":{"const":"the LLM provider denied access to the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_access_denied"},"message":{"const":"the LLM provider denied access to the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_timeout"},"message":{"const":"the LLM provider request timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_timeout"},"message":{"const":"the LLM provider request timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_unavailable"},"message":{"const":"the LLM provider is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_unavailable"},"message":{"const":"the LLM provider is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_failed"},"message":{"const":"the LLM provider request failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_failed"},"message":{"const":"the LLM provider request failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"mission_failed"},"message":{"const":"a subordinate mission failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"mission_failed"},"message":{"const":"a subordinate mission failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"runtime_limit_exceeded"},"message":{"oneOf":[{"const":"a runtime limit was exceeded"},{"maxLength":108,"minLength":1,"pattern":"^agent turn limit (?:[1-9]|[1-9][0-9]|1[01][0-9]|12[0-8]) was exceeded; raise max_turns for this agent.core/run call, or reduce the work per turn$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"runtime_limit_exceeded"},"message":{"oneOf":[{"const":"a runtime limit was exceeded"},{"maxLength":145,"minLength":1,"pattern":"^subordinate_evaluations limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) was exceeded; raise the manifest or host ceiling, or reduce total subordinate evaluations or agent turns$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^parallel_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during compilation$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^parallel_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during execution$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^workflow_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during compilation$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^workflow_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during execution$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"run_timeout"},"message":{"const":"the run duration limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"run_timeout"},"message":{"const":"the run duration limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_failed"},"message":{"const":"a provider failed during execution"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"execution"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"replay_fixture_missing"},"message":{"const":"no replay fixture matches the workflow request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"replay_fixture_missing"},"message":{"oneOf":[{"const":"no replay fixture matches the workflow request"},{"maxLength":126,"minLength":126,"pattern":"^no replay fixture matches this request \\(request_hash: sha256:[0-9a-f]{64}\\)$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_capture_limit_exceeded"},"message":{"const":"the canonical event capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_capture_limit_exceeded"},"message":{"const":"the canonical event capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_sink_unavailable"},"message":{"const":"the canonical event sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_sink_unavailable"},"message":{"const":"the canonical event sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_capture_limit_exceeded"},"message":{"const":"the private inspection capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_capture_limit_exceeded"},"message":{"const":"the private inspection capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_sink_unavailable"},"message":{"const":"the private inspection sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_sink_unavailable"},"message":{"const":"the private inspection sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_invalid"},"message":{"const":"the workflow result is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_invalid"},"message":{"const":"the workflow result is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_contract_failed"},"message":{"const":"the workflow result does not satisfy its contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_contract_failed"},"message":{"oneOf":[{"const":"the workflow result does not satisfy its contract"},{"maxLength":106,"minLength":1,"pattern":"^agent could not satisfy the result contract within (?:[1-9]|[1-9][0-9]|1[01][0-9]|12[0-8]) turns; last candidate violated (?:additionalProperties|boolean_schema|const|enum|format|json_value|maximum|maxItems|maxLength|minimum|minItems|minLength|required|type)$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"result_cleanup"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_limit_exceeded"},"message":{"const":"the workflow result exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_limit_exceeded"},"message":{"const":"the workflow result exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_failed"},"message":{"const":"provider cleanup failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_timeout"},"message":{"const":"provider cleanup timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"trace_publication_failed"},"message":{"const":"trace publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_publication_failed"},"message":{"const":"inspection publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_publication_failed"},"message":{"const":"result publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"recovery_cleanup_failed"},"message":{"const":"private result recovery cleanup failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"destination_collision"},"message":{"const":"an artifact destination appeared before publication"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_target_exists"},"message":{"const":"the initialization target already exists"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_parent_missing"},"message":{"const":"the initialization target's parent directory does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_parent_unusable"},"message":{"const":"the initialization target's parent directory is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_failed"},"message":{"const":"project initialization failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"evaluation_memory":{"additionalProperties":false,"properties":{"bytes":{"minimum":0,"type":"integer"},"defined_count":{"minimum":0,"type":"integer"},"history_bytes":{"minimum":0,"type":"integer"},"history_count":{"minimum":0,"type":"integer"},"memory_bytes":{"minimum":0,"type":"integer"}},"required":["bytes","defined_count","history_bytes","history_count","memory_bytes"],"type":"object"},"execution_diagnostic":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"workflow_failed"},"message":{"const":"the workflow failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"workflow_failed"},"message":{"const":"the workflow failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_authentication_failed"},"message":{"const":"the LLM provider rejected authentication; check the installed credential"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_authentication_failed"},"message":{"const":"the LLM provider rejected authentication; check the installed credential"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_payment_required"},"message":{"const":"the LLM provider rejected the request for billing or credit reasons"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_payment_required"},"message":{"const":"the LLM provider rejected the request for billing or credit reasons"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_rate_limited"},"message":{"const":"the LLM provider rate limited the request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_rate_limited"},"message":{"const":"the LLM provider rate limited the request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_model_not_found"},"message":{"const":"the LLM provider could not find the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_model_not_found"},"message":{"const":"the LLM provider could not find the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_tool_calling_unsupported"},"message":{"const":"the configured model does not support tool calling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_tool_calling_unsupported"},"message":{"const":"the configured model does not support tool calling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_request_invalid"},"message":{"const":"the LLM provider rejected the configured request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_request_invalid"},"message":{"const":"the LLM provider rejected the configured request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_access_denied"},"message":{"const":"the LLM provider denied access to the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_access_denied"},"message":{"const":"the LLM provider denied access to the configured model"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_timeout"},"message":{"const":"the LLM provider request timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_timeout"},"message":{"const":"the LLM provider request timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_unavailable"},"message":{"const":"the LLM provider is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_unavailable"},"message":{"const":"the LLM provider is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_failed"},"message":{"const":"the LLM provider request failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"llm_provider_failed"},"message":{"const":"the LLM provider request failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"mission_failed"},"message":{"const":"a subordinate mission failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"mission_failed"},"message":{"const":"a subordinate mission failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"runtime_limit_exceeded"},"message":{"oneOf":[{"const":"a runtime limit was exceeded"},{"maxLength":108,"minLength":1,"pattern":"^agent turn limit (?:[1-9]|[1-9][0-9]|1[01][0-9]|12[0-8]) was exceeded; raise max_turns for this agent.core/run call, or reduce the work per turn$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"runtime_limit_exceeded"},"message":{"oneOf":[{"const":"a runtime limit was exceeded"},{"maxLength":145,"minLength":1,"pattern":"^subordinate_evaluations limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) was exceeded; raise the manifest or host ceiling, or reduce total subordinate evaluations or agent turns$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^parallel_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during compilation$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^parallel_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during execution$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^workflow_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during compilation$(?![\\s\\S])","type":"string"},{"maxLength":71,"minLength":1,"pattern":"^workflow_timeout_ms limit (?:[1-9][0-9]{0,8}|1[0-9]{9}|2[0-4][0-9]{8}|25[0-8][0-9]{7}|259[0-1][0-9]{6}|2592000000) ms was exceeded during execution$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"run_timeout"},"message":{"const":"the run duration limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"run_timeout"},"message":{"const":"the run duration limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_failed"},"message":{"const":"a provider failed during execution"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"execution"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"replay_fixture_missing"},"message":{"const":"no replay fixture matches the workflow request"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"replay_fixture_missing"},"message":{"oneOf":[{"const":"no replay fixture matches the workflow request"},{"maxLength":126,"minLength":126,"pattern":"^no replay fixture matches this request \\(request_hash: sha256:[0-9a-f]{64}\\)$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_capture_limit_exceeded"},"message":{"const":"the canonical event capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_capture_limit_exceeded"},"message":{"const":"the canonical event capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_sink_unavailable"},"message":{"const":"the canonical event sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_sink_unavailable"},"message":{"const":"the canonical event sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_capture_limit_exceeded"},"message":{"const":"the private inspection capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_capture_limit_exceeded"},"message":{"const":"the private inspection capture limit was exceeded"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_sink_unavailable"},"message":{"const":"the private inspection sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_sink_unavailable"},"message":{"const":"the private inspection sink is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"execution"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"finalization_uncertain_diagnostic":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"result_publication_failed"},"message":{"const":"result publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"recovery_written_diagnostic":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"trace_publication_failed"},"message":{"const":"trace publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_publication_failed"},"message":{"const":"inspection publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_publication_failed"},"message":{"const":"result publication failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"destination_collision"},"message":{"const":"an artifact destination appeared before publication"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"unclassified_diagnostic":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_revision_missing"},"message":{"const":"an installed provider is missing its behavior revision"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_invalid"},"message":{"const":"an installed MCP endpoint is not admissible; streamable_http requires an https URL, or allow_insecure_loopback with a credential-free plain-http loopback address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_required"},"message":{"const":"a plain-http MCP endpoint requires allow_insecure_loopback"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_literal_loopback_required"},"message":{"const":"allow_insecure_loopback requires a literal 127.0.0.1 or [::1] address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_forbidden"},"message":{"const":"allow_insecure_loopback is not permitted on an https endpoint; remove it"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_credentials_require_https"},"message":{"const":"configured MCP credentials require an https endpoint"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"override_invalid"},"message":{"const":"the component override is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"override_invalid"},"message":{"const":"the component override is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_identity_conflict"},"message":{"const":"the command event identity conflicts with the application"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"event_identity_conflict"},"message":{"const":"the command event identity conflicts with the application"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"const":"the component source contains an undefined variable reference"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"oneOf":[{"const":"the component source contains an undefined variable reference"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variable: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variables: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}(, [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}){1,7}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"const":"the component bundle defines the same name more than once"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"oneOf":[{"const":"the component bundle defines the same name more than once"},{"maxLength":1100,"minLength":1,"pattern":"^Duplicate definition: [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/[A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"const":"the component source references an unavailable namespace"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"oneOf":[{"const":"the component source references an unavailable namespace"},{"maxLength":1100,"minLength":1,"pattern":"^unknown namespace [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/\\. Available namespaces: Boolean/, Double/, Duration/, Float/, Instant/, Integer/, LocalDate/, Long/, Math/, System/, clojure\\.core/, clojure\\.set/, clojure\\.string/, clojure\\.walk/, core/, data/, java\\.lang\\.Boolean/, java\\.lang\\.Double/, java\\.lang\\.Float/, java\\.lang\\.Integer/, java\\.lang\\.Long/, java\\.lang\\.Math/, java\\.lang\\.String/, java\\.lang\\.System/, java\\.time\\.Duration/, java\\.time\\.Instant/, java\\.time\\.LocalDate/, java\\.time\\.Period/, java\\.util\\.Date\\., java\\.util\\.Date/, json/, regex/, set/, str/, string/, tool/, walk/\\. For JSON parsing use json/parse-string \\(not cheshire\\.core/\\.\\.\\.\\)\\.$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unknown"},"message":{"const":"the selected provider is not installed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_invalid"},"message":{"const":"the provider selection is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_unverifiable"},"message":{"const":"the provider selection cannot be verified declaratively"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"placement_denied"},"message":{"const":"the provider is not allowed in this destination"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"dependency_invalid"},"message":{"const":"the selected provider dependency graph is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"data_policy_denied"},"message":{"const":"the selected providers do not admit the effective data class"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_destination"},"message":{"const":"an artifact destination is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_trace_destination"},"message":{"const":"the trace destination is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"trace_directory_missing"},"message":{"const":"--trace-dir must be an existing normal directory"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"trace_destination_unavailable"},"message":{"const":"the trace destination is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"trace_destination_unsafe"},"message":{"const":"the trace destination is unsafe"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_inspection_destination"},"message":{"const":"--inspect must name a valid destination ending in .inspection.jsonl"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_destination_unavailable"},"message":{"const":"the inspection destination is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_directory_missing"},"message":{"const":"--inspect must name a file in an existing directory"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"inspection_destination_unsafe"},"message":{"const":"the inspection destination is unsafe"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_result_destination"},"message":{"const":"the result destination is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_destination_unavailable"},"message":{"const":"the result destination is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_directory_missing"},"message":{"const":"--output and --private-output must name a file in an existing directory"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"result_destination_unsafe"},"message":{"const":"the result destination is unsafe"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"destination_exists"},"message":{"const":"an artifact destination already exists"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"private_destination_required"},"message":{"const":"the run requires an authorized private destination"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"recovery_reservation_failed"},"message":{"const":"the private result recovery reservation failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"destination"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"usage":{"oneOf":[{"additionalProperties":false,"properties":{"capability_calls":{"additionalProperties":{"minimum":0,"type":"integer"},"maxProperties":512,"propertyNames":{"pattern":"^(?:workflow|mission)/[a-z][a-z0-9._/-]{0,127}$(?![\\s\\S])","type":"string"},"type":"object"},"evaluation_continuation_bytes":{"minimum":0,"type":"integer"},"evaluation_history_bytes":{"minimum":0,"type":"integer"},"evaluation_memory_bytes":{"minimum":0,"type":"integer"},"evaluations_by_mission":{"additionalProperties":{"minimum":0,"type":"integer"},"maxProperties":512,"propertyNames":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"type":"object"},"events_dropped":{"additionalProperties":{"minimum":0,"type":"integer"},"maxProperties":512,"propertyNames":{"oneOf":[{"pattern":"^[a-z][a-z0-9-]{0,127}$(?![\\s\\S])","type":"string"},{"enum":["$overflow"],"type":"string"}]},"type":"object"},"llm_usage":{"items":{"additionalProperties":false,"properties":{"alias":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"calls":{"minimum":0,"type":"integer"},"installation_revision":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"missing_usage_calls":{"minimum":0,"type":"integer"},"successful_calls":{"minimum":0,"type":"integer"},"usage":{"additionalProperties":false,"properties":{"cache_creation":{"minimum":0,"type":"integer"},"cache_read":{"minimum":0,"type":"integer"},"input":{"minimum":0,"type":"integer"},"output":{"minimum":0,"type":"integer"},"total_cost":{"minimum":0,"type":"number"}},"required":[],"type":"object"},"usage_calls":{"minimum":0,"type":"integer"}},"required":["alias","installation_revision","calls","missing_usage_calls","successful_calls","usage_calls","usage"],"type":"object"},"maxItems":128,"type":"array"},"llm_usage_by_model":{"items":{"additionalProperties":false,"properties":{"calls":{"minimum":0,"type":"integer"},"missing_usage_calls":{"minimum":0,"type":"integer"},"resolved_model":{"maxLength":256,"minLength":1,"type":"string"},"successful_calls":{"minimum":0,"type":"integer"},"usage":{"additionalProperties":false,"properties":{"cache_creation":{"minimum":0,"type":"integer"},"cache_read":{"minimum":0,"type":"integer"},"input":{"minimum":0,"type":"integer"},"output":{"minimum":0,"type":"integer"},"total_cost":{"minimum":0,"type":"number"}},"required":[],"type":"object"},"usage_calls":{"minimum":0,"type":"integer"}},"required":["resolved_model","calls","missing_usage_calls","successful_calls","usage_calls","usage"],"type":"object"},"maxItems":128,"type":"array"},"llm_usage_state":{"const":"available"},"protocol_errors":{"minimum":0,"type":"integer"},"remaining_ms":{"minimum":0,"type":"integer"},"subordinate_evaluations":{"minimum":0,"type":"integer"},"unattributed_model_calls":{"minimum":0,"type":"integer"}},"required":["remaining_ms","capability_calls","subordinate_evaluations","evaluations_by_mission","protocol_errors","evaluation_memory_bytes","evaluation_history_bytes","evaluation_continuation_bytes","events_dropped","llm_usage_state","llm_usage","llm_usage_by_model","unattributed_model_calls"],"type":"object"},{"additionalProperties":false,"properties":{"capability_calls":{"additionalProperties":{"minimum":0,"type":"integer"},"maxProperties":512,"propertyNames":{"pattern":"^(?:workflow|mission)/[a-z][a-z0-9._/-]{0,127}$(?![\\s\\S])","type":"string"},"type":"object"},"evaluation_continuation_bytes":{"minimum":0,"type":"integer"},"evaluation_history_bytes":{"minimum":0,"type":"integer"},"evaluation_memory_bytes":{"minimum":0,"type":"integer"},"evaluations_by_mission":{"additionalProperties":{"minimum":0,"type":"integer"},"maxProperties":512,"propertyNames":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"type":"object"},"events_dropped":{"additionalProperties":{"minimum":0,"type":"integer"},"maxProperties":512,"propertyNames":{"oneOf":[{"pattern":"^[a-z][a-z0-9-]{0,127}$(?![\\s\\S])","type":"string"},{"enum":["$overflow"],"type":"string"}]},"type":"object"},"llm_usage":{"type":"null"},"llm_usage_by_model":{"type":"null"},"llm_usage_state":{"const":"unavailable"},"protocol_errors":{"minimum":0,"type":"integer"},"remaining_ms":{"minimum":0,"type":"integer"},"subordinate_evaluations":{"minimum":0,"type":"integer"},"unattributed_model_calls":{"type":"null"}},"required":["remaining_ms","capability_calls","subordinate_evaluations","evaluations_by_mission","protocol_errors","evaluation_memory_bytes","evaluation_history_bytes","evaluation_continuation_bytes","events_dropped","llm_usage_state","llm_usage","llm_usage_by_model","unattributed_model_calls"],"type":"object"}]}},"$id":"https://ptc-runner.dev/schemas/ptc-command-envelope-v2.schema.json","$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"additionalProperties":false,"properties":{"command":{"enum":["help"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["version"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["docs"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["init"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_target_exists"},"message":{"const":"the initialization target already exists"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_parent_missing"},"message":{"const":"the initialization target's parent directory does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_parent_unusable"},"message":{"const":"the initialization target's parent directory is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"initialization_failed"},"message":{"const":"project initialization failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"publication"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["validate"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_revision_missing"},"message":{"const":"an installed provider is missing its behavior revision"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_invalid"},"message":{"const":"an installed MCP endpoint is not admissible; streamable_http requires an https URL, or allow_insecure_loopback with a credential-free plain-http loopback address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_required"},"message":{"const":"a plain-http MCP endpoint requires allow_insecure_loopback"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_literal_loopback_required"},"message":{"const":"allow_insecure_loopback requires a literal 127.0.0.1 or [::1] address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_forbidden"},"message":{"const":"allow_insecure_loopback is not permitted on an https endpoint; remove it"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_credentials_require_https"},"message":{"const":"configured MCP credentials require an https endpoint"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"const":"the component source contains an undefined variable reference"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"oneOf":[{"const":"the component source contains an undefined variable reference"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variable: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variables: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}(, [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}){1,7}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"const":"the component bundle defines the same name more than once"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"oneOf":[{"const":"the component bundle defines the same name more than once"},{"maxLength":1100,"minLength":1,"pattern":"^Duplicate definition: [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/[A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"const":"the component source references an unavailable namespace"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"oneOf":[{"const":"the component source references an unavailable namespace"},{"maxLength":1100,"minLength":1,"pattern":"^unknown namespace [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/\\. Available namespaces: Boolean/, Double/, Duration/, Float/, Instant/, Integer/, LocalDate/, Long/, Math/, System/, clojure\\.core/, clojure\\.set/, clojure\\.string/, clojure\\.walk/, core/, data/, java\\.lang\\.Boolean/, java\\.lang\\.Double/, java\\.lang\\.Float/, java\\.lang\\.Integer/, java\\.lang\\.Long/, java\\.lang\\.Math/, java\\.lang\\.String/, java\\.lang\\.System/, java\\.time\\.Duration/, java\\.time\\.Instant/, java\\.time\\.LocalDate/, java\\.time\\.Period/, java\\.util\\.Date\\., java\\.util\\.Date/, json/, regex/, set/, str/, string/, tool/, walk/\\. For JSON parsing use json/parse-string \\(not cheshire\\.core/\\.\\.\\.\\)\\.$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unknown"},"message":{"const":"the selected provider is not installed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_invalid"},"message":{"const":"the provider selection is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_unverifiable"},"message":{"const":"the provider selection cannot be verified declaratively"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"placement_denied"},"message":{"const":"the provider is not allowed in this destination"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"dependency_invalid"},"message":{"const":"the selected provider dependency graph is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"data_policy_denied"},"message":{"const":"the selected providers do not admit the effective data class"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["doctor"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"project_host_undeclared"},"message":{"const":"the project document declares no host block; add one to use this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_revision_missing"},"message":{"const":"an installed provider is missing its behavior revision"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_invalid"},"message":{"const":"an installed MCP endpoint is not admissible; streamable_http requires an https URL, or allow_insecure_loopback with a credential-free plain-http loopback address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_required"},"message":{"const":"a plain-http MCP endpoint requires allow_insecure_loopback"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_literal_loopback_required"},"message":{"const":"allow_insecure_loopback requires a literal 127.0.0.1 or [::1] address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_forbidden"},"message":{"const":"allow_insecure_loopback is not permitted on an https endpoint; remove it"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_credentials_require_https"},"message":{"const":"configured MCP credentials require an https endpoint"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"const":"the component source contains an undefined variable reference"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"oneOf":[{"const":"the component source contains an undefined variable reference"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variable: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variables: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}(, [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}){1,7}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"const":"the component bundle defines the same name more than once"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"oneOf":[{"const":"the component bundle defines the same name more than once"},{"maxLength":1100,"minLength":1,"pattern":"^Duplicate definition: [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/[A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"const":"the component source references an unavailable namespace"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"oneOf":[{"const":"the component source references an unavailable namespace"},{"maxLength":1100,"minLength":1,"pattern":"^unknown namespace [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/\\. Available namespaces: Boolean/, Double/, Duration/, Float/, Instant/, Integer/, LocalDate/, Long/, Math/, System/, clojure\\.core/, clojure\\.set/, clojure\\.string/, clojure\\.walk/, core/, data/, java\\.lang\\.Boolean/, java\\.lang\\.Double/, java\\.lang\\.Float/, java\\.lang\\.Integer/, java\\.lang\\.Long/, java\\.lang\\.Math/, java\\.lang\\.String/, java\\.lang\\.System/, java\\.time\\.Duration/, java\\.time\\.Instant/, java\\.time\\.LocalDate/, java\\.time\\.Period/, java\\.util\\.Date\\., java\\.util\\.Date/, json/, regex/, set/, str/, string/, tool/, walk/\\. For JSON parsing use json/parse-string \\(not cheshire\\.core/\\.\\.\\.\\)\\.$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unknown"},"message":{"const":"the selected provider is not installed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_invalid"},"message":{"const":"the provider selection is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_unverifiable"},"message":{"const":"the provider selection cannot be verified declaratively"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"placement_denied"},"message":{"const":"the provider is not allowed in this destination"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"dependency_invalid"},"message":{"const":"the selected provider dependency graph is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"data_policy_denied"},"message":{"const":"the selected providers do not admit the effective data class"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_unavailable"},"message":{"const":"a required local environment is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_found"},"message":{"const":"the named environment file does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_regular"},"message":{"const":"the named environment file is not a regular file"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_unreadable"},"message":{"const":"the named environment file cannot be read safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_too_large"},"message":{"const":"the named environment file exceeds the 1 MB limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_invalid_utf8"},"message":{"const":"the named environment file is not valid UTF-8"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_target_unknown"},"message":{"const":"--authorize-mcp must name an installed provider the application selects"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_not_applicable"},"message":{"const":"--authorize-mcp applies only to an installation that declares OAuth"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"command_not_found"},"message":{"const":"a required provider command could not be found"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"executable_unavailable"},"message":{"const":"a required provider executable is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"fixtures_unreadable"},"message":{"const":"provider fixtures could not be read"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"adapter_unavailable"},"message":{"const":"a required provider adapter is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"launcher_unavailable"},"message":{"const":"a required provider launcher is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"local_check_timeout"},"message":{"const":"a local provider check timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_application_unavailable"},"message":{"const":"a required provider application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"application"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_rejected"},"message":{"const":"the provider rejected the normalized selection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_failed"},"message":{"const":"active provider selection validation failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_timeout"},"message":{"const":"active provider selection validation timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"message":{"const":"a required provider credential is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"credentials"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_required"},"message":{"const":"explicit provider authorization is required"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_rejected"},"message":{"const":"explicit provider authorization was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"message":{"const":"provider authentication was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"message":{"const":"the provider rejected the connectivity operation"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"message":{"const":"the provider returned an invalid connectivity response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unsupported"},"message":{"const":"the provider does not implement the declared connectivity check"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_outcome_unknown"},"message":{"const":"the connectivity outcome could not be committed safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_timeout"},"message":{"const":"the connectivity operation exceeded its budget"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_unavailable"},"message":{"const":"the authorization service is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"message":{"const":"the provider connectivity operation is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rate_limited"},"message":{"const":"the provider connectivity operation is rate limited"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unavailable"},"message":{"const":"the selected provider could not be acquired"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_connection_refused"},"message":{"const":"the installed endpoint refused the connection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_name_unresolved"},"message":{"const":"the installed endpoint hostname could not be resolved"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_tls_failed"},"message":{"const":"the installed endpoint did not complete a TLS handshake"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_error"},"message":{"const":"the selected provider returned an invalid acquisition response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_version_unsupported"},"message":{"const":"the installed endpoint does not support MCP protocol 2026-07-28"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_tool_missing"},"message":{"oneOf":[{"const":"the installed endpoint does not expose a declared tool"},{"maxLength":567,"pattern":"^the installed endpoint does not expose declared tool \"(?:[^\"\\\\\\s\\x00-\\x1f\\x7f]|\\\\[\"\\\\]){1,128}\"$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_policy_changed"},"message":{"const":"the selected provider policy changed during acquisition"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_failed"},"message":{"const":"provider cleanup failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_timeout"},"message":{"const":"provider cleanup timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"project_host_undeclared"},"message":{"const":"the project document declares no host block; add one to use this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_revision_missing"},"message":{"const":"an installed provider is missing its behavior revision"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_invalid"},"message":{"const":"an installed MCP endpoint is not admissible; streamable_http requires an https URL, or allow_insecure_loopback with a credential-free plain-http loopback address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_required"},"message":{"const":"a plain-http MCP endpoint requires allow_insecure_loopback"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_literal_loopback_required"},"message":{"const":"allow_insecure_loopback requires a literal 127.0.0.1 or [::1] address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_forbidden"},"message":{"const":"allow_insecure_loopback is not permitted on an https endpoint; remove it"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_credentials_require_https"},"message":{"const":"configured MCP credentials require an https endpoint"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"const":"the component source contains an undefined variable reference"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"oneOf":[{"const":"the component source contains an undefined variable reference"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variable: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variables: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}(, [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}){1,7}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"const":"the component bundle defines the same name more than once"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"oneOf":[{"const":"the component bundle defines the same name more than once"},{"maxLength":1100,"minLength":1,"pattern":"^Duplicate definition: [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/[A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"const":"the component source references an unavailable namespace"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"oneOf":[{"const":"the component source references an unavailable namespace"},{"maxLength":1100,"minLength":1,"pattern":"^unknown namespace [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/\\. Available namespaces: Boolean/, Double/, Duration/, Float/, Instant/, Integer/, LocalDate/, Long/, Math/, System/, clojure\\.core/, clojure\\.set/, clojure\\.string/, clojure\\.walk/, core/, data/, java\\.lang\\.Boolean/, java\\.lang\\.Double/, java\\.lang\\.Float/, java\\.lang\\.Integer/, java\\.lang\\.Long/, java\\.lang\\.Math/, java\\.lang\\.String/, java\\.lang\\.System/, java\\.time\\.Duration/, java\\.time\\.Instant/, java\\.time\\.LocalDate/, java\\.time\\.Period/, java\\.util\\.Date\\., java\\.util\\.Date/, json/, regex/, set/, str/, string/, tool/, walk/\\. For JSON parsing use json/parse-string \\(not cheshire\\.core/\\.\\.\\.\\)\\.$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unknown"},"message":{"const":"the selected provider is not installed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_invalid"},"message":{"const":"the provider selection is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_unverifiable"},"message":{"const":"the provider selection cannot be verified declaratively"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"placement_denied"},"message":{"const":"the provider is not allowed in this destination"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"dependency_invalid"},"message":{"const":"the selected provider dependency graph is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"data_policy_denied"},"message":{"const":"the selected providers do not admit the effective data class"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_unavailable"},"message":{"const":"a required local environment is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_found"},"message":{"const":"the named environment file does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_regular"},"message":{"const":"the named environment file is not a regular file"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_unreadable"},"message":{"const":"the named environment file cannot be read safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_too_large"},"message":{"const":"the named environment file exceeds the 1 MB limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_invalid_utf8"},"message":{"const":"the named environment file is not valid UTF-8"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_target_unknown"},"message":{"const":"--authorize-mcp must name an installed provider the application selects"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_not_applicable"},"message":{"const":"--authorize-mcp applies only to an installation that declares OAuth"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"command_not_found"},"message":{"const":"a required provider command could not be found"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"executable_unavailable"},"message":{"const":"a required provider executable is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"fixtures_unreadable"},"message":{"const":"provider fixtures could not be read"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"adapter_unavailable"},"message":{"const":"a required provider adapter is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"launcher_unavailable"},"message":{"const":"a required provider launcher is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"local_check_timeout"},"message":{"const":"a local provider check timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_application_unavailable"},"message":{"const":"a required provider application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"application"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_rejected"},"message":{"const":"the provider rejected the normalized selection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_failed"},"message":{"const":"active provider selection validation failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_timeout"},"message":{"const":"active provider selection validation timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"message":{"const":"a required provider credential is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"credentials"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_required"},"message":{"const":"explicit provider authorization is required"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_rejected"},"message":{"const":"explicit provider authorization was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"message":{"const":"provider authentication was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"message":{"const":"the provider rejected the connectivity operation"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"message":{"const":"the provider returned an invalid connectivity response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unsupported"},"message":{"const":"the provider does not implement the declared connectivity check"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_outcome_unknown"},"message":{"const":"the connectivity outcome could not be committed safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_timeout"},"message":{"const":"the connectivity operation exceeded its budget"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_unavailable"},"message":{"const":"the authorization service is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"message":{"const":"the provider connectivity operation is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rate_limited"},"message":{"const":"the provider connectivity operation is rate limited"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unavailable"},"message":{"const":"the selected provider could not be acquired"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_connection_refused"},"message":{"const":"the installed endpoint refused the connection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_name_unresolved"},"message":{"const":"the installed endpoint hostname could not be resolved"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_tls_failed"},"message":{"const":"the installed endpoint did not complete a TLS handshake"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_error"},"message":{"const":"the selected provider returned an invalid acquisition response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_version_unsupported"},"message":{"const":"the installed endpoint does not support MCP protocol 2026-07-28"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_tool_missing"},"message":{"oneOf":[{"const":"the installed endpoint does not expose a declared tool"},{"maxLength":567,"pattern":"^the installed endpoint does not expose declared tool \"(?:[^\"\\\\\\s\\x00-\\x1f\\x7f]|\\\\[\"\\\\]){1,128}\"$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_policy_changed"},"message":{"const":"the selected provider policy changed during acquisition"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_failed"},"message":{"const":"provider cleanup failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_timeout"},"message":{"const":"provider cleanup timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"maxItems":6,"type":"array"},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["models"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"project_host_undeclared"},"message":{"const":"the project document declares no host block; add one to use this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_revision_missing"},"message":{"const":"an installed provider is missing its behavior revision"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_invalid"},"message":{"const":"an installed MCP endpoint is not admissible; streamable_http requires an https URL, or allow_insecure_loopback with a credential-free plain-http loopback address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_required"},"message":{"const":"a plain-http MCP endpoint requires allow_insecure_loopback"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_literal_loopback_required"},"message":{"const":"allow_insecure_loopback requires a literal 127.0.0.1 or [::1] address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_forbidden"},"message":{"const":"allow_insecure_loopback is not permitted on an https endpoint; remove it"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_credentials_require_https"},"message":{"const":"configured MCP credentials require an https endpoint"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"dependency_invalid"},"message":{"const":"the selected provider dependency graph is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["unknown"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_command"},"message":{"const":"use one of the supported commands"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["doctor"]},"error":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_unavailable"},"message":{"const":"a required local environment is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"command_not_found"},"message":{"const":"a required provider command could not be found"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"executable_unavailable"},"message":{"const":"a required provider executable is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"fixtures_unreadable"},"message":{"const":"provider fixtures could not be read"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"adapter_unavailable"},"message":{"const":"a required provider adapter is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"launcher_unavailable"},"message":{"const":"a required provider launcher is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"local_check_timeout"},"message":{"const":"a local provider check timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_rejected"},"message":{"const":"the provider rejected the normalized selection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_failed"},"message":{"const":"active provider selection validation failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_timeout"},"message":{"const":"active provider selection validation timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"message":{"const":"a required provider credential is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"credentials"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_required"},"message":{"const":"explicit provider authorization is required"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_rejected"},"message":{"const":"explicit provider authorization was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"message":{"const":"provider authentication was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"message":{"const":"the provider rejected the connectivity operation"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"message":{"const":"the provider returned an invalid connectivity response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unsupported"},"message":{"const":"the provider does not implement the declared connectivity check"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_outcome_unknown"},"message":{"const":"the connectivity outcome could not be committed safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_unavailable"},"message":{"const":"the authorization service is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"message":{"const":"the provider connectivity operation is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rate_limited"},"message":{"const":"the provider connectivity operation is rate limited"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unavailable"},"message":{"const":"the selected provider could not be acquired"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_connection_refused"},"message":{"const":"the installed endpoint refused the connection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_name_unresolved"},"message":{"const":"the installed endpoint hostname could not be resolved"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_tls_failed"},"message":{"const":"the installed endpoint did not complete a TLS handshake"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_error"},"message":{"const":"the selected provider returned an invalid acquisition response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_version_unsupported"},"message":{"const":"the installed endpoint does not support MCP protocol 2026-07-28"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_tool_missing"},"message":{"oneOf":[{"const":"the installed endpoint does not expose a declared tool"},{"maxLength":567,"pattern":"^the installed endpoint does not expose declared tool \"(?:[^\"\\\\\\s\\x00-\\x1f\\x7f]|\\\\[\"\\\\]){1,128}\"$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_policy_changed"},"message":{"const":"the selected provider policy changed during acquisition"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"result":{"additionalProperties":false,"properties":{"checks":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"active_check_required"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"not_verified_due_to_failure"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"adapter_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"command_not_found"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"executable_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"fixtures_unreadable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"launcher_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"local_check_timeout"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"declarative"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"active_check_required"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"not_verified_due_to_failure"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_rejected"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_failed"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_timeout"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"requires_connect"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/credentials$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"not_verified_due_to_failure"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/credentials$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/credentials$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"requires_connect"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"not_verified_due_to_failure"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_rejected"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_required"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"requires_connect"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"not_verified_due_to_failure"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_outcome_unknown"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rate_limited"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unsupported"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_connection_refused"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_name_unresolved"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_tls_failed"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_policy_changed"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_error"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_version_unsupported"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_tool_missing"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unavailable"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"}]},"maxItems":1024,"minItems":3,"prefixItems":[{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"supported"},"name":{"const":"runtime"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unsupported"},"name":{"const":"runtime"},"status":{"const":"warn"}},"required":["name","status","code"],"type":"object"}]},{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"valid"},"name":{"const":"application"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"name":{"const":"application"},"status":{"const":"fail"}},"required":["name","status","code"],"type":"object"}]},{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"const":"viewer"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"optional_unavailable"},"name":{"const":"viewer"},"status":{"const":"warn"}},"required":["name","status","code"],"type":"object"}]}],"type":"array"},"model_aliases":{"items":{"additionalProperties":false,"properties":{"alias":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"default":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"installation_revision":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"model_selector":{"maxLength":4096,"type":"string"},"selected":{"type":"boolean"},"source":{"enum":["llm","llm_replay","custom"]}},"required":["alias","source","installation_revision","default","selected"],"type":"object"},"maxItems":128,"type":"array"},"provider_activity":{"type":"boolean"},"readiness":{"const":"failed"}},"required":["checks","model_aliases","provider_activity","readiness"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"invalid_arguments"},"message":{"const":"use the documented arguments for this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"conflicting_arguments"},"message":{"const":"choose only one option from the conflicting argument group"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"project_host_undeclared"},"message":{"const":"the project document declares no host block; add one to use this command"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"arguments"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_unavailable"},"message":{"const":"the host configuration is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_invalid"},"message":{"const":"the host configuration is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"host_schema_invalid"},"message":{"const":"the host configuration does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_invalid"},"message":{"const":"an installed limit is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"host"},"name":{"const":"ptc-host.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_revision_missing"},"message":{"const":"an installed provider is missing its behavior revision"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_invalid"},"message":{"const":"an installed MCP endpoint is not admissible; streamable_http requires an https URL, or allow_insecure_loopback with a credential-free plain-http loopback address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_required"},"message":{"const":"a plain-http MCP endpoint requires allow_insecure_loopback"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_literal_loopback_required"},"message":{"const":"allow_insecure_loopback requires a literal 127.0.0.1 or [::1] address"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_insecure_loopback_forbidden"},"message":{"const":"allow_insecure_loopback is not permitted on an https endpoint; remove it"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installation_endpoint_credentials_require_https"},"message":{"const":"configured MCP credentials require an https endpoint"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"host"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_unavailable"},"message":{"const":"the application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_not_found"},"message":{"const":"the application manifest does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"invalid_json"},"message":{"const":"an application document is not valid JSON"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_property"},"message":{"const":"an application document contains a duplicate property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"schema_violation"},"message":{"const":"the application manifest does not satisfy its schema"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"installed_limit_exceeded"},"message":{"const":"an application limit exceeds the installed ceiling; lower it or raise the host-configured ceiling"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"required_property_missing"},"message":{"const":"the application manifest is missing a required property"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"reference_missing"},"message":{"const":"a referenced application document is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"document_limit_exceeded"},"message":{"const":"the application document closure exceeds its limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component_override"},"name":{"const":"component-override.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"const":"an application value contract is invalid"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"contract_invalid"},"message":{"enum":["an application value contract is invalid","contract schema \"oneOf\" branch is not a closed object","contract schema \"oneOf\" branches share no single constant discriminator","contract schema \"oneOf\" is not two to sixteen branches","contract schema declares a minimum above its maximum","contract schema declares an unsupported \"$schema\" dialect","contract schema declares an unsupported \"format\"","contract schema declares an unsupported \"type\"","contract schema declares more enum members than the profile allows","contract schema declares more properties than the profile allows","contract schema is larger than the supported profile allows","contract schema keyword does not apply to its declared \"type\"","contract schema keyword has an invalid value","contract schema nests deeper than the supported profile allows","contract schema node declares no \"type\"","contract schema node is not a JSON object","contract schema requires a property it does not declare","contract schema root is not an object schema","contract schema uses a keyword outside the supported profile"]},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"result_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_invalid"},"message":{"const":"the selected input is not an admissible JSON object"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"application"},"name":{"const":"ptc.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"external_input"},"name":{"const":"input.json"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"input_contract_failed"},"message":{"const":"the selected input does not satisfy the input contract"},"notes":{"const":[]},"path":{"oneOf":[{"type":"null"},{"maxLength":8192,"pattern":"^(?:/(?:[^~/]|~[01])*)*$(?![\\s\\S])","type":"string"}]},"phase":{"const":"application"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"input_contract"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_invalid"},"message":{"const":"the component bundle is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"bundle_limit_exceeded"},"message":{"const":"the component bundle exceeds a compile limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"compile_failed"},"message":{"const":"the component bundle could not be compiled"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"syntax_invalid"},"message":{"const":"the component source is not valid PTC-Lisp"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"const":"the component source contains an undefined variable reference"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"undefined_variable"},"message":{"oneOf":[{"const":"the component source contains an undefined variable reference"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variable: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"},{"maxLength":1100,"minLength":1,"pattern":"^Undefined variables: [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}(, [A-Za-z+*\\/<>=?!_%.&-][A-Za-z0-9+*\\/<>=?!_%.&'-]{0,127}){1,7}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"const":"the component bundle defines the same name more than once"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"duplicate_definition"},"message":{"oneOf":[{"const":"the component bundle defines the same name more than once"},{"maxLength":1100,"minLength":1,"pattern":"^Duplicate definition: [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/[A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"const":"the component source references an unavailable namespace"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unknown_namespace"},"message":{"oneOf":[{"const":"the component source references an unavailable namespace"},{"maxLength":1100,"minLength":1,"pattern":"^unknown namespace [A-Za-z+*<>=?!_%.&-][A-Za-z0-9+*<>=?!_%.&'-]{0,127}/\\. Available namespaces: Boolean/, Double/, Duration/, Float/, Instant/, Integer/, LocalDate/, Long/, Math/, System/, clojure\\.core/, clojure\\.set/, clojure\\.string/, clojure\\.walk/, core/, data/, java\\.lang\\.Boolean/, java\\.lang\\.Double/, java\\.lang\\.Float/, java\\.lang\\.Integer/, java\\.lang\\.Long/, java\\.lang\\.Math/, java\\.lang\\.String/, java\\.lang\\.System/, java\\.time\\.Duration/, java\\.time\\.Instant/, java\\.time\\.LocalDate/, java\\.time\\.Period/, java\\.util\\.Date\\., java\\.util\\.Date/, json/, regex/, set/, str/, string/, tool/, walk/\\. For JSON parsing use json/parse-string \\(not cheshire\\.core/\\.\\.\\.\\)\\.$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"entry_invalid"},"message":{"const":"the workflow entry is not a public bundle export"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"bundle"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"component"},"name":{"maxLength":1024,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]{0,127}(?:/[a-z0-9][a-z0-9._-]{0,127}){0,15}$(?![\\s\\S])","type":"string"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unknown"},"message":{"const":"the selected provider is not installed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_invalid"},"message":{"const":"the provider selection is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_unverifiable"},"message":{"const":"the provider selection cannot be verified declaratively"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"placement_denied"},"message":{"const":"the provider is not allowed in this destination"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"dependency_invalid"},"message":{"const":"the selected provider dependency graph is invalid"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"declaration"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"data_policy_denied"},"message":{"const":"the selected providers do not admit the effective data class"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_declaration"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_unavailable"},"message":{"const":"a required local environment is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_found"},"message":{"const":"the named environment file does not exist"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_not_regular"},"message":{"const":"the named environment file is not a regular file"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_unreadable"},"message":{"const":"the named environment file cannot be read safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_too_large"},"message":{"const":"the named environment file exceeds the 1 MB limit"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"environment_file_invalid_utf8"},"message":{"const":"the named environment file is not valid UTF-8"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_target_unknown"},"message":{"const":"--authorize-mcp must name an installed provider the application selects"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_not_applicable"},"message":{"const":"--authorize-mcp applies only to an installation that declares OAuth"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"const":false},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"command_not_found"},"message":{"const":"a required provider command could not be found"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"executable_unavailable"},"message":{"const":"a required provider executable is unusable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"fixtures_unreadable"},"message":{"const":"provider fixtures could not be read"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"adapter_unavailable"},"message":{"const":"a required provider adapter is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"launcher_unavailable"},"message":{"const":"a required provider launcher is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"local_check_timeout"},"message":{"const":"a local provider check timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"local_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"local"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_application_unavailable"},"message":{"const":"a required provider application is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"application"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_rejected"},"message":{"const":"the provider rejected the normalized selection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_failed"},"message":{"const":"active provider selection validation failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"selection_validation_timeout"},"message":{"const":"active provider selection validation timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"selection"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"credential_unavailable"},"message":{"const":"a required provider credential is unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"credentials"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_required"},"message":{"const":"explicit provider authorization is required"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_rejected"},"message":{"const":"explicit provider authorization was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authentication_rejected"},"message":{"const":"provider authentication was rejected"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rejected"},"message":{"const":"the provider rejected the connectivity operation"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_protocol_error"},"message":{"const":"the provider returned an invalid connectivity response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unsupported"},"message":{"const":"the provider does not implement the declared connectivity check"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_outcome_unknown"},"message":{"const":"the connectivity outcome could not be committed safely"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_timeout"},"message":{"const":"the connectivity operation exceeded its budget"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"authorization_unavailable"},"message":{"const":"the authorization service is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_unavailable"},"message":{"const":"the provider connectivity operation is temporarily unavailable"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"}]},"operation":{"const":"authorization"}},"required":["kind","name","operation","occurrence"],"type":"object"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"connectivity_rate_limited"},"message":{"const":"the provider connectivity operation is rate limited"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"active_preflight"},"provider_activity":{"type":"boolean"},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"connectivity"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_unavailable"},"message":{"const":"the selected provider could not be acquired"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_connection_refused"},"message":{"const":"the installed endpoint refused the connection"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":true},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_name_unresolved"},"message":{"const":"the installed endpoint hostname could not be resolved"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_endpoint_tls_failed"},"message":{"const":"the installed endpoint did not complete a TLS handshake"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_error"},"message":{"const":"the selected provider returned an invalid acquisition response"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_protocol_version_unsupported"},"message":{"const":"the installed endpoint does not support MCP protocol 2026-07-28"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_tool_missing"},"message":{"oneOf":[{"const":"the installed endpoint does not expose a declared tool"},{"maxLength":567,"pattern":"^the installed endpoint does not expose declared tool \"(?:[^\"\\\\\\s\\x00-\\x1f\\x7f]|\\\\[\"\\\\]){1,128}\"$(?![\\s\\S])","type":"string"}]},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_policy_changed"},"message":{"const":"the selected provider policy changed during acquisition"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"provider_acquisition"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"additionalProperties":false,"properties":{"destination":{"enum":["workflow","mission"]},"index":{"maximum":31,"minimum":0,"type":"integer"}},"required":["destination","index"],"type":"object"},"operation":{"const":"acquisition"}},"required":["kind","name","operation","occurrence"],"type":"object"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_failed"},"message":{"const":"provider cleanup failed"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"provider_cleanup_timeout"},"message":{"const":"provider cleanup timed out"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"result_cleanup"},"provider_activity":{"const":true},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"kind":{"const":"provider"},"name":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"occurrence":{"type":"null"},"operation":{"const":"cleanup"}},"required":["kind","name","operation","occurrence"],"type":"object"}]}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"type":"null"},"span":{"type":"null"},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"internal_error"},"message":{"const":"the command failed internally"},"notes":{"const":[]},"path":{"type":"null"},"phase":{"const":"internal"},"provider_activity":{"type":"boolean"},"retryable":{"const":false},"source":{"additionalProperties":false,"properties":{"kind":{"const":"runtime"},"name":{"const":"ptc-runtime"}},"required":["kind","name"],"type":"object"},"span":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"end_byte":{"minimum":0,"type":"integer"},"start_byte":{"minimum":0,"type":"integer"}},"required":["start_byte","end_byte"],"type":"object"}]},"subject":{"type":"null"}},"required":["phase","code","message","source","path","span","subject","notes","retryable","provider_activity"],"type":"object"}]},"maxItems":6,"type":"array"},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors","result"],"type":"object"},{"additionalProperties":false,"properties":{"artifact_class":{"const":"unclassified"},"artifact_state":{"additionalProperties":false,"properties":{"inspection":{"enum":["not_requested","not_written"]},"result":{"enum":["not_requested","not_written"]},"trace":{"enum":["not_requested","not_written"]}},"required":["trace","inspection","result"],"type":"object"},"command":{"enum":["run"]},"error":{"$ref":"#/$defs/unclassified_diagnostic"},"execution":{"additionalProperties":false,"properties":{"state":{"const":"not_started"}},"required":["state"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors","artifact_state","artifact_class","execution"],"type":"object"},{"additionalProperties":false,"properties":{"artifact_class":{"enum":["normal","private"]},"artifact_state":{"additionalProperties":false,"properties":{"inspection":{"enum":["not_requested","not_written","written","failed"]},"result":{"enum":["not_requested","not_written","written","failed"]},"trace":{"enum":["not_requested","not_written","written","failed"]}},"required":["trace","inspection","result"],"type":"object"},"command":{"enum":["run"]},"error":{"$ref":"#/$defs/classified_diagnostic"},"execution":{"oneOf":[{"additionalProperties":false,"properties":{"state":{"const":"not_started"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"evaluation_memory":{"oneOf":[{"type":"null"},{"$ref":"#/$defs/evaluation_memory"}]},"state":{"const":"incomplete"},"usage":{"oneOf":[{"type":"null"},{"$ref":"#/$defs/usage"}]}},"required":["state","usage","evaluation_memory"],"type":"object"},{"additionalProperties":false,"properties":{"diagnostic":{"type":"null"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"ok"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"},{"additionalProperties":false,"properties":{"diagnostic":{"$ref":"#/$defs/execution_diagnostic"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"error"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"items":{"$ref":"#/$defs/classified_diagnostic"},"maxItems":6,"type":"array"},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors","artifact_state","artifact_class","execution"],"type":"object"},{"additionalProperties":false,"anyOf":[{"properties":{"error":{"$ref":"#/$defs/recovery_written_diagnostic"}}},{"properties":{"secondary_errors":{"contains":{"$ref":"#/$defs/recovery_written_diagnostic"},"minContains":1}}}],"properties":{"artifact_class":{"enum":["normal","private"]},"artifact_state":{"additionalProperties":false,"properties":{"inspection":{"enum":["not_requested","not_written","written","failed"]},"result":{"const":"recovery_written"},"trace":{"enum":["not_requested","not_written","written","failed"]}},"required":["trace","inspection","result"],"type":"object"},"command":{"enum":["run"]},"error":{"$ref":"#/$defs/classified_diagnostic"},"execution":{"oneOf":[{"additionalProperties":false,"properties":{"state":{"const":"not_started"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"evaluation_memory":{"oneOf":[{"type":"null"},{"$ref":"#/$defs/evaluation_memory"}]},"state":{"const":"incomplete"},"usage":{"oneOf":[{"type":"null"},{"$ref":"#/$defs/usage"}]}},"required":["state","usage","evaluation_memory"],"type":"object"},{"additionalProperties":false,"properties":{"diagnostic":{"type":"null"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"ok"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"},{"additionalProperties":false,"properties":{"diagnostic":{"$ref":"#/$defs/execution_diagnostic"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"error"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"items":{"$ref":"#/$defs/classified_diagnostic"},"maxItems":6,"type":"array"},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors","artifact_state","artifact_class","execution"],"type":"object"},{"additionalProperties":false,"anyOf":[{"properties":{"error":{"$ref":"#/$defs/finalization_uncertain_diagnostic"}}},{"properties":{"secondary_errors":{"contains":{"$ref":"#/$defs/finalization_uncertain_diagnostic"},"minContains":1}}}],"properties":{"artifact_class":{"enum":["normal","private"]},"artifact_state":{"additionalProperties":false,"properties":{"inspection":{"enum":["not_requested","not_written","written","failed"]},"result":{"const":"finalization_uncertain"},"trace":{"enum":["not_requested","not_written","written","failed"]}},"required":["trace","inspection","result"],"type":"object"},"command":{"enum":["run"]},"error":{"$ref":"#/$defs/classified_diagnostic"},"execution":{"oneOf":[{"additionalProperties":false,"properties":{"state":{"const":"not_started"}},"required":["state"],"type":"object"},{"additionalProperties":false,"properties":{"evaluation_memory":{"oneOf":[{"type":"null"},{"$ref":"#/$defs/evaluation_memory"}]},"state":{"const":"incomplete"},"usage":{"oneOf":[{"type":"null"},{"$ref":"#/$defs/usage"}]}},"required":["state","usage","evaluation_memory"],"type":"object"},{"additionalProperties":false,"properties":{"diagnostic":{"type":"null"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"ok"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"},{"additionalProperties":false,"properties":{"diagnostic":{"$ref":"#/$defs/execution_diagnostic"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"error"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"items":{"$ref":"#/$defs/classified_diagnostic"},"maxItems":6,"type":"array"},"status":{"const":"error"}},"required":["schema_version","command","status","run_ref","error","secondary_errors","artifact_state","artifact_class","execution"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["help"]},"result":{"oneOf":[{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"docs"},"usage":{"const":["ptc docs [PAGE]"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":["doctor --connect may perform one or more real provider requests and may incur provider cost"]},"options":{"const":[{"description":"trusted provider installation document","switches":["--host-config HOST.json"]},{"description":"perform active provider checks","switches":["--connect"]},{"description":"include safe configured model selectors","switches":["--show-model-selectors"]},{"description":"load environment variables from this exact file","switches":["--env-file FILE"]},{"description":"atomically publish the V2 command envelope","switches":["--envelope ENVELOPE.json"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"doctor"},"usage":{"const":["ptc doctor [MANIFEST.json|PROJECT.json] [--host-config HOST.json] [--connect] [--show-model-selectors]"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"atomically publish the V2 command envelope","switches":["--envelope ENVELOPE.json"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"init"},"usage":{"const":["ptc init DIRECTORY"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"trusted provider installation document","switches":["--host-config HOST.json"]},{"description":"atomically publish the V2 command envelope","switches":["--envelope ENVELOPE.json"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"models"},"usage":{"const":["ptc models PROJECT.json | --host-config HOST.json"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"reuse application, host, and environment project defaults","switches":["--project PROJECT.json"]},{"description":"evaluate an expression; repeatable and ordered","switches":["-e EXPR","--eval EXPR"]},{"description":"evaluate a setup file before other input","switches":["-l SETUP.clj","--load SETUP.clj"]},{"description":"reuse a strict Kernel manifest workflow","switches":["-m MANIFEST","--manifest MANIFEST"]},{"description":"open one manifest-declared mission environment","switches":["--mission MISSION"]},{"description":"manifest-only trusted provider installation document","switches":["--host-config HOST.json"]},{"description":"load environment variables from this exact file","switches":["--env-file FILE"]},{"description":"append canonical session events","switches":["-t TRACE.jsonl","--trace TRACE.jsonl"]},{"description":"select a code-owned analysis profile","switches":["--profile PROFILE"]},{"description":"supply a profile resource; repeatable and ordered","switches":["--resource NAME=DIRECTORY"]},{"description":"existing directory for the profile session trace","switches":["--session-trace-dir DIRECTORY"]},{"description":"publish one public profile evaluation value","switches":["--output VALUE.json"]},{"description":"publish one owner-only private profile evaluation value","switches":["--private-output VALUE.json"]},{"description":"choose human or JSON Lines profile output","switches":["--format clojure|jsonl"]},{"description":"REPL structural preview character ceiling","switches":["--preview-chars COUNT"]},{"description":"continue later repeated evaluations after an error","switches":["--continue-on-error"]},{"description":"authorize an attached terminal as the private sink","switches":["--private-terminal"]},{"description":"authorize this command's streams as the private sink","switches":["--private-unattended"]},{"description":"print a safe static profile contract","switches":["--describe-profile PROFILE"]},{"description":"show repl help without starting a session","switches":["-h","--help"]}]},"topic":{"const":"repl"},"usage":{"const":["ptc repl [OPTIONS] [SCRIPT|-]"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"show root help","switches":["--help"]},{"description":"show the command version","switches":["--version"]}]},"topic":{"const":"root"},"usage":{"const":["ptc validate MANIFEST.json|PROJECT.json [--host-config HOST.json]","ptc run MANIFEST.json|PROJECT.json [OPTIONS]","ptc doctor [MANIFEST.json|PROJECT.json] [--host-config HOST.json] [--connect]","ptc models PROJECT.json | --host-config HOST.json","ptc init DIRECTORY","ptc docs [PAGE]","ptc transcript RUN_ID --traces DIRECTORY --inspection DIRECTORY --private-unattended --private-output FILE","ptc repl [OPTIONS] [SCRIPT|-]","ptc viewer PROJECT.json [--port PORT] [--listen ADDRESS] [--env-file FILE]","ptc --version"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"trusted provider installation document","switches":["--host-config HOST.json"]},{"description":"normal alternate input object","switches":["--input INPUT.json"]},{"description":"private alternate input object","switches":["--private-input INPUT.json"]},{"description":"existing directory for the run-reference trace artifact","switches":["--trace-dir DIRECTORY"]},{"description":"normal result artifact","switches":["--output VALUE.json"]},{"description":"owner-only private result artifact","switches":["--private-output VALUE.json"]},{"description":"owner-only private inspection artifact","switches":["--inspect RUN.inspection.jsonl"]},{"description":"verified replacement component descriptor","switches":["--component-override-descriptor DESCRIPTOR.json"]},{"description":"load environment variables from this exact file","switches":["--env-file FILE"]},{"description":"atomically publish the V2 command envelope","switches":["--envelope ENVELOPE.json"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"run"},"usage":{"const":["ptc run MANIFEST.json|PROJECT.json [OPTIONS]"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"trusted provider installation document","switches":["--host-config HOST.json"]},{"description":"normal alternate input object","switches":["--input INPUT.json"]},{"description":"private alternate input object","switches":["--private-input INPUT.json"]},{"description":"existing directory for the run-reference trace artifact","switches":["--trace-dir DIRECTORY"]},{"description":"normal result artifact","switches":["--output VALUE.json"]},{"description":"owner-only private result artifact","switches":["--private-output VALUE.json"]},{"description":"owner-only private inspection artifact","switches":["--inspect RUN.inspection.jsonl"]},{"description":"verified replacement component descriptor","switches":["--component-override-descriptor DESCRIPTOR.json"]},{"description":"load environment variables from this exact file","switches":["--env-file FILE"]},{"description":"atomically publish the V2 command envelope","switches":["--envelope ENVELOPE.json"]},{"description":"authorize one selected MCP installation for this run","switches":["--authorize-mcp NAME"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"run"},"usage":{"const":["ptc run MANIFEST.json|PROJECT.json [OPTIONS]"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"private-authorized canonical trace directory","switches":["--traces DIRECTORY"]},{"description":"correlated private inspection directory","switches":["--inspection DIRECTORY"]},{"description":"explicitly authorize one unattended private result","switches":["--private-unattended"]},{"description":"new owner-only private transcript artifact","switches":["--private-output TRANSCRIPT.json"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"transcript"},"usage":{"const":["ptc transcript RUN_ID --traces DIRECTORY --inspection DIRECTORY --private-unattended --private-output FILE"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"trusted provider installation document","switches":["--host-config HOST.json"]},{"description":"atomically publish the V2 command envelope","switches":["--envelope ENVELOPE.json"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"validate"},"usage":{"const":["ptc validate MANIFEST.json|PROJECT.json [--host-config HOST.json]"]}},"required":["notices","options","topic","usage"],"type":"object"},{"additionalProperties":false,"properties":{"notices":{"const":[]},"options":{"const":[{"description":"override the project's Viewer port","switches":["--port PORT"]},{"description":"bind address; 0.0.0.0 exposes the Viewer beyond this host","switches":["--listen 127.0.0.1|0.0.0.0"]},{"description":"load environment variables from this exact file","switches":["--env-file FILE"]},{"description":"show help for this command","switches":["--help"]}]},"topic":{"const":"viewer"},"usage":{"const":["ptc viewer PROJECT.json [--port PORT] [--listen ADDRESS] [--env-file FILE]"]}},"required":["notices","options","topic","usage"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["version"]},"result":{"additionalProperties":false,"properties":{"version":{"const":"0.13.0"}},"required":["version"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["docs"]},"result":{"oneOf":[{"additionalProperties":false,"properties":{"pages":{"items":false,"maxItems":19,"minItems":19,"prefixItems":[{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"agent-guide"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"cli"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"ptc-lisp"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"functions"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"preludes"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"agent-library"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"signatures"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"manifest"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"components"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"project"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"host"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"mcp"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"limits"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"repl"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"debug"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"traces"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"schema-manifest"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"schema-project"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"},{"additionalProperties":false,"properties":{"bytes":{"minimum":1,"type":"integer"},"name":{"const":"schema-host"},"title":{"minLength":1,"type":"string"}},"required":["name","title","bytes"],"type":"object"}],"type":"array"}},"required":["pages"],"type":"object"},{"additionalProperties":false,"properties":{"content":{"minLength":1,"type":"string"},"page":{"enum":["agent-guide","cli","ptc-lisp","functions","preludes","agent-library","signatures","manifest","components","project","host","mcp","limits","repl","debug","traces","schema-manifest","schema-project","schema-host"]}},"required":["page","content"],"type":"object"}]},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["init"]},"result":{"additionalProperties":false,"properties":{"created":{"const":["AGENTS.md",".gitignore","main.clj","ptc.json","ptc-project.json"]}},"required":["created"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["validate"]},"result":{"additionalProperties":false,"properties":{"application_content_digest":{"pattern":"^sha256:[0-9a-f]{64}$(?![\\s\\S])","type":"string"},"effective_application_digest":{"pattern":"^sha256:[0-9a-f]{64}$(?![\\s\\S])","type":"string"},"mission_bundle_hashes":{"additionalProperties":{"oneOf":[{"type":"null"},{"pattern":"^[0-9a-f]{64}$(?![\\s\\S])","type":"string"}]},"maxProperties":16,"propertyNames":{"pattern":"^[a-z][a-z0-9._-]{0,127}$"},"type":"object"},"provider_activity":{"const":false},"workflow_bundle_hash":{"pattern":"^[0-9a-f]{64}$(?![\\s\\S])","type":"string"}},"required":["application_content_digest","effective_application_digest","workflow_bundle_hash","mission_bundle_hashes","provider_activity"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"},{"additionalProperties":false,"properties":{"artifact_class":{"const":"normal"},"artifact_state":{"additionalProperties":false,"properties":{"inspection":{"enum":["not_requested","written"]},"result":{"enum":["not_requested","written"]},"trace":{"enum":["not_requested","written"]}},"required":["trace","inspection","result"],"type":"object"},"command":{"enum":["run"]},"execution":{"additionalProperties":false,"properties":{"diagnostic":{"type":"null"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"ok"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"},"result":{"additionalProperties":false,"properties":{"result_class":{"const":"normal"},"value":{}},"required":["result_class","value"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result","secondary_errors","artifact_state","artifact_class","execution"],"type":"object"},{"additionalProperties":false,"properties":{"artifact_class":{"const":"private"},"artifact_state":{"additionalProperties":false,"properties":{"inspection":{"enum":["not_requested","written"]},"result":{"const":"written"},"trace":{"enum":["not_requested","written"]}},"required":["trace","inspection","result"],"type":"object"},"command":{"enum":["run"]},"execution":{"additionalProperties":false,"properties":{"diagnostic":{"type":"null"},"evaluation_memory":{"$ref":"#/$defs/evaluation_memory"},"outcome":{"const":"ok"},"state":{"const":"finished"},"usage":{"$ref":"#/$defs/usage"}},"required":["state","outcome","diagnostic","usage","evaluation_memory"],"type":"object"},"result":{"additionalProperties":false,"properties":{"result_class":{"const":"private"}},"required":["result_class"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"secondary_errors":{"const":[]},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result","secondary_errors","artifact_state","artifact_class","execution"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["doctor"]},"result":{"additionalProperties":false,"properties":{"checks":{"items":{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"application_required"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"active_check_required"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/local$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"declarative"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"active_check_required"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/selection$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/credentials$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"requires_connect"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/credentials$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"requires_connect"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/authorization$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"requires_connect"},"name":{"pattern":"^provider/[a-z][a-z0-9._-]{0,127}/connectivity$(?![\\s\\S])","type":"string"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"}]},"maxItems":1024,"minItems":3,"prefixItems":[{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"supported"},"name":{"const":"runtime"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"unsupported"},"name":{"const":"runtime"},"status":{"const":"warn"}},"required":["name","status","code"],"type":"object"}]},{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"valid"},"name":{"const":"application"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"not_requested"},"name":{"const":"application"},"status":{"const":"skipped"}},"required":["name","status","code"],"type":"object"}]},{"oneOf":[{"additionalProperties":false,"properties":{"code":{"const":"available"},"name":{"const":"viewer"},"status":{"const":"pass"}},"required":["name","status","code"],"type":"object"},{"additionalProperties":false,"properties":{"code":{"const":"optional_unavailable"},"name":{"const":"viewer"},"status":{"const":"warn"}},"required":["name","status","code"],"type":"object"}]}],"type":"array"},"model_aliases":{"items":{"additionalProperties":false,"properties":{"alias":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"default":{"oneOf":[{"type":"boolean"},{"type":"null"}]},"installation_revision":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"model_selector":{"maxLength":4096,"type":"string"},"selected":{"type":"boolean"},"source":{"enum":["llm","llm_replay","custom"]}},"required":["alias","source","installation_revision","default","selected"],"type":"object"},"maxItems":128,"type":"array"},"provider_activity":{"type":"boolean"},"readiness":{"enum":["unverified","ready"]}},"required":["checks","model_aliases","provider_activity","readiness"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"},{"additionalProperties":false,"properties":{"command":{"enum":["models"]},"result":{"additionalProperties":false,"properties":{"installations":{"items":{"additionalProperties":false,"properties":{"accepts_data":{"items":{"enum":["normal","private_inspection"]},"maxItems":2,"minItems":1,"type":"array","uniqueItems":true},"alias":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"data_class":{"enum":["normal","private_inspection"]},"destinations":{"items":{"enum":["workflow","mission"]},"maxItems":2,"minItems":1,"type":"array","uniqueItems":true},"installation_revision":{"pattern":"^[a-z][a-z0-9._-]{0,127}$(?![\\s\\S])","type":"string"},"source":{"enum":["mcp","llm","llm_replay","ptc_trace_snapshot","ptc_private_trace_snapshot","ptc_inspection_snapshot","custom"]}},"required":["alias","source","installation_revision","data_class","accepts_data","destinations"],"type":"object"},"maxItems":128,"type":"array"}},"required":["installations"],"type":"object"},"run_ref":{"pattern":"^cmd-[0-7][0-9abcdefghjkmnpqrstvwxyz]{25}$(?![\\s\\S])","type":"string"},"schema_version":{"const":2},"status":{"const":"ok"}},"required":["schema_version","command","status","run_ref","result"],"type":"object"}],"title":"PtcRunner command envelope V2"}
