Skip to content

Branch main Contract EncodedState

github-actions[bot] edited this page Mar 22, 2026 · 105 revisions

Contract: EncodedState (main)

Source: specs/contracts/EncodedState.schema.json on branch main

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EncodedState",
  "description": "Flattened canonical representations of observed and desired states for drift comparison. Keys are dot-paths, values are the leaf values at those paths.",
  "type": "object",
  "properties": {
    "observed": {
      "type": "object",
      "description": "Flattened map of observed state (dot-path keys to values)",
      "additionalProperties": true
    },
    "desired": {
      "type": "object",
      "description": "Flattened map of desired state (dot-path keys to values)",
      "additionalProperties": true
    }
  },
  "required": ["observed", "desired"],
  "additionalProperties": false
}

Clone this wiki locally