Přeskočit obsah

Operator Task Binding Maintenance Response v1

Source schema: doc/schemas/operator-task-binding-maintenance.response.v1.schema.json

A bounded source maintenance observation. Preview is read-only. Recorded outcomes precede consumption, but never renew a package activation, operator binding, lease or run grant. Conflict never authorizes replacement.

Governing Basis

Project Lineage

Fields

Field Required Shape Description
schema yes const: operator-task-binding-maintenance.response.v1
schema/v yes const: 1
action yes enum: preview-migration, adopt-migration, recover
binding/ref yes ref: operator-task-common.v1.schema.json#/$defs/ref
authority/renewed yes const: False
disposition yes enum: preview, recorded, no-intent
plan no ref: config-change-plan.v1.schema.json
commit/outcome no enum: None, committed, not-committed, recovered-committed, no-op-content, conflict
transaction/ref no unspecified

Conditional Rules

Rule 1

When:

{
  "required": [
    "action"
  ],
  "properties": {
    "action": {
      "const": "preview-migration"
    }
  }
}

Then:

{
  "required": [
    "plan"
  ],
  "properties": {
    "disposition": {
      "const": "preview"
    }
  },
  "not": {
    "anyOf": [
      {
        "required": [
          "commit/outcome"
        ]
      },
      {
        "required": [
          "transaction/ref"
        ]
      }
    ]
  }
}

Rule 2

When:

{
  "required": [
    "disposition"
  ],
  "properties": {
    "disposition": {
      "const": "recorded"
    }
  }
}

Then:

{
  "properties": {
    "commit/outcome": {
      "type": "string"
    },
    "transaction/ref": {
      "type": "string"
    }
  }
}

Rule 3

When:

{
  "required": [
    "disposition"
  ],
  "properties": {
    "disposition": {
      "const": "no-intent"
    }
  }
}

Then:

{
  "properties": {
    "action": {
      "const": "recover"
    },
    "commit/outcome": {
      "type": "null"
    },
    "transaction/ref": {
      "type": "null"
    }
  }
}

Rule 4

When:

{
  "required": [
    "action"
  ],
  "properties": {
    "action": {
      "const": "adopt-migration"
    }
  }
}

Then:

{
  "required": [
    "plan"
  ],
  "properties": {
    "disposition": {
      "const": "recorded"
    },
    "commit/outcome": {
      "const": "no-op-content"
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: operator-task-binding-maintenance.response.v1

schema/v

  • Required: yes
  • Shape: const: 1

action

  • Required: yes
  • Shape: enum: preview-migration, adopt-migration, recover

binding/ref

  • Required: yes
  • Shape: ref: operator-task-common.v1.schema.json#/$defs/ref

authority/renewed

  • Required: yes
  • Shape: const: False

disposition

  • Required: yes
  • Shape: enum: preview, recorded, no-intent

plan

  • Required: no
  • Shape: ref: config-change-plan.v1.schema.json

commit/outcome

  • Required: no
  • Shape: enum: None, committed, not-committed, recovered-committed, no-op-content, conflict

transaction/ref

  • Required: no
  • Shape: unspecified