{ "$id": "https://schemas.runx.ai/runx/receipt/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "acts": { "items": { "additionalProperties": false, "properties": { "artifact_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "by": { "additionalProperties": false, "properties": { "model": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "prompt_version": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "provider": { "anyOf": [ { "type": "string" }, { "type": "null" } ] } }, "required": [ "provider", "model", "prompt_version" ], "type": "object" }, "closure": { "additionalProperties": false, "properties": { "closed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "disposition": { "anyOf": [ { "const": "closed", "type": "string" }, { "const": "deferred", "type": "string" }, { "const": "superseded", "type": "string" }, { "const": "declined", "type": "string" }, { "const": "blocked", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "killed", "type": "string" }, { "const": "timed_out", "type": "string" } ] }, "reason_code": { "minLength": 1, "type": "string" }, "summary": { "minLength": 1, "type": "string" } }, "required": [ "disposition", "reason_code", "summary", "closed_at" ], "type": "object" }, "context_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "criterion_bindings": { "items": { "additionalProperties": false, "properties": { "criterion_id": { "minLength": 1, "type": "string" }, "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "status": { "anyOf": [ { "const": "verified", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "pending", "type": "string" }, { "const": "not_applicable", "type": "string" }, { "const": "unknown", "type": "string" } ] }, "summary": { "minLength": 1, "type": "string" }, "verification_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" } }, "required": [ "criterion_id", "status" ], "type": "object" }, "type": "array" }, "form": { "anyOf": [ { "const": "revision", "type": "string" }, { "const": "reply", "type": "string" }, { "const": "review", "type": "string" }, { "const": "observation", "type": "string" }, { "const": "verification", "type": "string" } ] }, "id": { "minLength": 1, "type": "string" }, "intent": { "additionalProperties": false, "properties": { "constraints": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "derived_from": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "legitimacy": { "minLength": 1, "type": "string" }, "purpose": { "minLength": 1, "type": "string" }, "success_criteria": { "items": { "additionalProperties": false, "properties": { "criterion_id": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "statement": { "minLength": 1, "type": "string" } }, "required": [ "criterion_id", "statement", "required" ], "type": "object" }, "type": "array" } }, "required": [ "purpose", "legitimacy" ], "type": "object" }, "revision": { "additionalProperties": false, "properties": { "change_plan": { "additionalProperties": false, "properties": { "plan_id": { "minLength": 1, "type": "string" }, "risks": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "steps": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "summary": { "minLength": 1, "type": "string" } }, "required": [ "plan_id", "summary" ], "type": "object" }, "change_request": { "additionalProperties": false, "properties": { "request_id": { "minLength": 1, "type": "string" }, "success_criteria": { "items": { "additionalProperties": false, "properties": { "criterion_id": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "statement": { "minLength": 1, "type": "string" } }, "required": [ "criterion_id", "statement", "required" ], "type": "object" }, "type": "array" }, "summary": { "minLength": 1, "type": "string" }, "target_surfaces": { "items": { "additionalProperties": false, "properties": { "mutating": { "type": "boolean" }, "rationale": { "minLength": 1, "type": "string" }, "surface_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" } }, "required": [ "surface_ref", "mutating" ], "type": "object" }, "type": "array" } }, "required": [ "request_id", "summary" ], "type": "object" }, "handoff_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "invariants": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "revision_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "target_surfaces": { "items": { "additionalProperties": false, "properties": { "mutating": { "type": "boolean" }, "rationale": { "minLength": 1, "type": "string" }, "surface_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" } }, "required": [ "surface_ref", "mutating" ], "type": "object" }, "type": "array" }, "verification": { "$id": "https://schemas.runx.ai/runx/verification/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "checks": { "items": { "additionalProperties": false, "properties": { "check_id": { "minLength": 1, "type": "string" }, "checked_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "criterion_ids": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "status": { "anyOf": [ { "const": "passed", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "pending", "type": "string" }, { "const": "not_applicable", "type": "string" }, { "const": "missing", "type": "string" } ] }, "summary": { "minLength": 1, "type": "string" }, "verified_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" } }, "required": [ "check_id", "criterion_ids", "status", "evidence_refs" ], "type": "object" }, "type": "array" }, "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "schema": { "anyOf": [ { "const": "runx.verification.v1", "type": "string" } ] }, "status": { "anyOf": [ { "const": "passed", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "pending", "type": "string" }, { "const": "not_applicable", "type": "string" }, { "const": "missing", "type": "string" } ] }, "verification_id": { "minLength": 1, "type": "string" }, "verified_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" } }, "required": [ "status", "checks", "evidence_refs" ], "type": "object", "x-runx-schema": "runx.verification.v1" } }, "required": [ "change_request", "change_plan" ], "type": "object" }, "source_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "summary": { "minLength": 1, "type": "string" }, "target_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "verification": { "additionalProperties": false, "properties": { "criterion_ids": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "deployment_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "verification": { "$id": "https://schemas.runx.ai/runx/verification/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "checks": { "items": { "additionalProperties": false, "properties": { "check_id": { "minLength": 1, "type": "string" }, "checked_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "criterion_ids": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "status": { "anyOf": [ { "const": "passed", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "pending", "type": "string" }, { "const": "not_applicable", "type": "string" }, { "const": "missing", "type": "string" } ] }, "summary": { "minLength": 1, "type": "string" }, "verified_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" } }, "required": [ "check_id", "criterion_ids", "status", "evidence_refs" ], "type": "object" }, "type": "array" }, "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "schema": { "anyOf": [ { "const": "runx.verification.v1", "type": "string" } ] }, "status": { "anyOf": [ { "const": "passed", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "pending", "type": "string" }, { "const": "not_applicable", "type": "string" }, { "const": "missing", "type": "string" } ] }, "verification_id": { "minLength": 1, "type": "string" }, "verified_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" } }, "required": [ "status", "checks", "evidence_refs" ], "type": "object", "x-runx-schema": "runx.verification.v1" } }, "required": [ "criterion_ids", "verification" ], "type": "object" } }, "required": [ "id", "form", "intent", "summary", "closure" ], "type": "object" }, "type": "array" }, "authority": { "additionalProperties": false, "properties": { "actor_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "attenuation": { "additionalProperties": false, "properties": { "parent_authority_ref": { "anyOf": [ { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, { "type": "null" } ] }, "subset_proof": { "anyOf": [ { "$id": "https://schemas.runx.ai/runx/authority/subset-proof/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "checked_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "compared_terms": { "items": { "additionalProperties": false, "properties": { "child_term_id": { "minLength": 1, "type": "string" }, "parent_term_id": { "minLength": 1, "type": "string" }, "relation": { "anyOf": [ { "const": "equal", "type": "string" }, { "const": "subset", "type": "string" } ] } }, "required": [ "child_term_id", "parent_term_id", "relation" ], "type": "object" }, "type": "array" }, "comparison_algorithm": { "minLength": 1, "type": "string" }, "parent_authority_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "proof_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "result": { "anyOf": [ { "const": "subset", "type": "string" } ] }, "schema": { "const": "runx.authority_subset_proof.v1", "type": "string" } }, "required": [ "parent_authority_ref", "comparison_algorithm", "result", "compared_terms", "checked_at" ], "type": "object", "x-runx-schema": "runx.authority_subset_proof.v1" }, { "type": "null" } ] } }, "required": [ "parent_authority_ref", "subset_proof" ], "type": "object" }, "authority_proof_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "enforcement": { "additionalProperties": false, "properties": { "execution_boundary": { "additionalProperties": false, "properties": { "kind": { "anyOf": [ { "const": "trusted_host_process", "type": "string" }, { "const": "deterministic_worker", "type": "string" }, { "const": "native_capability", "type": "string" }, { "const": "remote_provider", "type": "string" } ] } }, "required": [ "kind" ], "type": "object" }, "profile_hash": { "minLength": 1, "type": "string" }, "redaction_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "setup_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "teardown_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" } }, "required": [ "profile_hash" ], "type": "object" }, "grant_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "mandate_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "scope_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "terms": { "items": { "$id": "https://schemas.runx.ai/runx/authority/term/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "approvals": { "items": { "additionalProperties": false, "properties": { "approval_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "approved_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "approved_by_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "criterion_ids": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": [ "approval_ref" ], "type": "object" }, "type": "array" }, "bounds": { "additionalProperties": false, "properties": { "branch_patterns": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "deployment_environments": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "effect_limits": { "items": { "additionalProperties": false, "properties": { "approval_threshold_units": { "type": "integer" }, "authorization_form": { "anyOf": [ { "const": "single_use_capability", "type": "string" }, { "const": "external_signer", "type": "string" } ] }, "channels": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "commitment_required": { "type": "boolean" }, "family": { "minLength": 1, "type": "string" }, "idempotency_required": { "type": "boolean" }, "max_per_call_units": { "type": "integer" }, "max_per_period_units": { "type": "integer" }, "max_per_run_units": { "type": "integer" }, "operation": { "minLength": 1, "type": "string" }, "peer": { "minLength": 1, "type": "string" }, "period": { "minLength": 1, "type": "string" }, "preflight_required": { "type": "boolean" }, "preflight_ttl_ms": { "type": "integer" }, "realm": { "minLength": 1, "type": "string" }, "receipt_before_success": { "type": "boolean" }, "recovery_required": { "type": "boolean" }, "single_use_capability": { "type": "boolean" }, "unit": { "minLength": 1, "type": "string" } }, "required": [ "family", "unit", "channels" ], "type": "object" }, "type": "array" }, "effects": { "items": { "additionalProperties": false, "properties": { "family": { "minLength": 1, "type": "string" }, "guard_kinds": { "items": { "anyOf": [ { "const": "receipt_before_success", "type": "string" }, { "const": "non_replay", "type": "string" } ] }, "type": "array" }, "proof_kinds": { "items": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "type": "array" } }, "required": [ "family" ], "type": "object" }, "type": "array" }, "filesystem_roots": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "max_child_depth": { "type": "integer" }, "max_cost_units": { "type": "number" }, "max_fanout": { "type": "integer" }, "max_runtime_ms": { "type": "integer" }, "network_destinations": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "repo_path_globs": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "token_audiences": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "type": "object" }, "capabilities": { "items": { "anyOf": [ { "const": "filesystem_read", "type": "string" }, { "const": "filesystem_write", "type": "string" }, { "const": "network_egress", "type": "string" }, { "const": "secret_read", "type": "string" }, { "const": "process_spawn", "type": "string" }, { "const": "provider_mutation", "type": "string" }, { "const": "public_publication", "type": "string" }, { "const": "child_harness_spawn", "type": "string" }, { "const": "effect_single_use_capability", "type": "string" } ] }, "type": "array" }, "conditions": { "items": { "additionalProperties": false, "properties": { "condition_id": { "minLength": 1, "type": "string" }, "parameters": { "additionalProperties": {}, "type": "object" }, "predicate": { "anyOf": [ { "const": "signal_verified", "type": "string" }, { "const": "decision_selected", "type": "string" }, { "const": "host_posture_valid", "type": "string" }, { "const": "approval_present", "type": "string" }, { "const": "within_time_window", "type": "string" }, { "const": "within_budget", "type": "string" }, { "const": "effect_proof_present", "type": "string" }, { "const": "effect_recovery_available", "type": "string" } ] }, "refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" } }, "required": [ "condition_id", "predicate" ], "type": "object" }, "type": "array" }, "credential_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "expires_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "issued_by_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "principal_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "resource_family": { "anyOf": [ { "const": "github_repo", "type": "string" }, { "const": "workspace", "type": "string" }, { "const": "filesystem", "type": "string" }, { "const": "network", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "effect", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "publication", "type": "string" } ] }, "resource_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "schema": { "const": "runx.authority_term.v1", "type": "string" }, "term_id": { "minLength": 1, "type": "string" }, "verbs": { "items": { "anyOf": [ { "const": "read", "type": "string" }, { "const": "write", "type": "string" }, { "const": "comment", "type": "string" }, { "const": "review", "type": "string" }, { "const": "approve", "type": "string" }, { "const": "merge", "type": "string" }, { "const": "create", "type": "string" }, { "const": "update", "type": "string" }, { "const": "delete", "type": "string" }, { "const": "execute", "type": "string" }, { "const": "verify", "type": "string" }, { "const": "estimate", "type": "string" }, { "const": "prepare", "type": "string" }, { "const": "commit", "type": "string" }, { "const": "reverse", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "spawn_child", "type": "string" }, { "const": "revoke", "type": "string" } ] }, "type": "array" } }, "required": [ "term_id", "principal_ref", "resource_ref", "resource_family", "verbs", "bounds", "issued_by_ref" ], "type": "object", "x-runx-schema": "runx.authority_term.v1" }, "type": "array" } }, "required": [ "actor_ref", "attenuation", "enforcement" ], "type": "object" }, "canonicalization": { "minLength": 1, "type": "string" }, "class": { "anyOf": [ { "const": "executed", "type": "string" }, { "const": "mediated", "type": "string" } ] }, "created_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "decisions": { "items": { "$id": "https://schemas.runx.ai/runx/decision/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "artifact_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "choice": { "anyOf": [ { "const": "open", "type": "string" }, { "const": "continue", "type": "string" }, { "const": "spawn_child", "type": "string" }, { "const": "escalate", "type": "string" }, { "const": "defer", "type": "string" }, { "const": "close", "type": "string" }, { "const": "decline", "type": "string" }, { "const": "monitor", "type": "string" } ] }, "closure": { "anyOf": [ { "additionalProperties": false, "properties": { "closed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "disposition": { "anyOf": [ { "const": "closed", "type": "string" }, { "const": "deferred", "type": "string" }, { "const": "superseded", "type": "string" }, { "const": "declined", "type": "string" }, { "const": "blocked", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "killed", "type": "string" }, { "const": "timed_out", "type": "string" } ] }, "reason_code": { "minLength": 1, "type": "string" }, "summary": { "minLength": 1, "type": "string" } }, "required": [ "disposition", "reason_code", "summary", "closed_at" ], "type": "object" }, { "type": "null" } ] }, "decision_id": { "minLength": 1, "type": "string" }, "inputs": { "additionalProperties": false, "properties": { "opportunity_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "selection_ref": { "anyOf": [ { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, { "type": "null" } ] }, "signal_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "target_ref": { "anyOf": [ { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, { "type": "null" } ] } }, "required": [ "target_ref", "selection_ref" ], "type": "object" }, "justification": { "additionalProperties": false, "properties": { "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "summary": { "minLength": 1, "type": "string" } }, "required": [ "summary" ], "type": "object" }, "proposed_intent": { "additionalProperties": false, "properties": { "constraints": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "derived_from": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "legitimacy": { "minLength": 1, "type": "string" }, "purpose": { "minLength": 1, "type": "string" }, "success_criteria": { "items": { "additionalProperties": false, "properties": { "criterion_id": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "statement": { "minLength": 1, "type": "string" } }, "required": [ "criterion_id", "statement", "required" ], "type": "object" }, "type": "array" } }, "required": [ "purpose", "legitimacy" ], "type": "object" }, "schema": { "const": "runx.decision.v1", "type": "string" }, "selected_act_id": { "anyOf": [ { "minLength": 1, "type": "string" }, { "type": "null" } ] }, "selected_harness_ref": { "anyOf": [ { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, { "type": "null" } ] } }, "required": [ "decision_id", "choice", "inputs", "proposed_intent", "selected_act_id", "selected_harness_ref", "justification", "closure" ], "type": "object", "x-runx-schema": "runx.decision.v1" }, "type": "array" }, "digest": { "minLength": 1, "type": "string" }, "evidence": { "items": { "anyOf": [ { "additionalProperties": false, "properties": { "expected": { "additionalProperties": false, "properties": { "input_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "invocation_id": { "minLength": 1, "type": "string" }, "mediation": { "additionalProperties": false, "properties": { "currency": { "pattern": "^[A-Z]{3}$", "type": "string" }, "endpoint_url": { "maxLength": 2048, "pattern": "^https://[^\\s@/#?]+[^\\s#]*$", "type": "string" }, "expected_receipt_class": { "anyOf": [ { "const": "executed", "type": "string" } ] }, "listing_ref": { "maxLength": 512, "pattern": "^runx:listing:[^\\s]+$", "type": "string" }, "platform_fee_minor": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "prepared_price": { "additionalProperties": false, "properties": { "input_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "source_invocation_id": { "maxLength": 128, "minLength": 1, "type": "string" } }, "required": [ "source_invocation_id", "input_digest" ], "type": "object" }, "settlement_family": { "maxLength": 64, "minLength": 1, "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$", "type": "string" }, "vendor_amount_minor": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "vendor_offer_revision": { "additionalProperties": false, "properties": { "input_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "offer_id": { "minLength": 1, "type": "string" }, "output_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "revision_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" } }, "required": [ "offer_id", "revision", "revision_digest", "input_schema_digest", "output_schema_digest" ], "type": "object" }, "vendor_package_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" } }, "required": [ "listing_ref", "endpoint_url", "vendor_offer_revision", "vendor_package_digest", "vendor_amount_minor", "platform_fee_minor", "currency", "settlement_family", "expected_receipt_class" ], "type": "object" }, "offer_revision": { "$id": "https://schemas.runx.ai/runx/payment/offer-revision-ref/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "input_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "offer_id": { "minLength": 1, "type": "string" }, "output_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "revision_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "schema": { "const": "runx.payment.offer_revision_ref.v1", "type": "string" } }, "required": [ "offer_id", "revision", "revision_digest", "input_schema_digest", "output_schema_digest" ], "type": "object", "x-runx-schema": "runx.payment.offer_revision_ref.v1" }, "package_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "parent_binding": { "$id": "https://schemas.runx.ai/runx/payment/parent-invocation-binding/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "execution_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "invocation_id": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.payment.parent_invocation_binding.v1", "type": "string" } }, "required": [ "invocation_id", "execution_digest" ], "type": "object", "x-runx-schema": "runx.payment.parent_invocation_binding.v1" }, "vendor_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "const": "principal", "type": "string" }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" } }, "required": [ "invocation_id", "vendor_ref", "offer_revision", "package_digest", "input_digest" ], "type": "object" }, "receipt_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": { "const": "inner_receipt", "type": "string" } }, "required": [ "type", "receipt_ref", "expected" ], "type": "object" } ] }, "type": "array" }, "id": { "minLength": 1, "type": "string" }, "idempotency": { "additionalProperties": false, "properties": { "content_hash": { "minLength": 1, "type": "string" }, "intent_key": { "minLength": 1, "type": "string" }, "trigger_fingerprint": { "minLength": 1, "type": "string" } }, "required": [ "intent_key", "trigger_fingerprint", "content_hash" ], "type": "object" }, "issuer": { "additionalProperties": false, "properties": { "kid": { "minLength": 1, "type": "string" }, "public_key_sha256": { "minLength": 1, "type": "string" }, "type": { "anyOf": [ { "const": "local", "type": "string" }, { "const": "hosted", "type": "string" }, { "const": "ci", "type": "string" }, { "const": "verifier", "type": "string" } ] } }, "required": [ "type", "kid", "public_key_sha256" ], "type": "object" }, "lineage": { "additionalProperties": false, "properties": { "children": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "parent": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "previous": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "resume_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "sync": { "items": { "additionalProperties": false, "properties": { "branch_count": { "type": "integer" }, "branch_receipts": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "decision": { "anyOf": [ { "const": "proceed", "type": "string" }, { "const": "halt", "type": "string" }, { "const": "pause", "type": "string" }, { "const": "escalate", "type": "string" } ] }, "failure_count": { "type": "integer" }, "gate": { "additionalProperties": {}, "type": "object" }, "group_id": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "required_successes": { "type": "integer" }, "rule_fired": { "minLength": 1, "type": "string" }, "strategy": { "anyOf": [ { "const": "all", "type": "string" }, { "const": "any", "type": "string" }, { "const": "quorum", "type": "string" } ] }, "success_count": { "type": "integer" } }, "required": [ "group_id", "strategy", "decision", "rule_fired", "reason", "branch_count", "success_count", "failure_count", "required_successes" ], "type": "object" }, "type": "array" } }, "type": "object" }, "metadata": { "additionalProperties": {}, "type": "object" }, "schema": { "anyOf": [ { "const": "runx.receipt.v1", "type": "string" } ] }, "seal": { "additionalProperties": false, "properties": { "closed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "criteria": { "items": { "additionalProperties": false, "properties": { "criterion_id": { "minLength": 1, "type": "string" }, "evidence_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "status": { "anyOf": [ { "const": "verified", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "pending", "type": "string" }, { "const": "not_applicable", "type": "string" }, { "const": "unknown", "type": "string" } ] }, "summary": { "minLength": 1, "type": "string" }, "verification_refs": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" } }, "required": [ "criterion_id", "status" ], "type": "object" }, "type": "array" }, "disposition": { "anyOf": [ { "const": "closed", "type": "string" }, { "const": "deferred", "type": "string" }, { "const": "superseded", "type": "string" }, { "const": "declined", "type": "string" }, { "const": "blocked", "type": "string" }, { "const": "failed", "type": "string" }, { "const": "killed", "type": "string" }, { "const": "timed_out", "type": "string" } ] }, "last_observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "reason_code": { "minLength": 1, "type": "string" }, "summary": { "minLength": 1, "type": "string" } }, "required": [ "disposition", "reason_code", "summary", "closed_at", "last_observed_at" ], "type": "object" }, "signals": { "items": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" }, "type": "array" }, "signature": { "additionalProperties": false, "properties": { "alg": { "anyOf": [ { "const": "Ed25519", "type": "string" } ] }, "value": { "minLength": 1, "type": "string" } }, "required": [ "alg", "value" ], "type": "object" }, "subject": { "additionalProperties": false, "properties": { "commitments": { "items": { "additionalProperties": false, "properties": { "algorithm": { "anyOf": [ { "const": "sha256", "type": "string" } ] }, "canonicalization": { "minLength": 1, "type": "string" }, "scope": { "anyOf": [ { "const": "input", "type": "string" }, { "const": "output", "type": "string" }, { "const": "stdout", "type": "string" }, { "const": "stderr", "type": "string" }, { "const": "error", "type": "string" } ] }, "value": { "minLength": 1, "type": "string" } }, "required": [ "scope", "algorithm", "value", "canonicalization" ], "type": "object" }, "type": "array" }, "input_context": { "additionalProperties": false, "properties": { "preview": { "type": "string" }, "source": { "minLength": 1, "type": "string" }, "value_hash": { "minLength": 1, "type": "string" } }, "required": [ "source", "preview", "value_hash" ], "type": "object" }, "kind": { "minLength": 1, "type": "string" }, "paid_invocation": { "additionalProperties": false, "properties": { "input_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "invocation_id": { "minLength": 1, "type": "string" }, "mediation": { "additionalProperties": false, "properties": { "currency": { "pattern": "^[A-Z]{3}$", "type": "string" }, "endpoint_url": { "maxLength": 2048, "pattern": "^https://[^\\s@/#?]+[^\\s#]*$", "type": "string" }, "expected_receipt_class": { "anyOf": [ { "const": "executed", "type": "string" } ] }, "listing_ref": { "maxLength": 512, "pattern": "^runx:listing:[^\\s]+$", "type": "string" }, "platform_fee_minor": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "prepared_price": { "additionalProperties": false, "properties": { "input_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "source_invocation_id": { "maxLength": 128, "minLength": 1, "type": "string" } }, "required": [ "source_invocation_id", "input_digest" ], "type": "object" }, "settlement_family": { "maxLength": 64, "minLength": 1, "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$", "type": "string" }, "vendor_amount_minor": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "vendor_offer_revision": { "additionalProperties": false, "properties": { "input_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "offer_id": { "minLength": 1, "type": "string" }, "output_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "revision_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" } }, "required": [ "offer_id", "revision", "revision_digest", "input_schema_digest", "output_schema_digest" ], "type": "object" }, "vendor_package_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" } }, "required": [ "listing_ref", "endpoint_url", "vendor_offer_revision", "vendor_package_digest", "vendor_amount_minor", "platform_fee_minor", "currency", "settlement_family", "expected_receipt_class" ], "type": "object" }, "offer_revision": { "$id": "https://schemas.runx.ai/runx/payment/offer-revision-ref/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "input_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "offer_id": { "minLength": 1, "type": "string" }, "output_schema_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "revision": { "minLength": 1, "type": "string" }, "revision_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "schema": { "const": "runx.payment.offer_revision_ref.v1", "type": "string" } }, "required": [ "offer_id", "revision", "revision_digest", "input_schema_digest", "output_schema_digest" ], "type": "object", "x-runx-schema": "runx.payment.offer_revision_ref.v1" }, "package_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "parent_binding": { "$id": "https://schemas.runx.ai/runx/payment/parent-invocation-binding/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "execution_digest": { "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "invocation_id": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.payment.parent_invocation_binding.v1", "type": "string" } }, "required": [ "invocation_id", "execution_digest" ], "type": "object", "x-runx-schema": "runx.payment.parent_invocation_binding.v1" }, "vendor_ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "const": "principal", "type": "string" }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" } }, "required": [ "invocation_id", "vendor_ref", "offer_revision", "package_digest", "input_digest" ], "type": "object" }, "ref": { "$id": "https://schemas.runx.ai/runx/reference/v1.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "label": { "minLength": 1, "type": "string" }, "locator": { "minLength": 1, "type": "string" }, "observed_at": { "minLength": 1, "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?Z$", "type": "string" }, "proof_kind": { "anyOf": [ { "const": "effect_evidence", "type": "string" }, { "const": "effect_finality", "type": "string" }, { "const": "credential_resolution", "type": "string" } ] }, "provider": { "minLength": 1, "type": "string" }, "schema": { "const": "runx.reference.v1", "type": "string" }, "type": { "anyOf": [ { "const": "github_issue", "type": "string" }, { "const": "github_pull_request", "type": "string" }, { "const": "github_repo", "type": "string" }, { "const": "slack_thread", "type": "string" }, { "const": "sentry_event", "type": "string" }, { "const": "provider_thread", "type": "string" }, { "const": "provider_event", "type": "string" }, { "const": "provider_comment", "type": "string" }, { "const": "tracking_item", "type": "string" }, { "const": "change_request", "type": "string" }, { "const": "repository", "type": "string" }, { "const": "support_ticket", "type": "string" }, { "const": "signal", "type": "string" }, { "const": "act", "type": "string" }, { "const": "receipt", "type": "string" }, { "const": "graph_receipt", "type": "string" }, { "const": "artifact", "type": "string" }, { "const": "verification", "type": "string" }, { "const": "harness", "type": "string" }, { "const": "host", "type": "string" }, { "const": "deployment", "type": "string" }, { "const": "surface", "type": "string" }, { "const": "target", "type": "string" }, { "const": "opportunity", "type": "string" }, { "const": "thesis_assessment", "type": "string" }, { "const": "selection", "type": "string" }, { "const": "skill_binding", "type": "string" }, { "const": "target_transition_entry", "type": "string" }, { "const": "selection_cycle", "type": "string" }, { "const": "decision", "type": "string" }, { "const": "reflection_entry", "type": "string" }, { "const": "feed_entry", "type": "string" }, { "const": "principal", "type": "string" }, { "const": "authority_proof", "type": "string" }, { "const": "scope_admission", "type": "string" }, { "const": "grant", "type": "string" }, { "const": "mandate", "type": "string" }, { "const": "credential", "type": "string" }, { "const": "webhook_delivery", "type": "string" }, { "const": "redaction_policy", "type": "string" }, { "const": "external_url", "type": "string" } ] }, "uri": { "minLength": 1, "type": "string" } }, "required": [ "type", "uri" ], "type": "object", "x-runx-schema": "runx.reference.v1" } }, "required": [ "kind", "ref" ], "type": "object" } }, "required": [ "schema", "id", "created_at", "canonicalization", "issuer", "signature", "digest", "idempotency", "class", "subject", "authority", "seal" ], "type": "object", "x-runx-packet": true, "x-runx-schema": "runx.receipt.v1" }