@openplanr/protocol 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +82 -0
- package/lib/dashboard/closed-json-contract.mjs +141 -0
- package/lib/dashboard/generated/operate-experience-surface-schema-data.mjs +67 -0
- package/lib/dashboard/generated/operate-review-schema-data.mjs +35 -0
- package/lib/dashboard/generated/operate-schema-token-codec.mjs +127 -0
- package/lib/dashboard/operate-experience-audit-display-contract.d.mts +196 -0
- package/lib/dashboard/operate-experience-audit-display-contract.mjs +700 -0
- package/lib/dashboard/operate-experience-display-contract.d.mts +572 -0
- package/lib/dashboard/operate-experience-display-contract.mjs +1007 -0
- package/lib/dashboard/operate-experience-surface-contract.d.mts +157 -0
- package/lib/dashboard/operate-experience-surface-contract.mjs +91 -0
- package/lib/dashboard/operate-review-contract.d.mts +34 -0
- package/lib/dashboard/operate-review-contract.mjs +175 -0
- package/lib/dashboard/operate-review-display-workspace-contract.d.mts +54 -0
- package/lib/dashboard/operate-review-display-workspace-contract.mjs +258 -0
- package/lib/dashboard/operate-review-payload-safety.d.mts +7 -0
- package/lib/dashboard/operate-review-payload-safety.mjs +42 -0
- package/lib/dashboard/operate-review-workspace-projection-v2.d.mts +218 -0
- package/lib/protocol/index.d.ts +2638 -0
- package/package.json +115 -0
- package/registries/commands.json +1952 -0
- package/registries/diagram-grammars.json +2407 -0
- package/registries/diagram-semantic-patterns.json +111 -0
- package/registries/output-paths.json +40 -0
- package/registries/outputs.json +864 -0
- package/registries/roles.json +661 -0
- package/registries/rules.json +261 -0
- package/registries/skill-host-profiles.json +247 -0
- package/registries/skill-modules.json +1112 -0
- package/registries/skill-routing.json +389 -0
- package/registries/skills.json +1545 -0
- package/registries/task-kinds.json +220 -0
- package/registry/adapters.json +110 -0
- package/registry/artifact-theme.json +60 -0
- package/registry/evaluation-graders.json +303 -0
- package/registry/evaluation-host-profiles.json +131 -0
- package/registry/frozen-commands.json +15 -0
- package/registry/landing-operations.json +20 -0
- package/registry/landing-workflows.json +70 -0
- package/registry/live-evidence-providers.json +1 -0
- package/registry/operate-v2-contracts.json +5965 -0
- package/registry/professional-skills.json +115 -0
- package/registry/roles.json +14 -0
- package/registry/ship-review-specialists.json +42 -0
- package/schemas/v1.0.0/design-approved.schema.json +35 -0
- package/schemas/v1.0.0/design-feedback.schema.json +169 -0
- package/schemas/v1.0.0/design-manifest.schema.json +90 -0
- package/schemas/v1.0.0/design-session.schema.json +73 -0
- package/schemas/v1.0.0/graph.schema.json +100 -0
- package/schemas/v1.0.0/pipeline-shipped.schema.json +154 -0
- package/schemas/v1.0.0/run-manifest.schema.json +81 -0
- package/schemas/v1.0.0/spec.schema.json +120 -0
- package/schemas/v1.0.0/stack.schema.json +184 -0
- package/schemas/v1.0.0/story.schema.json +95 -0
- package/schemas/v1.0.0/task.schema.json +171 -0
- package/schemas/v1.0.0/taste-profile.schema.json +96 -0
- package/schemas/v1.1.0/adapter-registry.schema.json +72 -0
- package/schemas/v1.1.0/artifact-envelope.schema.json +142 -0
- package/schemas/v1.1.0/artifact-paste.schema.json +49 -0
- package/schemas/v1.1.0/artifact-review.schema.json +97 -0
- package/schemas/v1.1.0/artifact-room-descriptor.schema.json +39 -0
- package/schemas/v1.1.0/artifact-room-event.schema.json +184 -0
- package/schemas/v1.1.0/artifact-room-signed-event.schema.json +58 -0
- package/schemas/v1.1.0/artifact-theme.schema.json +139 -0
- package/schemas/v1.1.0/browser-qa-gate.schema.json +21 -0
- package/schemas/v1.1.0/browser-qa-result.schema.json +24 -0
- package/schemas/v1.1.0/browser-qa-session.schema.json +12 -0
- package/schemas/v1.1.0/ecosystem-manifest.schema.json +46 -0
- package/schemas/v1.1.0/investigation-diagnosis.schema.json +12 -0
- package/schemas/v1.1.0/investigation-event.schema.json +15 -0
- package/schemas/v1.1.0/investigation-experiment.schema.json +17 -0
- package/schemas/v1.1.0/investigation-fix.schema.json +11 -0
- package/schemas/v1.1.0/investigation-hypothesis.schema.json +6 -0
- package/schemas/v1.1.0/investigation-observation.schema.json +10 -0
- package/schemas/v1.1.0/investigation-receipt.schema.json +7 -0
- package/schemas/v1.1.0/investigation-record.schema.json +7 -0
- package/schemas/v1.1.0/investigation-request.schema.json +34 -0
- package/schemas/v1.1.0/planning-review-event.schema.json +64 -0
- package/schemas/v1.1.0/planning-review-receipt.schema.json +19 -0
- package/schemas/v1.1.0/planning-review-record.schema.json +176 -0
- package/schemas/v1.1.0/planning-review-state.schema.json +19 -0
- package/schemas/v1.1.0/professional-skills.schema.json +105 -0
- package/schemas/v1.1.0/professional-specification.schema.json +111 -0
- package/schemas/v1.1.0/provenance-event.schema.json +82 -0
- package/schemas/v1.1.0/role-registry.schema.json +28 -0
- package/schemas/v1.1.0/runtime-lock.schema.json +39 -0
- package/schemas/v1.1.0/ship-closure.schema.json +353 -0
- package/schemas/v1.1.0/ship-review-specialist-registry.schema.json +29 -0
- package/schemas/v1.1.0/ship-risk-classification.schema.json +48 -0
- package/schemas/v1.1.0/specialist-review-result.schema.json +19 -0
- package/schemas/v1.10.0/design-review-bundle.schema.json +584 -0
- package/schemas/v1.10.0/design-review-context.schema.json +191 -0
- package/schemas/v1.10.0/design-review-handoff.schema.json +407 -0
- package/schemas/v1.10.0/design-review-metadata-payload.schema.json +106 -0
- package/schemas/v1.11.0/design-review-metadata-payload.schema.json +107 -0
- package/schemas/v1.12.0/enterprise-access-context.schema.json +217 -0
- package/schemas/v1.12.0/enterprise-agent-handoff.schema.json +508 -0
- package/schemas/v1.12.0/enterprise-artifact-revision.schema.json +87 -0
- package/schemas/v1.12.0/enterprise-change-proposal.schema.json +359 -0
- package/schemas/v1.12.0/enterprise-evidence-reference.schema.json +147 -0
- package/schemas/v1.12.0/enterprise-review-thread.schema.json +278 -0
- package/schemas/v1.12.0/enterprise-sync-state.schema.json +169 -0
- package/schemas/v1.2.0/adapter-registry.schema.json +83 -0
- package/schemas/v1.2.0/dashboard-bootstrap.schema.json +219 -0
- package/schemas/v1.2.0/ecosystem-release-operation.schema.json +90 -0
- package/schemas/v1.2.0/ecosystem-saga.schema.json +54 -0
- package/schemas/v1.2.0/evidence-diagnostic.schema.json +77 -0
- package/schemas/v1.2.0/guided-answer-envelope.schema.json +73 -0
- package/schemas/v1.2.0/guided-confirmation.schema.json +128 -0
- package/schemas/v1.2.0/guided-question.schema.json +242 -0
- package/schemas/v1.2.0/guided-questionnaire.schema.json +278 -0
- package/schemas/v1.2.0/guided-session.schema.json +141 -0
- package/schemas/v1.2.0/landing-confirmation.schema.json +17 -0
- package/schemas/v1.2.0/landing-event.schema.json +12 -0
- package/schemas/v1.2.0/landing-operation-registry.schema.json +16 -0
- package/schemas/v1.2.0/landing-phase-receipt.schema.json +19 -0
- package/schemas/v1.2.0/landing-plan.schema.json +36 -0
- package/schemas/v1.2.0/landing-receipt.schema.json +12 -0
- package/schemas/v1.2.0/landing-workflow-catalog.schema.json +143 -0
- package/schemas/v1.2.0/operate-action-display-workspace.schema.json +119 -0
- package/schemas/v1.2.0/operate-cycle-display-workspace.schema.json +109 -0
- package/schemas/v1.2.0/operate-executive-board-display-surface.schema.json +72 -0
- package/schemas/v1.2.0/operate-experience-audit-display-surface.schema.json +328 -0
- package/schemas/v1.2.0/operate-experience-display-surface.schema.json +46 -0
- package/schemas/v1.2.0/operate-experience-surface.schema.json +590 -0
- package/schemas/v1.2.0/operate-recovery-display-surface.schema.json +85 -0
- package/schemas/v1.2.0/structured-action.schema.json +91 -0
- package/schemas/v1.3.0/adapter-registry.schema.json +84 -0
- package/schemas/v1.3.0/ecosystem-manifest.schema.json +120 -0
- package/schemas/v1.3.0/release-compatibility-claim.schema.json +46 -0
- package/schemas/v1.3.0/release-ledger-receipt.schema.json +45 -0
- package/schemas/v1.3.0/release-ledger.schema.json +60 -0
- package/schemas/v1.4.0/adapter-registry.schema.json +62 -0
- package/schemas/v1.4.0/evaluation-aggregate-report.schema.json +166 -0
- package/schemas/v1.4.0/evaluation-budget.schema.json +49 -0
- package/schemas/v1.4.0/evaluation-corpus.schema.json +93 -0
- package/schemas/v1.4.0/evaluation-fixture.schema.json +64 -0
- package/schemas/v1.4.0/evaluation-gate-policy.schema.json +33 -0
- package/schemas/v1.4.0/evaluation-grader-registration.schema.json +141 -0
- package/schemas/v1.4.0/evaluation-grader-registry.schema.json +20 -0
- package/schemas/v1.4.0/evaluation-host-profile-registry.schema.json +20 -0
- package/schemas/v1.4.0/evaluation-host-profile.schema.json +73 -0
- package/schemas/v1.4.0/evaluation-observation.schema.json +76 -0
- package/schemas/v1.4.0/evaluation-run-result.schema.json +84 -0
- package/schemas/v1.4.0/evaluation-scenario.schema.json +231 -0
- package/schemas/v1.4.0/evaluation-waiver.schema.json +65 -0
- package/schemas/v1.4.0/skill-certification-receipt.schema.json +103 -0
- package/schemas/v1.5.0/command-catalog.schema.json +296 -0
- package/schemas/v1.5.0/common.schema.json +261 -0
- package/schemas/v1.5.0/generated-asset-manifest.schema.json +313 -0
- package/schemas/v1.5.0/implementation-result.schema.json +152 -0
- package/schemas/v1.5.0/migration-preservation-manifest.schema.json +749 -0
- package/schemas/v1.5.0/output-catalog.schema.json +210 -0
- package/schemas/v1.5.0/output-path-catalog.schema.json +81 -0
- package/schemas/v1.5.0/role-registry.schema.json +261 -0
- package/schemas/v1.5.0/rule-catalog.schema.json +130 -0
- package/schemas/v1.5.0/skill-catalog.schema.json +303 -0
- package/schemas/v1.5.0/task-kind-registry.schema.json +167 -0
- package/schemas/v1.5.0/task-manifest.schema.json +373 -0
- package/schemas/v1.5.0/task-output-manifest.schema.json +462 -0
- package/schemas/v1.6.0/common.schema.json +462 -0
- package/schemas/v1.6.0/diagram-consumer-reference.schema.json +167 -0
- package/schemas/v1.6.0/diagram-document.schema.json +699 -0
- package/schemas/v1.6.0/diagram-fidelity-report.schema.json +137 -0
- package/schemas/v1.6.0/diagram-manifest.schema.json +162 -0
- package/schemas/v1.6.0/diagram-quality-report.schema.json +148 -0
- package/schemas/v1.6.0/diagram-review-binding.schema.json +132 -0
- package/schemas/v1.6.0/diagram-semantic-pattern-registry.schema.json +90 -0
- package/schemas/v1.6.0/diagram-type-registry.schema.json +373 -0
- package/schemas/v1.6.0/generated-asset-manifest.schema.json +103 -0
- package/schemas/v1.6.0/skill-catalog.schema.json +84 -0
- package/schemas/v1.6.0/skill-completion-receipt.schema.json +72 -0
- package/schemas/v1.6.0/skill-consent-record.schema.json +74 -0
- package/schemas/v1.6.0/skill-host-profile-registry.schema.json +526 -0
- package/schemas/v1.6.0/skill-learning-record.schema.json +116 -0
- package/schemas/v1.6.0/skill-module-registry.schema.json +108 -0
- package/schemas/v1.6.0/skill-routing-registry.schema.json +93 -0
- package/schemas/v1.6.0/skill-session.schema.json +73 -0
- package/schemas/v1.6.0/skill-source.schema.json +169 -0
- package/schemas/v1.7.0/common.schema.json +464 -0
- package/schemas/v1.7.0/generated-asset-manifest.schema.json +103 -0
- package/schemas/v1.7.0/planning-id-sequence.schema.json +50 -0
- package/schemas/v1.7.0/request-authority.schema.json +71 -0
- package/schemas/v1.7.0/skill-catalog.schema.json +84 -0
- package/schemas/v1.7.0/skill-completion-receipt.schema.json +72 -0
- package/schemas/v1.7.0/skill-consent-record.schema.json +74 -0
- package/schemas/v1.7.0/skill-host-profile-registry.schema.json +526 -0
- package/schemas/v1.7.0/skill-learning-record.schema.json +116 -0
- package/schemas/v1.7.0/skill-module-registry.schema.json +108 -0
- package/schemas/v1.7.0/skill-routing-registry.schema.json +93 -0
- package/schemas/v1.7.0/skill-session.schema.json +73 -0
- package/schemas/v1.7.0/skill-source.schema.json +169 -0
- package/schemas/v1.7.0/spec.schema.json +117 -0
- package/schemas/v1.7.0/story.schema.json +107 -0
- package/schemas/v1.7.0/task.schema.json +217 -0
- package/schemas/v1.8.0/common.schema.json +96 -0
- package/schemas/v1.8.0/skill-package.schema.json +63 -0
- package/schemas/v1.8.0/utility-command-catalog.schema.json +82 -0
- package/schemas/v1.9.0/design-document.schema.json +306 -0
- package/schemas/v1.9.0/design-review-bundle.schema.json +346 -0
- package/schemas/v1.9.0/design-review-workspace.schema.json +108 -0
- package/schemas/v1.9.0/design-workspace-create.schema.json +170 -0
- package/schemas/v1.9.0/design-workspace-event.schema.json +97 -0
- package/schemas/v1.9.0/design-workspace-revision.schema.json +56 -0
- package/schemas/v2.0.0/agent-runtime-manifest.schema.json +59 -0
- package/schemas/v2.0.0/business-operating-snapshot-projection.schema.json +14 -0
- package/schemas/v2.0.0/operate-allowed-action.schema.json +181 -0
- package/schemas/v2.0.0/operate-api-envelope.schema.json +225 -0
- package/schemas/v2.0.0/operate-capability-provider-registration.schema.json +30 -0
- package/schemas/v2.0.0/operate-domain-registration.schema.json +284 -0
- package/schemas/v2.0.0/operate-evidence-provider-registration.schema.json +55 -0
- package/schemas/v2.0.0/operate-evidence-resolver-registration.schema.json +46 -0
- package/schemas/v2.0.0/operate-executor-registration.schema.json +27 -0
- package/schemas/v2.0.0/operate-experience-live-patch.schema.json +47 -0
- package/schemas/v2.0.0/operate-experience-preview.schema.json +51 -0
- package/schemas/v2.0.0/operate-experience-view.schema.json +281 -0
- package/schemas/v2.0.0/operate-live-evidence-provider-registration.schema.json +48 -0
- package/schemas/v2.0.0/operate-live-evidence-provider-registry.schema.json +17 -0
- package/schemas/v2.0.0/operate-metric-provider-registration.schema.json +12 -0
- package/schemas/v2.0.0/operate-policy-provider-registration.schema.json +33 -0
- package/schemas/v2.0.0/operate-review-bound-submission.schema.json +29 -0
- package/schemas/v2.0.0/operate-review-display-workspace.schema.json +390 -0
- package/schemas/v2.0.0/operate-snapshot-provider-registration.schema.json +16 -0
- package/schemas/v2.0.0/operate-tool-call.schema.json +172 -0
- package/schemas/v2.0.0/operate-verification-provider-registration.schema.json +12 -0
- package/schemas/v2.0.0/operating-action-policy.schema.json +31 -0
- package/schemas/v2.0.0/operating-action-verification-plan.schema.json +13 -0
- package/schemas/v2.0.0/operating-action.schema.json +86 -0
- package/schemas/v2.0.0/operating-advisor-result.schema.json +394 -0
- package/schemas/v2.0.0/operating-approval-record.schema.json +23 -0
- package/schemas/v2.0.0/operating-approval-requirement.schema.json +31 -0
- package/schemas/v2.0.0/operating-artifact.schema.json +52 -0
- package/schemas/v2.0.0/operating-assignment.schema.json +437 -0
- package/schemas/v2.0.0/operating-assumption.schema.json +16 -0
- package/schemas/v2.0.0/operating-capability-availability.schema.json +15 -0
- package/schemas/v2.0.0/operating-capability-grant.schema.json +14 -0
- package/schemas/v2.0.0/operating-challenger-review.schema.json +204 -0
- package/schemas/v2.0.0/operating-checkpoint.schema.json +43 -0
- package/schemas/v2.0.0/operating-claim.schema.json +17 -0
- package/schemas/v2.0.0/operating-connector-checkpoint.schema.json +28 -0
- package/schemas/v2.0.0/operating-context-capture.schema.json +74 -0
- package/schemas/v2.0.0/operating-cycle-input-binding.schema.json +30 -0
- package/schemas/v2.0.0/operating-cycle.schema.json +42 -0
- package/schemas/v2.0.0/operating-decision-ledger.schema.json +237 -0
- package/schemas/v2.0.0/operating-decision.schema.json +137 -0
- package/schemas/v2.0.0/operating-delivery-evidence.schema.json +46 -0
- package/schemas/v2.0.0/operating-delivery-route.schema.json +43 -0
- package/schemas/v2.0.0/operating-delta.schema.json +13 -0
- package/schemas/v2.0.0/operating-domain-projection.schema.json +15 -0
- package/schemas/v2.0.0/operating-event-trigger.schema.json +11 -0
- package/schemas/v2.0.0/operating-event.schema.json +505 -0
- package/schemas/v2.0.0/operating-evidence-candidate.schema.json +88 -0
- package/schemas/v2.0.0/operating-evidence-edge.schema.json +39 -0
- package/schemas/v2.0.0/operating-evidence-graph.schema.json +25 -0
- package/schemas/v2.0.0/operating-evidence-observation.schema.json +48 -0
- package/schemas/v2.0.0/operating-evidence-ref.schema.json +51 -0
- package/schemas/v2.0.0/operating-evidence-resolution.schema.json +54 -0
- package/schemas/v2.0.0/operating-execution-result.schema.json +23 -0
- package/schemas/v2.0.0/operating-executive-board.schema.json +78 -0
- package/schemas/v2.0.0/operating-finding.schema.json +116 -0
- package/schemas/v2.0.0/operating-governed-operation.schema.json +54 -0
- package/schemas/v2.0.0/operating-intelligence-input-bundle.schema.json +128 -0
- package/schemas/v2.0.0/operating-intelligence-plan.schema.json +302 -0
- package/schemas/v2.0.0/operating-learning-receipt.schema.json +31 -0
- package/schemas/v2.0.0/operating-learning.schema.json +13 -0
- package/schemas/v2.0.0/operating-live-evidence-consent-record.schema.json +42 -0
- package/schemas/v2.0.0/operating-live-evidence-ingestion.schema.json +31 -0
- package/schemas/v2.0.0/operating-measurement-plan.schema.json +18 -0
- package/schemas/v2.0.0/operating-measurement-schedule-receipt.schema.json +7 -0
- package/schemas/v2.0.0/operating-measurement-schedule.schema.json +16 -0
- package/schemas/v2.0.0/operating-metric-observation.schema.json +15 -0
- package/schemas/v2.0.0/operating-metric.schema.json +18 -0
- package/schemas/v2.0.0/operating-model-state.schema.json +36 -0
- package/schemas/v2.0.0/operating-objective.schema.json +21 -0
- package/schemas/v2.0.0/operating-origin.schema.json +31 -0
- package/schemas/v2.0.0/operating-outcome-evaluation.schema.json +46 -0
- package/schemas/v2.0.0/operating-outcome.schema.json +13 -0
- package/schemas/v2.0.0/operating-planning-proposal.schema.json +45 -0
- package/schemas/v2.0.0/operating-policy-evaluation.schema.json +28 -0
- package/schemas/v2.0.0/operating-review-read.schema.json +217 -0
- package/schemas/v2.0.0/operating-review-receipt.schema.json +64 -0
- package/schemas/v2.0.0/operating-review.schema.json +47 -0
- package/schemas/v2.0.0/operating-risk.schema.json +96 -0
- package/schemas/v2.0.0/operating-rollback-plan.schema.json +10 -0
- package/schemas/v2.0.0/operating-rollback-result.schema.json +20 -0
- package/schemas/v2.0.0/operating-runtime-state.schema.json +289 -0
- package/schemas/v2.0.0/operating-scenario.schema.json +13 -0
- package/schemas/v2.0.0/operating-snapshot.schema.json +38 -0
- package/schemas/v2.0.0/operating-submission.schema.json +34 -0
- package/schemas/v2.0.0/operating-trace-matrix.schema.json +176 -0
- package/schemas/v2.0.0/operating-work-change-set.schema.json +89 -0
- package/schemas/v2.0.0/operating-work-ledger.schema.json +40 -0
- package/schemas/v2.0.0/software-operating-snapshot-projection.schema.json +14 -0
- package/src/browser-contracts.d.mts +5 -0
- package/src/browser-contracts.mjs +40 -0
- package/src/canonical-json.d.mts +5 -0
- package/src/canonical-json.mjs +142 -0
- package/src/compat/live-evidence-v2.mjs +1019 -0
- package/src/compat/operate-experience-live-patch.mjs +66 -0
- package/src/compat/operating-planning-contracts.mjs +114 -0
- package/src/contracts.d.mts +42 -0
- package/src/contracts.mjs +990 -0
- package/src/design-contracts.d.mts +62 -0
- package/src/design-contracts.mjs +186 -0
- package/src/design-publication-contracts.d.mts +4 -0
- package/src/design-publication-contracts.mjs +85 -0
- package/src/diagram-contracts.d.mts +19 -0
- package/src/diagram-contracts.mjs +28 -0
- package/src/enterprise-contracts.d.mts +107 -0
- package/src/enterprise-contracts.mjs +463 -0
- package/src/errors.d.mts +11 -0
- package/src/errors.mjs +109 -0
- package/src/generated/canonical-registries.mjs +5554 -0
- package/src/generated/contract-catalog-v2.mjs +7076 -0
- package/src/generated/diagram-registries.mjs +2529 -0
- package/src/index.d.mts +10 -0
- package/src/index.mjs +40 -0
- package/src/json-schema.d.mts +7 -0
- package/src/json-schema.mjs +283 -0
- package/src/planning-contracts.d.mts +10 -0
- package/src/planning-contracts.mjs +53 -0
- package/src/registries.d.mts +40 -0
- package/src/registries.mjs +261 -0
- package/src/review-experience-contracts.d.mts +11 -0
- package/src/review-experience-contracts.mjs +103 -0
- package/src/semver.d.mts +2 -0
- package/src/semver.mjs +7 -0
- package/src/skill-source-contracts.d.mts +25 -0
- package/src/skill-source-contracts.mjs +105 -0
- package/src/task-contracts.d.mts +7 -0
- package/src/task-contracts.mjs +130 -0
- package/src/workspace-contracts.d.mts +26 -0
- package/src/workspace-contracts.mjs +83 -0
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openplanr.dev/schemas/v2.0.0/operating-event.schema.json",
|
|
4
|
+
"x-openplanr-contract": { "id": "operating-event", "version": "2.0.0" },
|
|
5
|
+
"title": "OpenPlanr Operate 2.0 operating event",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["kind", "schemaVersion", "protocolVersion", "eventId", "sequence", "timestamp", "cycleId", "type", "entityId", "actor", "causationId", "correlationId", "previousEventHash", "payload", "eventHash"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"kind": { "const": "operating-event" },
|
|
11
|
+
"schemaVersion": { "const": "1.0.0" },
|
|
12
|
+
"protocolVersion": { "const": "2.0.0" },
|
|
13
|
+
"eventId": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1,
|
|
16
|
+
"maxLength": 128,
|
|
17
|
+
"description": "Durable Event identity. Reuse is permitted only for an identical canonical Event retry; divergent content fails closed."
|
|
18
|
+
},
|
|
19
|
+
"sequence": { "type": "integer", "minimum": 1 },
|
|
20
|
+
"timestamp": { "type": "string", "format": "date-time" },
|
|
21
|
+
"cycleId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
22
|
+
"type": { "type": "string", "enum": ["planning-delivery.ingested", "cycle.input-bound", "assignment.created", "assignment.available", "assignment.claimed", "assignment.started", "assignment.submitted", "artifact.created", "assignment.validated", "assignment.rejected", "assignment.abandoned", "assignment.failed", "executive-board.materialized", "review.created", "review.submitted", "work-change-set.materialized", "action.authority-promoted", "evidence.resolved", "evidence.rejected", "operating-state.materialized", "snapshot.materialized", "metric.observed", "claim.recorded", "finding.recorded", "risk.recorded", "assumption.recorded", "decision.revised", "delta.derived", "intelligence.plan-recorded", "decision-ledger.materialized", "verification.plan-recorded", "outcome.recorded", "learning.recorded", "scenario.recorded", "trigger.recorded", "domain-projection.rebuilt", "policy.evaluated", "approval.recorded", "capability.availability-recorded", "capability.granted", "operation.intent-recorded", "execution.result-recorded", "rollback.plan-recorded", "rollback.result-recorded", "action.approved", "action.cancelled", "action.rejected", "action.deferred", "action.reopened", "action.queued", "action.started", "action.completed", "action.blocked", "cycle.approved", "cycle.executing", "cycle.verifying", "cycle.closed"] },
|
|
23
|
+
"entityId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
24
|
+
"actor": {
|
|
25
|
+
"type": "object", "additionalProperties": false, "required": ["kind", "id"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"kind": { "type": "string", "enum": ["human", "engine", "runtime"] },
|
|
28
|
+
"id": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"causationId": { "type": ["string", "null"], "maxLength": 128 },
|
|
32
|
+
"correlationId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
33
|
+
"previousEventHash": { "type": ["string", "null"], "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
34
|
+
"requestHash": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
37
|
+
"description": "Canonical hash of a closed runtime-owned request and draft. Intelligence Events require it so an Event identity can replay only the exact request."
|
|
38
|
+
},
|
|
39
|
+
"payload": {},
|
|
40
|
+
"eventHash": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
43
|
+
"description": "SHA-256 JCS digest of the complete Event content excluding this field; it is the canonical same-content comparison for Event identity replay."
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"oneOf": [
|
|
47
|
+
{ "title": "planning-delivery.ingested", "required": ["requestHash"], "properties": { "type": { "const": "planning-delivery.ingested" }, "payload": { "$ref": "#/$defs/planningDeliveryIngested" } } },
|
|
48
|
+
{ "title": "cycle.input-bound", "properties": { "type": { "const": "cycle.input-bound" }, "payload": { "$ref": "#/$defs/inputBound" } } },
|
|
49
|
+
{ "title": "assignment.created", "properties": { "type": { "const": "assignment.created" }, "payload": { "allOf": [{ "$ref": "operating-assignment.schema.json" }, { "properties": { "state": { "const": "pending" }, "availableAt": { "const": null }, "completedAt": { "const": null }, "claim": { "const": null } } }] } } },
|
|
50
|
+
{ "title": "assignment.available", "properties": { "type": { "const": "assignment.available" }, "payload": { "$ref": "#/$defs/assignmentAvailable" } } },
|
|
51
|
+
{ "title": "assignment.claimed", "properties": { "type": { "const": "assignment.claimed" }, "payload": { "$ref": "#/$defs/assignmentClaimed" } } },
|
|
52
|
+
{ "title": "assignment.started", "properties": { "type": { "const": "assignment.started" }, "payload": { "$ref": "#/$defs/assignmentStarted" } } },
|
|
53
|
+
{ "title": "assignment.submitted", "properties": { "type": { "const": "assignment.submitted" }, "payload": { "$ref": "#/$defs/assignmentSubmitted" } } },
|
|
54
|
+
{ "title": "artifact.created", "properties": { "type": { "const": "artifact.created" }, "payload": { "$ref": "operating-artifact.schema.json" } } },
|
|
55
|
+
{ "title": "assignment.validated", "properties": { "type": { "const": "assignment.validated" }, "payload": { "$ref": "#/$defs/assignmentValidated" } } },
|
|
56
|
+
{ "title": "assignment.rejected", "properties": { "type": { "const": "assignment.rejected" }, "payload": { "$ref": "#/$defs/assignmentRejected" } } },
|
|
57
|
+
{ "title": "assignment.abandoned", "properties": { "type": { "const": "assignment.abandoned" }, "payload": { "$ref": "#/$defs/assignmentAbandoned" } } },
|
|
58
|
+
{ "title": "assignment.failed", "properties": { "type": { "const": "assignment.failed" }, "payload": { "$ref": "#/$defs/assignmentFailed" } } },
|
|
59
|
+
{
|
|
60
|
+
"title": "executive-board.materialized",
|
|
61
|
+
"properties": {
|
|
62
|
+
"type": { "const": "executive-board.materialized" },
|
|
63
|
+
"payload": {
|
|
64
|
+
"allOf": [
|
|
65
|
+
{ "$ref": "operating-executive-board.schema.json" },
|
|
66
|
+
{
|
|
67
|
+
"properties": {
|
|
68
|
+
"projectionMode": { "const": "materialized" },
|
|
69
|
+
"authoritativeForMutation": { "const": true },
|
|
70
|
+
"materializedEventId": { "type": "string" }
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{ "title": "review.created", "properties": { "type": { "const": "review.created" }, "payload": { "allOf": [{ "$ref": "operating-review.schema.json" }, { "properties": { "state": { "const": "pending" }, "disposition": { "const": null } } }] } } },
|
|
78
|
+
{ "title": "review.submitted", "properties": { "type": { "const": "review.submitted" }, "payload": { "$ref": "#/$defs/reviewSubmitted" } } },
|
|
79
|
+
{ "title": "work-change-set.materialized", "properties": { "type": { "const": "work-change-set.materialized" }, "payload": { "$ref": "#/$defs/workChangeSetMaterialized" } } },
|
|
80
|
+
{ "title": "action.authority-promoted", "required": ["requestHash"], "properties": { "type": { "const": "action.authority-promoted" }, "payload": { "$ref": "#/$defs/actionAuthorityPromoted" } } },
|
|
81
|
+
{ "title": "evidence.resolved", "properties": { "type": { "const": "evidence.resolved" }, "payload": { "$ref": "#/$defs/evidenceResolved" } } },
|
|
82
|
+
{ "title": "evidence.rejected", "properties": { "type": { "const": "evidence.rejected" }, "payload": { "$ref": "#/$defs/evidenceRejected" } } },
|
|
83
|
+
{ "title": "operating-state.materialized", "properties": { "type": { "const": "operating-state.materialized" }, "payload": { "$ref": "operating-model-state.schema.json" } } },
|
|
84
|
+
{ "title": "snapshot.materialized", "properties": { "type": { "const": "snapshot.materialized" }, "payload": { "$ref": "operating-snapshot.schema.json" } } },
|
|
85
|
+
{ "title": "metric.observed", "required": ["requestHash"], "properties": { "type": { "const": "metric.observed" }, "payload": { "$ref": "#/$defs/metricObservationRecorded" } } },
|
|
86
|
+
{ "title": "claim.recorded", "required": ["requestHash"], "properties": { "type": { "const": "claim.recorded" }, "payload": { "$ref": "#/$defs/claimRecorded" } } },
|
|
87
|
+
{ "title": "finding.recorded", "required": ["requestHash"], "properties": { "type": { "const": "finding.recorded" }, "payload": { "$ref": "#/$defs/findingRecorded" } } },
|
|
88
|
+
{ "title": "risk.recorded", "required": ["requestHash"], "properties": { "type": { "const": "risk.recorded" }, "payload": { "$ref": "#/$defs/riskRecorded" } } },
|
|
89
|
+
{ "title": "assumption.recorded", "required": ["requestHash"], "properties": { "type": { "const": "assumption.recorded" }, "payload": { "$ref": "#/$defs/assumptionRecorded" } } },
|
|
90
|
+
{ "title": "decision.revised", "required": ["requestHash"], "properties": { "type": { "const": "decision.revised" }, "payload": { "$ref": "#/$defs/decisionRevised" } } },
|
|
91
|
+
{ "title": "delta.derived", "required": ["requestHash"], "properties": { "type": { "const": "delta.derived" }, "payload": { "$ref": "#/$defs/deltaDerived" } } },
|
|
92
|
+
{ "title": "intelligence.plan-recorded", "properties": { "type": { "const": "intelligence.plan-recorded" }, "payload": { "$ref": "operating-intelligence-plan.schema.json" } } },
|
|
93
|
+
{ "title": "decision-ledger.materialized", "properties": { "type": { "const": "decision-ledger.materialized" }, "payload": { "$ref": "operating-decision-ledger.schema.json" } } },
|
|
94
|
+
{ "title": "verification.plan-recorded", "properties": { "type": { "const": "verification.plan-recorded" }, "payload": { "$ref": "operating-action-verification-plan.schema.json" } } },
|
|
95
|
+
{ "title": "outcome.recorded", "properties": { "type": { "const": "outcome.recorded" }, "payload": { "$ref": "operating-outcome.schema.json" } } },
|
|
96
|
+
{ "title": "learning.recorded", "properties": { "type": { "const": "learning.recorded" }, "payload": { "$ref": "operating-learning.schema.json" } } },
|
|
97
|
+
{ "title": "scenario.recorded", "required": ["requestHash"], "properties": { "type": { "const": "scenario.recorded" }, "payload": { "$ref": "#/$defs/scenarioRecorded" } } },
|
|
98
|
+
{ "title": "trigger.recorded", "required": ["requestHash"], "properties": { "type": { "const": "trigger.recorded" }, "payload": { "$ref": "#/$defs/triggerRecorded" } } },
|
|
99
|
+
{ "title": "domain-projection.rebuilt", "properties": { "type": { "const": "domain-projection.rebuilt" }, "payload": { "$ref": "operating-domain-projection.schema.json" } } },
|
|
100
|
+
{ "title": "policy.evaluated", "required": ["requestHash"], "properties": { "type": { "const": "policy.evaluated" }, "payload": { "$ref": "operating-policy-evaluation.schema.json" } } },
|
|
101
|
+
{ "title": "approval.recorded", "properties": { "type": { "const": "approval.recorded" }, "payload": { "$ref": "operating-approval-record.schema.json" } } },
|
|
102
|
+
{ "title": "capability.availability-recorded", "properties": { "type": { "const": "capability.availability-recorded" }, "payload": { "$ref": "operating-capability-availability.schema.json" } } },
|
|
103
|
+
{ "title": "capability.granted", "properties": { "type": { "const": "capability.granted" }, "payload": { "$ref": "operating-capability-grant.schema.json" } } },
|
|
104
|
+
{ "title": "operation.intent-recorded", "required": ["requestHash"], "properties": { "type": { "const": "operation.intent-recorded" }, "payload": { "$ref": "#/$defs/operationIntent" } } },
|
|
105
|
+
{ "title": "execution.result-recorded", "properties": { "type": { "const": "execution.result-recorded" }, "payload": { "$ref": "#/$defs/executionResultRecorded" } } },
|
|
106
|
+
{ "title": "rollback.plan-recorded", "properties": { "type": { "const": "rollback.plan-recorded" }, "payload": { "$ref": "operating-rollback-plan.schema.json" } } },
|
|
107
|
+
{ "title": "rollback.result-recorded", "properties": { "type": { "const": "rollback.result-recorded" }, "payload": { "$ref": "operating-rollback-result.schema.json" } } },
|
|
108
|
+
{ "title": "action.approved", "properties": { "type": { "const": "action.approved" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "properties": { "from": { "const": "proposed" }, "to": { "const": "approved" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "const": null } } }] } } },
|
|
109
|
+
{ "title": "action.cancelled", "properties": { "type": { "const": "action.cancelled" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "oneOf": [
|
|
110
|
+
{ "properties": { "from": { "const": "approved" }, "to": { "const": "cancelled" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } },
|
|
111
|
+
{ "properties": { "from": { "enum": ["queued", "in_progress"] }, "to": { "const": "cancelled" }, "operationId": { "type": "string" }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } }
|
|
112
|
+
] }] } } },
|
|
113
|
+
{ "title": "action.rejected", "properties": { "type": { "const": "action.rejected" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "properties": { "from": { "const": "proposed" }, "to": { "const": "rejected" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } }] } } },
|
|
114
|
+
{ "title": "action.deferred", "properties": { "type": { "const": "action.deferred" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "properties": { "from": { "const": "proposed" }, "to": { "const": "deferred" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } }] } } },
|
|
115
|
+
{ "title": "action.reopened", "properties": { "type": { "const": "action.reopened" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "properties": { "from": { "const": "deferred" }, "to": { "const": "proposed" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "const": null } } }] } } },
|
|
116
|
+
{ "title": "action.queued", "properties": { "type": { "const": "action.queued" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "oneOf": [
|
|
117
|
+
{ "properties": { "from": { "const": "approved" }, "to": { "const": "queued" }, "operationId": { "type": "string" }, "resultId": { "const": null }, "reasonCode": { "const": null } } },
|
|
118
|
+
{ "properties": { "from": { "const": "blocked" }, "to": { "const": "queued" }, "operationId": { "type": "string" }, "resultId": { "type": "string" }, "reasonCode": { "type": "string" } } }
|
|
119
|
+
] }] } } },
|
|
120
|
+
{ "title": "action.started", "properties": { "type": { "const": "action.started" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "oneOf": [
|
|
121
|
+
{ "properties": { "from": { "const": "queued" }, "to": { "const": "in_progress" }, "operationId": { "type": "string" }, "resultId": { "const": null }, "reasonCode": { "const": null } } },
|
|
122
|
+
{ "properties": { "from": { "const": "blocked" }, "to": { "const": "in_progress" }, "operationId": { "type": "string" }, "resultId": { "type": "string" }, "reasonCode": { "type": "string" } } }
|
|
123
|
+
] }] } } },
|
|
124
|
+
{ "title": "action.completed", "properties": { "type": { "const": "action.completed" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "properties": { "from": { "const": "in_progress" }, "to": { "const": "completed" }, "operationId": { "type": "string" }, "resultId": { "type": "string" }, "reasonCode": { "const": null } } }] } } },
|
|
125
|
+
{ "title": "action.blocked", "properties": { "type": { "const": "action.blocked" }, "payload": { "allOf": [{ "$ref": "#/$defs/actionTransition" }, { "properties": { "from": { "enum": ["queued", "in_progress"] }, "to": { "const": "blocked" }, "operationId": { "type": "string" }, "resultId": { "type": "string" }, "reasonCode": { "type": "string" } } }] } } },
|
|
126
|
+
{ "title": "cycle.approved", "properties": { "type": { "const": "cycle.approved" }, "payload": { "allOf": [{ "$ref": "#/$defs/cycleTransition" }, { "properties": { "from": { "const": "awaiting_review" }, "to": { "const": "approved" }, "actionId": { "const": null }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "const": null } } }] } } },
|
|
127
|
+
{ "title": "cycle.executing", "properties": { "type": { "const": "cycle.executing" }, "payload": { "allOf": [{ "$ref": "#/$defs/cycleTransition" }, { "properties": { "from": { "const": "approved" }, "to": { "const": "executing" }, "actionId": { "type": "string" }, "operationId": { "type": "string" }, "resultId": { "const": null }, "reasonCode": { "const": null } } }] } } },
|
|
128
|
+
{ "title": "cycle.verifying", "properties": { "type": { "const": "cycle.verifying" }, "payload": { "allOf": [{ "$ref": "#/$defs/cycleTransition" }, { "oneOf": [
|
|
129
|
+
{ "properties": { "from": { "const": "executing" }, "to": { "const": "verifying" }, "actionId": { "type": "string" }, "operationId": { "type": "string" }, "resultId": { "type": "string" }, "reasonCode": { "const": null } } },
|
|
130
|
+
{ "properties": { "from": { "const": "approved" }, "to": { "const": "verifying" }, "actionId": { "type": "string" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } }
|
|
131
|
+
] }] } } },
|
|
132
|
+
{ "title": "cycle.closed", "properties": { "type": { "const": "cycle.closed" }, "payload": { "allOf": [{ "$ref": "#/$defs/cycleTransition" }, { "oneOf": [
|
|
133
|
+
{ "properties": { "from": { "const": "verifying" }, "to": { "const": "closed" }, "actionId": { "type": "string" }, "operationId": { "type": "string" }, "resultId": { "type": "string" }, "reasonCode": { "type": ["string", "null"] } } },
|
|
134
|
+
{ "properties": { "from": { "const": "verifying" }, "to": { "const": "closed" }, "actionId": { "type": "string" }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } },
|
|
135
|
+
{ "properties": { "from": { "const": "approved" }, "to": { "const": "closed" }, "actionId": { "const": null }, "operationId": { "const": null }, "resultId": { "const": null }, "reasonCode": { "type": "string" } } }
|
|
136
|
+
] }] } } }
|
|
137
|
+
],
|
|
138
|
+
"$defs": {
|
|
139
|
+
"planningDeliveryIngested": {
|
|
140
|
+
"type": "object", "additionalProperties": false,
|
|
141
|
+
"required": ["origin", "deliveryEvidence", "artifact", "evidenceRef", "assignment", "verificationPlanEvent", "verificationSource"],
|
|
142
|
+
"properties": {
|
|
143
|
+
"origin": { "$ref": "operating-origin.schema.json" },
|
|
144
|
+
"deliveryEvidence": { "$ref": "operating-delivery-evidence.schema.json" },
|
|
145
|
+
"artifact": { "$ref": "operating-artifact.schema.json" },
|
|
146
|
+
"evidenceRef": { "$ref": "operating-evidence-ref.schema.json" },
|
|
147
|
+
"assignment": { "$ref": "operating-assignment.schema.json" },
|
|
148
|
+
"verificationPlanEvent": { "$ref": "operating-event.schema.json" },
|
|
149
|
+
"verificationSource": {
|
|
150
|
+
"type": "object", "additionalProperties": false,
|
|
151
|
+
"required": ["ledgerId", "snapshotId", "stateId"],
|
|
152
|
+
"properties": {
|
|
153
|
+
"ledgerId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
154
|
+
"snapshotId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
155
|
+
"stateId": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"operationIntent": {
|
|
161
|
+
"type": "object", "additionalProperties": false,
|
|
162
|
+
"required": ["operation", "request", "terminal"],
|
|
163
|
+
"properties": {
|
|
164
|
+
"operation": { "$ref": "operating-governed-operation.schema.json" },
|
|
165
|
+
"request": {
|
|
166
|
+
"type": "object", "additionalProperties": false,
|
|
167
|
+
"required": ["payload", "rollbackBaseline", "targetBeforeHash"],
|
|
168
|
+
"properties": {
|
|
169
|
+
"payload": { "$ref": "#/$defs/operationArtifactBinding" },
|
|
170
|
+
"rollbackBaseline": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/operationArtifactBinding" }] },
|
|
171
|
+
"targetBeforeHash": { "$ref": "#/$defs/hash" }
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"terminal": { "$ref": "#/$defs/operationTerminalReservation" }
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"operationTerminalReservation": {
|
|
178
|
+
"type": "object", "additionalProperties": false,
|
|
179
|
+
"required": ["resultId", "resultArtifactId", "submissionId", "eventIds", "completedAt", "correlationId", "uncertainty"],
|
|
180
|
+
"properties": {
|
|
181
|
+
"resultId": { "type": "string", "pattern": "^(?:xres|rbres)_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
182
|
+
"resultArtifactId": { "$ref": "#/$defs/artifactId" },
|
|
183
|
+
"submissionId": { "$ref": "#/$defs/submissionId" },
|
|
184
|
+
"eventIds": {
|
|
185
|
+
"type": "object", "additionalProperties": false,
|
|
186
|
+
"required": ["submitted", "artifactCreated", "validated", "resultRecorded"],
|
|
187
|
+
"properties": {
|
|
188
|
+
"submitted": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
189
|
+
"artifactCreated": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
190
|
+
"validated": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
191
|
+
"resultRecorded": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"completedAt": { "type": "string", "format": "date-time" },
|
|
195
|
+
"correlationId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
196
|
+
"uncertainty": { "$ref": "#/$defs/operationTerminalIdentityReservation" }
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"operationTerminalIdentityReservation": {
|
|
200
|
+
"type": "object", "additionalProperties": false,
|
|
201
|
+
"required": ["resultId", "resultArtifactId", "submissionId", "eventIds"],
|
|
202
|
+
"properties": {
|
|
203
|
+
"resultId": { "type": "string", "pattern": "^(?:xres|rbres)_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
204
|
+
"resultArtifactId": { "$ref": "#/$defs/artifactId" },
|
|
205
|
+
"submissionId": { "$ref": "#/$defs/submissionId" },
|
|
206
|
+
"eventIds": {
|
|
207
|
+
"type": "object", "additionalProperties": false,
|
|
208
|
+
"required": ["submitted", "artifactCreated", "validated", "resultRecorded"],
|
|
209
|
+
"properties": {
|
|
210
|
+
"submitted": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
211
|
+
"artifactCreated": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
212
|
+
"validated": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
213
|
+
"resultRecorded": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"operationArtifactBinding": {
|
|
219
|
+
"type": "object", "additionalProperties": false,
|
|
220
|
+
"required": ["artifactId", "contentHash"],
|
|
221
|
+
"properties": {
|
|
222
|
+
"artifactId": { "$ref": "#/$defs/artifactId" },
|
|
223
|
+
"contentHash": { "$ref": "#/$defs/hash" }
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"executionResultRecorded": {
|
|
227
|
+
"type": "object", "additionalProperties": false,
|
|
228
|
+
"required": ["result", "receipt"],
|
|
229
|
+
"properties": {
|
|
230
|
+
"result": { "$ref": "operating-execution-result.schema.json" },
|
|
231
|
+
"receipt": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/executionReceiptProof" }] }
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"executionReceiptProof": {
|
|
235
|
+
"type": "object", "additionalProperties": false,
|
|
236
|
+
"required": ["operationId", "requestFingerprint", "target", "before", "after", "changed", "synthetic", "effectCount"],
|
|
237
|
+
"properties": {
|
|
238
|
+
"operationId": { "type": "string", "pattern": "^op_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
239
|
+
"requestFingerprint": { "$ref": "#/$defs/hash" },
|
|
240
|
+
"target": {
|
|
241
|
+
"type": "object", "additionalProperties": false, "required": ["kind", "id"],
|
|
242
|
+
"properties": {
|
|
243
|
+
"kind": { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" },
|
|
244
|
+
"id": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"before": { "$ref": "#/$defs/executionReceiptSnapshot" },
|
|
248
|
+
"after": { "$ref": "#/$defs/executionReceiptSnapshot" },
|
|
249
|
+
"changed": { "type": "boolean" },
|
|
250
|
+
"synthetic": { "type": "boolean" },
|
|
251
|
+
"effectCount": { "const": 1 }
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"executionReceiptSnapshot": {
|
|
255
|
+
"type": "object", "additionalProperties": false, "required": ["revision", "stateHash"],
|
|
256
|
+
"properties": {
|
|
257
|
+
"revision": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
258
|
+
"stateHash": { "$ref": "#/$defs/hash" }
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"actionTransition": {
|
|
262
|
+
"type": "object", "additionalProperties": false,
|
|
263
|
+
"required": ["action", "from", "to", "operationId", "resultId", "reasonCode"],
|
|
264
|
+
"properties": {
|
|
265
|
+
"action": { "type": "object", "additionalProperties": false, "required": ["actionId", "revision", "actionHash"], "properties": { "actionId": { "type": "string", "pattern": "^act_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" }, "revision": { "type": "integer", "minimum": 1 }, "actionHash": { "$ref": "#/$defs/hash" } } },
|
|
266
|
+
"from": { "enum": ["proposed", "approved", "queued", "in_progress", "completed", "blocked", "rejected", "deferred", "cancelled"] },
|
|
267
|
+
"to": { "enum": ["proposed", "approved", "queued", "in_progress", "completed", "blocked", "rejected", "deferred", "cancelled"] },
|
|
268
|
+
"operationId": { "type": ["string", "null"], "pattern": "^op_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
269
|
+
"resultId": { "type": ["string", "null"], "pattern": "^(?:xres|rbres)_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
270
|
+
"reasonCode": { "type": ["string", "null"], "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" }
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"cycleTransition": {
|
|
274
|
+
"type": "object", "additionalProperties": false,
|
|
275
|
+
"required": ["cycleId", "from", "to", "actionId", "operationId", "resultId", "reasonCode"],
|
|
276
|
+
"properties": {
|
|
277
|
+
"cycleId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
278
|
+
"from": { "enum": ["awaiting_review", "approved", "executing", "verifying", "closed"] },
|
|
279
|
+
"to": { "enum": ["awaiting_review", "approved", "executing", "verifying", "closed"] },
|
|
280
|
+
"actionId": { "type": ["string", "null"], "pattern": "^act_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
281
|
+
"operationId": { "type": ["string", "null"], "pattern": "^op_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
282
|
+
"resultId": { "type": ["string", "null"], "pattern": "^(?:xres|rbres)_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
283
|
+
"reasonCode": { "type": ["string", "null"], "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" }
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"intelligenceBinding": {
|
|
287
|
+
"type": "object", "additionalProperties": false,
|
|
288
|
+
"required": ["snapshotId", "stateId", "record"],
|
|
289
|
+
"properties": {
|
|
290
|
+
"snapshotId": { "type": "string", "pattern": "^snp_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
291
|
+
"stateId": { "type": "string", "pattern": "^oms_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
292
|
+
"record": {}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"metricObservationRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-metric-observation.schema.json" } } }] },
|
|
296
|
+
"claimRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-claim.schema.json" } } }] },
|
|
297
|
+
"findingRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-finding.schema.json" } } }] },
|
|
298
|
+
"riskRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-risk.schema.json" } } }] },
|
|
299
|
+
"assumptionRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-assumption.schema.json" } } }] },
|
|
300
|
+
"decisionRevised": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-decision.schema.json" } } }] },
|
|
301
|
+
"deltaDerived": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-delta.schema.json" } } }] },
|
|
302
|
+
"scenarioRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-scenario.schema.json" } } }] },
|
|
303
|
+
"triggerRecorded": { "allOf": [{ "$ref": "#/$defs/intelligenceBinding" }, { "properties": { "record": { "$ref": "operating-event-trigger.schema.json" } } }] },
|
|
304
|
+
"inputBound": {
|
|
305
|
+
"type": "object", "additionalProperties": false,
|
|
306
|
+
"required": ["inputBindingId", "scopeId", "domainId", "domainVersion", "contractVersions"],
|
|
307
|
+
"properties": {
|
|
308
|
+
"inputBindingId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
309
|
+
"scopeId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
310
|
+
"domainId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
311
|
+
"domainVersion": { "type": "string", "minLength": 1, "maxLength": 64 },
|
|
312
|
+
"contractVersions": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1 } }
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"assignmentAvailable": {
|
|
316
|
+
"type": "object", "additionalProperties": false,
|
|
317
|
+
"required": ["assignmentId", "releaseId", "dependencyProofs", "dependencyEventIds"],
|
|
318
|
+
"properties": {
|
|
319
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
320
|
+
"releaseId": { "type": "string", "pattern": "^rel_[a-f0-9]{24}$" },
|
|
321
|
+
"dependencyProofs": { "type": "array", "items": { "$ref": "#/$defs/dependencyProof" } },
|
|
322
|
+
"dependencyEventIds": { "type": "array", "uniqueItems": true, "items": { "type": "string", "minLength": 1, "maxLength": 128 } }
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"assignmentClaimed": {
|
|
326
|
+
"type": "object", "additionalProperties": false,
|
|
327
|
+
"required": ["assignmentId", "actorId", "actorKind", "runtime", "claimId", "submissionId"],
|
|
328
|
+
"properties": {
|
|
329
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
330
|
+
"actorId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
331
|
+
"actorKind": { "type": "string", "enum": ["agent", "human"] },
|
|
332
|
+
"runtime": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
333
|
+
"claimId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
334
|
+
"submissionId": { "$ref": "#/$defs/submissionId" }
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"assignmentStarted": {
|
|
338
|
+
"type": "object", "additionalProperties": false, "required": ["assignmentId", "attempt"],
|
|
339
|
+
"properties": { "assignmentId": { "$ref": "#/$defs/assignmentId" }, "attempt": { "type": "integer", "minimum": 1 } }
|
|
340
|
+
},
|
|
341
|
+
"assignmentSubmitted": {
|
|
342
|
+
"type": "object", "additionalProperties": false,
|
|
343
|
+
"required": ["assignmentId", "submissionId", "rawHash", "canonicalHash", "sizeBytes", "mediaType", "encoding"],
|
|
344
|
+
"properties": {
|
|
345
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
346
|
+
"submissionId": { "$ref": "#/$defs/submissionId" },
|
|
347
|
+
"rawHash": { "$ref": "#/$defs/hash" },
|
|
348
|
+
"canonicalHash": { "type": ["string", "null"], "pattern": "^sha256:[a-f0-9]{64}$" },
|
|
349
|
+
"sizeBytes": { "type": "integer", "minimum": 0 },
|
|
350
|
+
"mediaType": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
351
|
+
"encoding": { "type": "string", "enum": ["utf-8", "binary"] }
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"assignmentValidated": {
|
|
355
|
+
"type": "object", "additionalProperties": false,
|
|
356
|
+
"required": ["assignmentId", "submissionId", "artifactId", "validatorVersion"],
|
|
357
|
+
"properties": {
|
|
358
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
359
|
+
"submissionId": { "$ref": "#/$defs/submissionId" },
|
|
360
|
+
"artifactId": { "$ref": "#/$defs/artifactId" },
|
|
361
|
+
"validatorVersion": { "type": "string", "minLength": 1, "maxLength": 64 }
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"assignmentRejected": {
|
|
365
|
+
"type": "object", "additionalProperties": false,
|
|
366
|
+
"required": ["assignmentId", "submissionId", "violations", "attempt", "attemptsRemaining"],
|
|
367
|
+
"properties": {
|
|
368
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
369
|
+
"submissionId": { "$ref": "#/$defs/submissionId" },
|
|
370
|
+
"violations": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/violation" } },
|
|
371
|
+
"attempt": { "type": "integer", "minimum": 1 },
|
|
372
|
+
"attemptsRemaining": { "type": "integer", "minimum": 0 }
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"assignmentAbandoned": {
|
|
376
|
+
"type": "object", "additionalProperties": false,
|
|
377
|
+
"required": ["assignmentId", "reasonCode", "reason", "recoveryDisposition"],
|
|
378
|
+
"properties": {
|
|
379
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
380
|
+
"reasonCode": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
381
|
+
"reason": { "type": "string", "minLength": 1, "maxLength": 2048 },
|
|
382
|
+
"recoveryDisposition": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"assignmentFailed": {
|
|
386
|
+
"type": "object", "additionalProperties": false,
|
|
387
|
+
"required": ["assignmentId", "errorCode", "reason", "recoveryStatus"],
|
|
388
|
+
"properties": {
|
|
389
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
390
|
+
"errorCode": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
391
|
+
"reason": { "type": "string", "minLength": 1, "maxLength": 2048 },
|
|
392
|
+
"recoveryStatus": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"dependencyProof": {
|
|
396
|
+
"oneOf": [
|
|
397
|
+
{
|
|
398
|
+
"type": "object", "additionalProperties": false,
|
|
399
|
+
"required": ["assignmentId", "outcome", "eventId", "artifactId"],
|
|
400
|
+
"properties": {
|
|
401
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
402
|
+
"outcome": { "const": "validated" },
|
|
403
|
+
"eventId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
404
|
+
"artifactId": { "$ref": "#/$defs/artifactId" }
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "object", "additionalProperties": false,
|
|
409
|
+
"required": ["assignmentId", "outcome", "eventId", "absence"],
|
|
410
|
+
"properties": {
|
|
411
|
+
"assignmentId": { "$ref": "#/$defs/assignmentId" },
|
|
412
|
+
"outcome": { "type": "string", "enum": ["abandoned", "failed"] },
|
|
413
|
+
"eventId": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
414
|
+
"absence": {
|
|
415
|
+
"type": "object", "additionalProperties": false,
|
|
416
|
+
"required": ["code", "reason", "recoveryDisposition"],
|
|
417
|
+
"properties": {
|
|
418
|
+
"code": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
419
|
+
"reason": { "type": "string", "minLength": 1, "maxLength": 2048 },
|
|
420
|
+
"recoveryDisposition": { "type": "string", "minLength": 1, "maxLength": 128 }
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
"reviewSubmitted": {
|
|
428
|
+
"type": "object", "additionalProperties": false,
|
|
429
|
+
"required": ["reviewId", "disposition", "workDispositions", "receiptProjection"],
|
|
430
|
+
"properties": {
|
|
431
|
+
"reviewId": { "$ref": "#/$defs/reviewId" },
|
|
432
|
+
"disposition": { "type": "string", "enum": ["approved", "changes_requested", "rejected", "cancelled"] },
|
|
433
|
+
"workDispositions": { "type": "array", "maxItems": 1024, "uniqueItems": true, "items": { "$ref": "operating-review.schema.json#/$defs/workDisposition" } },
|
|
434
|
+
"receiptProjection": { "$ref": "operating-review-receipt.schema.json#/$defs/replayProjection" }
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"workChangeSetMaterialized": {
|
|
438
|
+
"type": "object", "additionalProperties": false,
|
|
439
|
+
"required": ["artifactId", "canonicalHash", "changeSet", "findings", "decisions", "actions"],
|
|
440
|
+
"properties": {
|
|
441
|
+
"artifactId": { "$ref": "#/$defs/artifactId" },
|
|
442
|
+
"canonicalHash": { "$ref": "#/$defs/hash" },
|
|
443
|
+
"changeSet": { "$ref": "operating-work-change-set.schema.json" },
|
|
444
|
+
"findings": { "type": "array", "items": { "$ref": "operating-finding.schema.json" } },
|
|
445
|
+
"decisions": { "type": "array", "items": { "$ref": "operating-decision.schema.json" } },
|
|
446
|
+
"actions": { "type": "array", "items": { "$ref": "operating-action.schema.json" } }
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"actionAuthorityPromoted": {
|
|
450
|
+
"type": "object", "additionalProperties": false,
|
|
451
|
+
"required": ["before", "authority", "action"],
|
|
452
|
+
"properties": {
|
|
453
|
+
"before": { "$ref": "operating-action.schema.json" },
|
|
454
|
+
"authority": {
|
|
455
|
+
"type": "object", "additionalProperties": false,
|
|
456
|
+
"required": ["actionKind", "requestedCapability", "targetBinding", "effectClass", "preconditionArtifactIds", "executionBinding", "updatedAt"],
|
|
457
|
+
"properties": {
|
|
458
|
+
"actionKind": { "$ref": "operating-action.schema.json#/$defs/versionedId" },
|
|
459
|
+
"requestedCapability": { "$ref": "operating-action.schema.json#/$defs/versionedId" },
|
|
460
|
+
"targetBinding": { "$ref": "operating-action.schema.json#/$defs/targetBinding" },
|
|
461
|
+
"effectClass": { "$ref": "operating-action.schema.json#/$defs/effectClass" },
|
|
462
|
+
"preconditionArtifactIds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/artifactId" } },
|
|
463
|
+
"executionBinding": { "$ref": "operating-action.schema.json#/$defs/executionBinding" },
|
|
464
|
+
"updatedAt": { "type": "string", "format": "date-time" }
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"action": { "allOf": [{ "$ref": "operating-action.schema.json" }, { "required": ["revisionId", "revision", "predecessorRevisionId", "actionHash", "actionKind", "requestedCapability", "targetBinding", "effectClass", "preconditionArtifactIds", "executionBinding"], "properties": { "state": { "const": "proposed" } } }] }
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"evidenceResolved": {
|
|
471
|
+
"type": "object", "additionalProperties": false,
|
|
472
|
+
"required": ["resolution", "evidenceRef", "evidenceArtifact", "edges", "requestHash", "outcomeHash"],
|
|
473
|
+
"properties": {
|
|
474
|
+
"resolution": { "allOf": [{ "$ref": "operating-evidence-resolution.schema.json" }, { "properties": { "outcome": { "const": "resolved" } } }] },
|
|
475
|
+
"evidenceRef": { "$ref": "operating-evidence-ref.schema.json" },
|
|
476
|
+
"evidenceArtifact": { "$ref": "operating-artifact.schema.json" },
|
|
477
|
+
"edges": { "type": "array", "uniqueItems": true, "items": { "$ref": "operating-evidence-edge.schema.json" } },
|
|
478
|
+
"requestHash": { "$ref": "#/$defs/hash" },
|
|
479
|
+
"outcomeHash": { "$ref": "#/$defs/hash" }
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"evidenceRejected": {
|
|
483
|
+
"type": "object", "additionalProperties": false,
|
|
484
|
+
"required": ["resolution", "requestHash", "outcomeHash"],
|
|
485
|
+
"properties": {
|
|
486
|
+
"resolution": { "allOf": [{ "$ref": "operating-evidence-resolution.schema.json" }, { "properties": { "outcome": { "const": "rejected" } } }] },
|
|
487
|
+
"requestHash": { "$ref": "#/$defs/hash" },
|
|
488
|
+
"outcomeHash": { "$ref": "#/$defs/hash" }
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"violation": {
|
|
492
|
+
"type": "object", "additionalProperties": false, "required": ["path", "code", "message"],
|
|
493
|
+
"properties": {
|
|
494
|
+
"path": { "type": "string", "minLength": 1, "maxLength": 512 },
|
|
495
|
+
"code": { "type": "string", "minLength": 1, "maxLength": 128 },
|
|
496
|
+
"message": { "type": "string", "minLength": 1, "maxLength": 2048 }
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"assignmentId": { "type": "string", "pattern": "^asg_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
500
|
+
"submissionId": { "type": "string", "pattern": "^sub_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
501
|
+
"artifactId": { "type": "string", "pattern": "^art_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
502
|
+
"reviewId": { "type": "string", "pattern": "^rev_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
503
|
+
"hash": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
|
|
504
|
+
}
|
|
505
|
+
}
|