Relationship Policy Candidate v1¶
Source schema: doc/schemas/relationship-policy-candidate.v1.schema.json
Host-internal eligibility read model produced while evaluating relationship-derived policy. A candidate is diagnostic input, not authority.
Governing Basis¶
doc/project/40-proposals/065-local-relationship-layer.mddoc/project/60-solutions/032-local-relationship-layer/032-local-relationship-layer.md
Project Lineage¶
Requirements¶
doc/project/50-requirements/requirements-006-node-networking-mvp.mddoc/project/50-requirements/requirements-010-middleware-executor.mddoc/project/50-requirements/requirements-011-dator-arca-contracts.mddoc/project/50-requirements/requirements-014-resource-opinions.md
Stories¶
doc/project/30-stories/story-001-swarm-node-onboarding.mddoc/project/30-stories/story-004-pod-client-onboarding.mddoc/project/30-stories/story-005-whisper-rumor-intake.mddoc/project/30-stories/story-006-buyer-node-components.mddoc/project/30-stories/story-006-voluntary-swarm-exchange.mddoc/project/30-stories/story-007-settlement-capable-node.mddoc/project/30-stories/story-008-cool-site-comment.md
Fields¶
| Field | Required | Shape | Description |
|---|---|---|---|
schema |
yes |
const: relationship-policy-candidate.v1 |
|
schema/v |
yes |
const: 1 |
|
candidate/id |
yes |
string | |
predicate/ref |
yes |
string | |
contact/ref |
yes |
string | |
class/id |
yes |
ref: relationship-class.v1.schema.json#/$defs/class_id |
|
relationship/fact-id |
yes |
string | |
local/operator-ref |
yes |
string | |
remote/operator-ref |
no |
string | |
participant/ref |
no |
string | |
node/ref |
no |
string | |
node-operator-binding/ref |
no |
string | |
evidence/ref |
yes |
array | |
action/kind |
yes |
ref: relationship-policy-predicate.v1.schema.json#/$defs/action_kind |
|
policy/ref |
yes |
string | |
candidate/effects |
yes |
array | |
limits |
yes |
ref: relationship-policy-predicate.v1.schema.json#/$defs/limits |
|
valid/until |
yes |
string | |
decision/hint |
yes |
enum: eligible, quarantine, deny |
|
as-of-tx/id |
yes |
string |
Definitions¶
| Definition | Shape | Description |
|---|---|---|
candidate_effect |
object | |
| ## Field Semantics |
schema¶
- Required:
yes - Shape: const:
relationship-policy-candidate.v1
schema/v¶
- Required:
yes - Shape: const:
1
candidate/id¶
- Required:
yes - Shape: string
predicate/ref¶
- Required:
yes - Shape: string
contact/ref¶
- Required:
yes - Shape: string
class/id¶
- Required:
yes - Shape: ref:
relationship-class.v1.schema.json#/$defs/class_id
relationship/fact-id¶
- Required:
yes - Shape: string
local/operator-ref¶
- Required:
yes - Shape: string
remote/operator-ref¶
- Required:
no - Shape: string
participant/ref¶
- Required:
no - Shape: string
node/ref¶
- Required:
no - Shape: string
node-operator-binding/ref¶
- Required:
no - Shape: string
evidence/ref¶
- Required:
yes - Shape: array
action/kind¶
- Required:
yes - Shape: ref:
relationship-policy-predicate.v1.schema.json#/$defs/action_kind
policy/ref¶
- Required:
yes - Shape: string
candidate/effects¶
- Required:
yes - Shape: array
limits¶
- Required:
yes - Shape: ref:
relationship-policy-predicate.v1.schema.json#/$defs/limits
valid/until¶
- Required:
yes - Shape: string
decision/hint¶
- Required:
yes - Shape: enum:
eligible,quarantine,deny
as-of-tx/id¶
- Required:
yes - Shape: string
Definition Semantics¶
$defs.candidate_effect¶
- Shape: object