@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,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openplanr.dev/schemas/v2.0.0/operate-review-bound-submission.schema.json",
|
|
4
|
+
"x-openplanr-contract": { "id": "operate-review-bound-submission", "version": "1.0.0" },
|
|
5
|
+
"title": "OpenPlanr owner-bound Review submission",
|
|
6
|
+
"description": "Additive wrapper that binds one exact advertised Review choice and optional owner note to the source Event head without changing the legacy operate.review.submit tool arguments.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": [
|
|
10
|
+
"kind", "schemaVersion", "protocolVersion", "expectedReadEventHead", "choiceId",
|
|
11
|
+
"choiceHash", "submitArguments", "note", "boundSubmissionHash"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"kind": { "const": "operate-review-bound-submission" },
|
|
15
|
+
"schemaVersion": { "const": "1.0.0" },
|
|
16
|
+
"protocolVersion": { "const": "2.0.0" },
|
|
17
|
+
"expectedReadEventHead": { "$ref": "operating-review-read.schema.json#/$defs/eventHead" },
|
|
18
|
+
"choiceId": { "$ref": "operating-review-read.schema.json#/$defs/dispositionChoice/properties/choiceId" },
|
|
19
|
+
"choiceHash": { "$ref": "operating-review-read.schema.json#/$defs/hash" },
|
|
20
|
+
"submitArguments": { "$ref": "operating-review-read.schema.json#/$defs/reviewSubmitArguments" },
|
|
21
|
+
"note": {
|
|
22
|
+
"oneOf": [
|
|
23
|
+
{ "type": "null" },
|
|
24
|
+
{ "type": "string", "minLength": 1, "maxLength": 2048, "pattern": "^\\S(?:[\\s\\S]*\\S)?$" }
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"boundSubmissionHash": { "$ref": "operating-review-read.schema.json#/$defs/hash" }
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openplanr.dev/schemas/v2.0.0/operate-review-display-workspace.schema.json",
|
|
4
|
+
"x-openplanr-contract": { "id": "operate-review-display-workspace", "version": "1.0.0" },
|
|
5
|
+
"title": "OpenPlanr browser-verifiable owner Review display workspace",
|
|
6
|
+
"description": "Access-safe, content-hashed projection over either one verified pending operating-review-read or one immutable terminal operating-review-receipt and its exact actor-bound experience view.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": ["kind", "schemaVersion", "protocolVersion", "payload", "integrity"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": { "const": "operate-review-display-workspace" },
|
|
12
|
+
"schemaVersion": { "const": "1.0.0" },
|
|
13
|
+
"protocolVersion": { "const": "2.0.0" },
|
|
14
|
+
"payload": { "$ref": "#/$defs/workspace" },
|
|
15
|
+
"integrity": { "$ref": "#/$defs/integrity" }
|
|
16
|
+
},
|
|
17
|
+
"$defs": {
|
|
18
|
+
"workspace": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": [
|
|
22
|
+
"ok", "kind", "schemaVersion", "protocolVersion", "readOnly", "mutationEnabled",
|
|
23
|
+
"scopeId", "domainId", "domainVersion", "cycleId", "reviewId", "actorId", "accessLevel",
|
|
24
|
+
"generatedAt", "sourceArtifactKind", "sourceArtifactHash", "sourceEventHead", "sourceReadEventHead",
|
|
25
|
+
"sourceViewHash", "status", "reasonCodes", "data"
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"ok": { "const": true },
|
|
29
|
+
"kind": { "const": "operate-review-workspace" },
|
|
30
|
+
"schemaVersion": { "const": "1.0.0" },
|
|
31
|
+
"protocolVersion": { "const": "2.0.0" },
|
|
32
|
+
"readOnly": { "const": true },
|
|
33
|
+
"mutationEnabled": { "type": "boolean" },
|
|
34
|
+
"scopeId": { "$ref": "operate-experience-view.schema.json#/$defs/id" },
|
|
35
|
+
"domainId": { "$ref": "operate-experience-view.schema.json#/$defs/id" },
|
|
36
|
+
"domainVersion": { "$ref": "operate-experience-view.schema.json#/$defs/version" },
|
|
37
|
+
"cycleId": { "$ref": "operating-review-read.schema.json#/$defs/cycleId" },
|
|
38
|
+
"reviewId": { "type": "string", "pattern": "^rev_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
39
|
+
"actorId": { "$ref": "operate-experience-view.schema.json#/$defs/id" },
|
|
40
|
+
"accessLevel": { "$ref": "operate-experience-view.schema.json#/$defs/accessLevel" },
|
|
41
|
+
"generatedAt": { "type": "string", "format": "date-time" },
|
|
42
|
+
"sourceArtifactKind": { "enum": ["operating-review-read", "operating-review-receipt"] },
|
|
43
|
+
"sourceArtifactHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
44
|
+
"sourceEventHead": { "$ref": "operate-experience-view.schema.json#/$defs/eventHead" },
|
|
45
|
+
"sourceReadEventHead": { "$ref": "operate-experience-view.schema.json#/$defs/eventHead" },
|
|
46
|
+
"sourceViewHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
47
|
+
"status": { "enum": ["ready", "read-only", "stale", "partial", "blocked", "offline", "terminal"] },
|
|
48
|
+
"reasonCodes": {
|
|
49
|
+
"type": "array", "maxItems": 128, "uniqueItems": true,
|
|
50
|
+
"items": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{0,127}$" }
|
|
51
|
+
},
|
|
52
|
+
"data": { "$ref": "#/$defs/data" }
|
|
53
|
+
},
|
|
54
|
+
"allOf": [
|
|
55
|
+
{
|
|
56
|
+
"if": { "properties": { "sourceArtifactKind": { "const": "operating-review-read" } }, "required": ["sourceArtifactKind"] },
|
|
57
|
+
"then": {
|
|
58
|
+
"properties": {
|
|
59
|
+
"status": { "not": { "const": "terminal" } },
|
|
60
|
+
"data": {
|
|
61
|
+
"properties": {
|
|
62
|
+
"review": { "properties": { "state": { "const": "pending" }, "disposition": { "type": "null" } }, "required": ["state", "disposition"] },
|
|
63
|
+
"choices": { "minItems": 1 },
|
|
64
|
+
"terminalDisposition": { "type": "null" }
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"if": { "properties": { "sourceArtifactKind": { "const": "operating-review-receipt" } }, "required": ["sourceArtifactKind"] },
|
|
72
|
+
"then": {
|
|
73
|
+
"properties": {
|
|
74
|
+
"status": { "const": "terminal" },
|
|
75
|
+
"mutationEnabled": { "const": false },
|
|
76
|
+
"reasonCodes": { "contains": { "const": "REVIEW_TERMINAL" } },
|
|
77
|
+
"data": {
|
|
78
|
+
"properties": {
|
|
79
|
+
"review": { "properties": { "state": { "enum": ["approved", "changes_requested", "rejected", "cancelled"] } }, "required": ["state"] },
|
|
80
|
+
"choices": { "maxItems": 0 },
|
|
81
|
+
"terminalDisposition": { "$ref": "#/$defs/terminalDisposition" },
|
|
82
|
+
"capability": {
|
|
83
|
+
"properties": { "available": { "const": false }, "actions": { "maxItems": 0 } },
|
|
84
|
+
"required": ["available", "actions"]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"data": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"required": [
|
|
97
|
+
"review", "policyBinding", "executiveSummary", "recommendation", "choices", "findings", "dissent",
|
|
98
|
+
"uncertainty", "gaps", "claims", "evidence", "omissions", "traceMatrix", "truthSummary", "terminalDisposition", "capability"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"review": { "$ref": "operating-review.schema.json" },
|
|
102
|
+
"policyBinding": { "$ref": "#/$defs/policyBinding" },
|
|
103
|
+
"executiveSummary": { "$ref": "#/$defs/executiveSummary" },
|
|
104
|
+
"recommendation": { "$ref": "#/$defs/recommendation" },
|
|
105
|
+
"choices": { "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/choice" } },
|
|
106
|
+
"findings": { "type": "array", "maxItems": 256, "items": { "$ref": "operating-review-read.schema.json#/$defs/findingSummary" } },
|
|
107
|
+
"dissent": { "type": "array", "maxItems": 256, "items": { "$ref": "operating-review-read.schema.json#/$defs/dissentSummary" } },
|
|
108
|
+
"uncertainty": { "type": "array", "maxItems": 2048, "items": { "$ref": "#/$defs/uncertainty" } },
|
|
109
|
+
"gaps": { "type": "array", "maxItems": 2048, "items": { "$ref": "operating-review-read.schema.json#/$defs/gapSummary" } },
|
|
110
|
+
"claims": { "type": "array", "maxItems": 4096, "items": { "$ref": "operate-experience-view.schema.json#/$defs/claim" } },
|
|
111
|
+
"evidence": { "type": "array", "maxItems": 4096, "items": { "$ref": "operate-experience-view.schema.json#/$defs/evidence" } },
|
|
112
|
+
"omissions": { "type": "array", "maxItems": 4096, "items": { "$ref": "#/$defs/omission" } },
|
|
113
|
+
"traceMatrix": {
|
|
114
|
+
"oneOf": [
|
|
115
|
+
{ "type": "null" },
|
|
116
|
+
{ "$ref": "operating-trace-matrix.schema.json" }
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"truthSummary": { "$ref": "#/$defs/sharedTruthSummary" },
|
|
120
|
+
"terminalDisposition": {
|
|
121
|
+
"oneOf": [
|
|
122
|
+
{ "type": "null" },
|
|
123
|
+
{ "$ref": "#/$defs/terminalDisposition" }
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
"capability": { "$ref": "#/$defs/capability" }
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"policyBinding": {
|
|
130
|
+
"type": "object", "additionalProperties": false,
|
|
131
|
+
"required": ["sourceContract", "ownerActorId", "actorMatchesOwner", "authorityBoundary", "externalEffectsAuthorized"],
|
|
132
|
+
"properties": {
|
|
133
|
+
"sourceContract": {
|
|
134
|
+
"type": "object", "additionalProperties": false, "required": ["id", "version"],
|
|
135
|
+
"properties": { "id": { "const": "operating-review" }, "version": { "const": "2.0.0" } }
|
|
136
|
+
},
|
|
137
|
+
"ownerActorId": { "$ref": "operate-experience-view.schema.json#/$defs/id" },
|
|
138
|
+
"actorMatchesOwner": { "type": "boolean" },
|
|
139
|
+
"authorityBoundary": { "const": "review-only" },
|
|
140
|
+
"externalEffectsAuthorized": { "const": false }
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"executiveSummary": {
|
|
144
|
+
"type": "object", "additionalProperties": false,
|
|
145
|
+
"required": ["text", "decisionCount", "actionCount", "findingCount", "dissentCount", "gapCount", "uncertaintyCount"],
|
|
146
|
+
"properties": {
|
|
147
|
+
"text": { "$ref": "operating-review-read.schema.json#/$defs/text" },
|
|
148
|
+
"decisionCount": { "type": "integer", "minimum": 0 },
|
|
149
|
+
"actionCount": { "type": "integer", "minimum": 0 },
|
|
150
|
+
"findingCount": { "type": "integer", "minimum": 0 },
|
|
151
|
+
"dissentCount": { "type": "integer", "minimum": 0 },
|
|
152
|
+
"gapCount": { "type": "integer", "minimum": 0 },
|
|
153
|
+
"uncertaintyCount": { "type": "integer", "minimum": 0 }
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"recommendation": {
|
|
157
|
+
"oneOf": [
|
|
158
|
+
{
|
|
159
|
+
"type": "object", "additionalProperties": false,
|
|
160
|
+
"required": ["status", "items", "absence"],
|
|
161
|
+
"properties": {
|
|
162
|
+
"status": { "const": "available" },
|
|
163
|
+
"items": { "type": "array", "minItems": 1, "maxItems": 256, "items": { "$ref": "operating-review-read.schema.json#/$defs/decisionSummary" } },
|
|
164
|
+
"absence": { "type": "null" }
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "object", "additionalProperties": false,
|
|
169
|
+
"required": ["status", "items", "absence"],
|
|
170
|
+
"properties": {
|
|
171
|
+
"status": { "const": "absent" },
|
|
172
|
+
"items": { "type": "array", "maxItems": 0 },
|
|
173
|
+
"absence": { "$ref": "#/$defs/unavailableReason" }
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"choice": {
|
|
179
|
+
"type": "object", "additionalProperties": false,
|
|
180
|
+
"required": ["choiceId", "choiceHash", "label", "submitArguments", "consequence", "reversibility", "requiredDispositions"],
|
|
181
|
+
"properties": {
|
|
182
|
+
"choiceId": { "$ref": "operating-review-read.schema.json#/$defs/dispositionChoice/properties/choiceId" },
|
|
183
|
+
"choiceHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
184
|
+
"label": { "$ref": "operating-review-read.schema.json#/$defs/title" },
|
|
185
|
+
"submitArguments": { "$ref": "operating-review-read.schema.json#/$defs/reviewSubmitArguments" },
|
|
186
|
+
"consequence": { "$ref": "operating-review-read.schema.json#/$defs/text" },
|
|
187
|
+
"reversibility": { "enum": ["immutable-review-event", "separately-governed-follow-on"] },
|
|
188
|
+
"requiredDispositions": {
|
|
189
|
+
"type": "array", "maxItems": 1024, "uniqueItems": true,
|
|
190
|
+
"items": { "$ref": "operating-review.schema.json#/$defs/workDisposition" }
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"uncertainty": {
|
|
195
|
+
"type": "object", "additionalProperties": false,
|
|
196
|
+
"required": ["uncertaintyId", "sourceKind", "sourceId", "statement"],
|
|
197
|
+
"properties": {
|
|
198
|
+
"uncertaintyId": { "$ref": "operate-experience-view.schema.json#/$defs/id" },
|
|
199
|
+
"sourceKind": { "enum": ["decision", "claim", "evidence", "gap"] },
|
|
200
|
+
"sourceId": { "$ref": "operate-experience-view.schema.json#/$defs/id" },
|
|
201
|
+
"statement": { "$ref": "operating-review-read.schema.json#/$defs/text" }
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"omission": {
|
|
205
|
+
"type": "object", "additionalProperties": false,
|
|
206
|
+
"required": ["kind", "subject", "count", "subjectIds", "reasonCode"],
|
|
207
|
+
"properties": {
|
|
208
|
+
"kind": { "enum": ["restricted", "absent"] },
|
|
209
|
+
"subject": { "enum": ["evidence", "claim", "seat", "source"] },
|
|
210
|
+
"count": { "type": "integer", "minimum": 1 },
|
|
211
|
+
"subjectIds": { "type": "array", "maxItems": 4096, "uniqueItems": true, "items": { "$ref": "operate-experience-view.schema.json#/$defs/id" } },
|
|
212
|
+
"reasonCode": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{0,127}$" }
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"sharedTruthSummary": {
|
|
216
|
+
"type": "object", "additionalProperties": false,
|
|
217
|
+
"required": ["kind", "schemaVersion", "sourceEventHead", "sourceViewHash", "stages", "proof", "seats", "evidence", "claims", "verification", "attention", "omissions"],
|
|
218
|
+
"properties": {
|
|
219
|
+
"kind": { "const": "operate-shared-truth-summary" },
|
|
220
|
+
"schemaVersion": { "const": "1.0.0" },
|
|
221
|
+
"sourceEventHead": { "$ref": "operate-experience-view.schema.json#/$defs/eventHead" },
|
|
222
|
+
"sourceViewHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
223
|
+
"stages": { "$ref": "#/$defs/stageCounts" },
|
|
224
|
+
"proof": { "$ref": "#/$defs/proofCounts" },
|
|
225
|
+
"seats": { "$ref": "#/$defs/seatCounts" },
|
|
226
|
+
"evidence": { "$ref": "#/$defs/evidenceCounts" },
|
|
227
|
+
"claims": { "$ref": "#/$defs/claimCounts" },
|
|
228
|
+
"verification": { "$ref": "#/$defs/verificationCounts" },
|
|
229
|
+
"attention": { "$ref": "#/$defs/attentionCounts" },
|
|
230
|
+
"omissions": { "$ref": "#/$defs/summaryOmissions" }
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"stageCounts": {
|
|
234
|
+
"type": "object", "additionalProperties": false,
|
|
235
|
+
"required": ["cycles", "total", "complete", "current", "available", "waiting", "blocked", "failed", "skipped", "uncertain", "revisited", "byStage"],
|
|
236
|
+
"properties": {
|
|
237
|
+
"cycles": { "type": "integer", "minimum": 0 }, "total": { "type": "integer", "minimum": 0 },
|
|
238
|
+
"complete": { "type": "integer", "minimum": 0 }, "current": { "type": "integer", "minimum": 0 },
|
|
239
|
+
"available": { "type": "integer", "minimum": 0 }, "waiting": { "type": "integer", "minimum": 0 },
|
|
240
|
+
"blocked": { "type": "integer", "minimum": 0 }, "failed": { "type": "integer", "minimum": 0 },
|
|
241
|
+
"skipped": { "type": "integer", "minimum": 0 }, "uncertain": { "type": "integer", "minimum": 0 },
|
|
242
|
+
"revisited": { "type": "integer", "minimum": 0 },
|
|
243
|
+
"byStage": {
|
|
244
|
+
"type": "array", "minItems": 7, "maxItems": 7,
|
|
245
|
+
"items": {
|
|
246
|
+
"type": "object", "additionalProperties": false,
|
|
247
|
+
"required": ["id", "complete", "current", "available", "waiting", "blocked", "failed", "skipped", "uncertain", "revisited"],
|
|
248
|
+
"properties": {
|
|
249
|
+
"id": { "enum": ["observe", "understand", "decide", "govern", "act", "verify", "learn"] },
|
|
250
|
+
"complete": { "type": "integer", "minimum": 0 }, "current": { "type": "integer", "minimum": 0 },
|
|
251
|
+
"available": { "type": "integer", "minimum": 0 }, "waiting": { "type": "integer", "minimum": 0 },
|
|
252
|
+
"blocked": { "type": "integer", "minimum": 0 }, "failed": { "type": "integer", "minimum": 0 },
|
|
253
|
+
"skipped": { "type": "integer", "minimum": 0 }, "uncertain": { "type": "integer", "minimum": 0 },
|
|
254
|
+
"revisited": { "type": "integer", "minimum": 0 }
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"proofCounts": {
|
|
261
|
+
"type": "object", "additionalProperties": false,
|
|
262
|
+
"required": ["status", "linkedEvidence", "restrictedEvidence", "resolvedClaims", "unresolvedClaims", "verifiedOutcomes", "unverifiedOutcomes", "reasonCodes"],
|
|
263
|
+
"properties": {
|
|
264
|
+
"status": { "enum": ["verified", "unverified", "partial", "not-required"] },
|
|
265
|
+
"linkedEvidence": { "type": "integer", "minimum": 0 }, "restrictedEvidence": { "type": "integer", "minimum": 0 },
|
|
266
|
+
"resolvedClaims": { "type": "integer", "minimum": 0 }, "unresolvedClaims": { "type": "integer", "minimum": 0 },
|
|
267
|
+
"verifiedOutcomes": { "type": "integer", "minimum": 0 }, "unverifiedOutcomes": { "type": "integer", "minimum": 0 },
|
|
268
|
+
"reasonCodes": { "type": "array", "maxItems": 128, "uniqueItems": true, "items": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{0,127}$" } }
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"seatCounts": {
|
|
272
|
+
"type": "object", "additionalProperties": false,
|
|
273
|
+
"required": ["total", "terminal", "validated", "rejected", "failed", "abandoned", "active", "pending", "typedAbsences"],
|
|
274
|
+
"properties": {
|
|
275
|
+
"total": { "type": "integer", "minimum": 0 }, "terminal": { "type": "integer", "minimum": 0 },
|
|
276
|
+
"validated": { "type": "integer", "minimum": 0 }, "rejected": { "type": "integer", "minimum": 0 },
|
|
277
|
+
"failed": { "type": "integer", "minimum": 0 },
|
|
278
|
+
"abandoned": { "type": "integer", "minimum": 0 }, "active": { "type": "integer", "minimum": 0 },
|
|
279
|
+
"pending": { "type": "integer", "minimum": 0 }, "typedAbsences": { "type": "integer", "minimum": 0 }
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"evidenceCounts": {
|
|
283
|
+
"type": "object", "additionalProperties": false,
|
|
284
|
+
"required": ["total", "available", "restricted", "current", "historical", "stale", "linked", "omitted"],
|
|
285
|
+
"properties": {
|
|
286
|
+
"total": { "type": "integer", "minimum": 0 }, "available": { "type": "integer", "minimum": 0 },
|
|
287
|
+
"restricted": { "type": "integer", "minimum": 0 }, "current": { "type": "integer", "minimum": 0 },
|
|
288
|
+
"historical": { "type": "integer", "minimum": 0 }, "stale": { "type": "integer", "minimum": 0 },
|
|
289
|
+
"linked": { "type": "integer", "minimum": 0 }, "omitted": { "type": "integer", "minimum": 0 }
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"claimCounts": {
|
|
293
|
+
"type": "object", "additionalProperties": false,
|
|
294
|
+
"required": ["total", "supported", "contradicted", "uncertain", "unknown", "restricted"],
|
|
295
|
+
"properties": {
|
|
296
|
+
"total": { "type": "integer", "minimum": 0 }, "supported": { "type": "integer", "minimum": 0 },
|
|
297
|
+
"contradicted": { "type": "integer", "minimum": 0 }, "uncertain": { "type": "integer", "minimum": 0 },
|
|
298
|
+
"unknown": { "type": "integer", "minimum": 0 }, "restricted": { "type": "integer", "minimum": 0 }
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"verificationCounts": {
|
|
302
|
+
"type": "object", "additionalProperties": false,
|
|
303
|
+
"required": ["total", "verified", "unverified", "notRequired", "insufficientEvidence"],
|
|
304
|
+
"properties": {
|
|
305
|
+
"total": { "type": "integer", "minimum": 0 }, "verified": { "type": "integer", "minimum": 0 },
|
|
306
|
+
"unverified": { "type": "integer", "minimum": 0 }, "notRequired": { "type": "integer", "minimum": 0 },
|
|
307
|
+
"insufficientEvidence": { "type": "integer", "minimum": 0 }
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"attentionCounts": {
|
|
311
|
+
"type": "object", "additionalProperties": false,
|
|
312
|
+
"required": ["total", "blocking", "actionable", "unavailable"],
|
|
313
|
+
"properties": {
|
|
314
|
+
"total": { "type": "integer", "minimum": 0 }, "blocking": { "type": "integer", "minimum": 0 },
|
|
315
|
+
"actionable": { "type": "integer", "minimum": 0 }, "unavailable": { "type": "integer", "minimum": 0 }
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"summaryOmissions": {
|
|
319
|
+
"type": "object", "additionalProperties": false,
|
|
320
|
+
"required": ["total", "restricted", "absent", "reasonCodes"],
|
|
321
|
+
"properties": {
|
|
322
|
+
"total": { "type": "integer", "minimum": 0 }, "restricted": { "type": "integer", "minimum": 0 },
|
|
323
|
+
"absent": { "type": "integer", "minimum": 0 },
|
|
324
|
+
"reasonCodes": { "type": "array", "maxItems": 128, "uniqueItems": true, "items": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{0,127}$" } }
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"terminalDisposition": {
|
|
328
|
+
"type": "object", "additionalProperties": false,
|
|
329
|
+
"required": [
|
|
330
|
+
"receiptId", "decision", "appliedChoiceId", "appliedChoiceHash", "appliedWorkDispositions",
|
|
331
|
+
"readEventHead", "eventHead", "committedAt"
|
|
332
|
+
],
|
|
333
|
+
"properties": {
|
|
334
|
+
"receiptId": { "type": "string", "pattern": "^rrc_[A-Za-z0-9][A-Za-z0-9._-]{7,127}$" },
|
|
335
|
+
"decision": { "enum": ["approved", "changes_requested", "rejected", "cancelled"] },
|
|
336
|
+
"appliedChoiceId": { "$ref": "operating-review-read.schema.json#/$defs/dispositionChoice/properties/choiceId" },
|
|
337
|
+
"appliedChoiceHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
338
|
+
"appliedWorkDispositions": {
|
|
339
|
+
"type": "array", "maxItems": 1024, "uniqueItems": true,
|
|
340
|
+
"items": { "$ref": "operating-review.schema.json#/$defs/workDisposition" }
|
|
341
|
+
},
|
|
342
|
+
"readEventHead": { "$ref": "operate-experience-view.schema.json#/$defs/eventHead" },
|
|
343
|
+
"eventHead": { "$ref": "operate-experience-view.schema.json#/$defs/eventHead" },
|
|
344
|
+
"committedAt": { "type": "string", "format": "date-time" }
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"capability": {
|
|
348
|
+
"oneOf": [
|
|
349
|
+
{
|
|
350
|
+
"type": "object", "additionalProperties": false,
|
|
351
|
+
"required": ["available", "actions", "reason"],
|
|
352
|
+
"properties": {
|
|
353
|
+
"available": { "const": true },
|
|
354
|
+
"actions": { "type": "array", "minItems": 1, "maxItems": 128, "items": { "$ref": "operate-experience-view.schema.json#/$defs/boundAllowedAction" } },
|
|
355
|
+
"reason": { "type": "null" }
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"type": "object", "additionalProperties": false,
|
|
360
|
+
"required": ["available", "actions", "reason"],
|
|
361
|
+
"properties": {
|
|
362
|
+
"available": { "const": false },
|
|
363
|
+
"actions": { "type": "array", "maxItems": 0 },
|
|
364
|
+
"reason": { "$ref": "#/$defs/unavailableReason" }
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
"unavailableReason": {
|
|
370
|
+
"type": "object", "additionalProperties": false,
|
|
371
|
+
"required": ["code", "message"],
|
|
372
|
+
"properties": {
|
|
373
|
+
"code": { "type": "string", "pattern": "^[A-Z][A-Z0-9_]{0,127}$" },
|
|
374
|
+
"message": { "$ref": "operating-review-read.schema.json#/$defs/title" }
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"integrity": {
|
|
378
|
+
"type": "object", "additionalProperties": false,
|
|
379
|
+
"required": ["algorithm", "domain", "sourceArtifactKind", "sourceViewHash", "sourceArtifactHash", "contentHash"],
|
|
380
|
+
"properties": {
|
|
381
|
+
"algorithm": { "const": "sha-256-jcs" },
|
|
382
|
+
"domain": { "const": "openplanr:operate-review-display-workspace:1.0.0" },
|
|
383
|
+
"sourceArtifactKind": { "enum": ["operating-review-read", "operating-review-receipt"] },
|
|
384
|
+
"sourceViewHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
385
|
+
"sourceArtifactHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" },
|
|
386
|
+
"contentHash": { "$ref": "operate-experience-view.schema.json#/$defs/hash" }
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openplanr.dev/schemas/v2.0.0/operate-snapshot-provider-registration.schema.json",
|
|
4
|
+
"x-openplanr-contract": { "id": "operate-snapshot-provider-registration", "version": "2.0.0" },
|
|
5
|
+
"title": "OpenPlanr Operate 2.0 snapshot provider declaration",
|
|
6
|
+
"description": "A data-only, non-authorizing descriptor for a public built-in that returns an accepted-input snapshot candidate. It cannot name executable code, a connection, a credential, or an effect.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"required": ["kind", "schemaVersion", "protocolVersion", "providerId", "providerVersion", "supportedDomains", "inputContract", "outputContract", "accessMode", "returnSemantics", "errorCodes", "provenance", "conformanceDigest", "implementation", "fallback"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": { "const": "operate-snapshot-provider-registration" }, "schemaVersion": { "const": "1.0.0" }, "protocolVersion": { "const": "2.0.0" }, "providerId": { "$ref": "#/$defs/id" }, "providerVersion": { "$ref": "#/$defs/version" }, "supportedDomains": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/domain" } }, "inputContract": { "$ref": "#/$defs/inputContract" }, "outputContract": { "$ref": "#/$defs/outputContract" }, "accessMode": { "enum": ["accepted-input-only", "declared-read-only"] }, "returnSemantics": { "const": "candidate" }, "errorCodes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "enum": ["OPERATING_PROVIDER_INPUT_INVALID", "OPERATING_PROVIDER_UNAVAILABLE"] } }, "provenance": { "$ref": "#/$defs/provenance" }, "conformanceDigest": { "$ref": "#/$defs/hash" }, "implementation": { "$ref": "#/$defs/builtIn" }, "fallback": { "$ref": "#/$defs/fallback" }
|
|
12
|
+
},
|
|
13
|
+
"$defs": {
|
|
14
|
+
"builtIn": { "type": "object", "additionalProperties": false, "required": ["kind", "id"], "properties": { "kind": { "const": "built-in" }, "id": { "$ref": "#/$defs/id" } } }, "domain": { "type": "object", "additionalProperties": false, "required": ["apiDomainId", "domainContractId", "domainContractVersion"], "properties": { "apiDomainId": { "$ref": "#/$defs/id" }, "domainContractId": { "$ref": "#/$defs/id" }, "domainContractVersion": { "$ref": "#/$defs/version" } } }, "fallback": { "type": "object", "additionalProperties": false, "required": ["kind", "errorCode"], "properties": { "kind": { "const": "unavailable" }, "errorCode": { "const": "OPERATING_PROVIDER_UNAVAILABLE" } } }, "hash": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }, "id": { "type": "string", "minLength": 1, "maxLength": 128, "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" }, "inputContract": { "type": "object", "additionalProperties": false, "required": ["schemaId", "schemaVersion"], "properties": { "schemaId": { "enum": ["operating-artifact", "operating-snapshot"] }, "schemaVersion": { "const": "2.0.0" } } }, "outputContract": { "type": "object", "additionalProperties": false, "required": ["schemaId", "schemaVersion"], "properties": { "schemaId": { "const": "operating-snapshot" }, "schemaVersion": { "const": "2.0.0" } } }, "provenance": { "type": "object", "additionalProperties": false, "required": ["packageName", "packageVersion", "integrity"], "properties": { "packageName": { "$ref": "#/$defs/id" }, "packageVersion": { "$ref": "#/$defs/version" }, "integrity": { "$ref": "#/$defs/hash" } } }, "version": { "type": "string", "pattern": "^(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)$" }
|
|
15
|
+
}
|
|
16
|
+
}
|