Skip to content

Branch main Contract EncodedState

github-actions[bot] edited this page May 3, 2026 · 105 revisions

Contract: Encodedstate

Back to Branch Overview

Field Value
Branch main
Source specs/contracts/EncodedState.schema.json
Commit 194c181637a9
Synced (UTC) 2026-05-03T12:20:35Z

JSON Payload

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EncodedStateProjection",
  "description": "Authoritative downstream state encoding projection built under the ASH Pattern System. Surface maps are projected into mappedSemanticState for ASH semantic handling.",
  "x-ash-role": "authoritative-downstream-mapping",
  "x-upstream-contract": "AshSemanticState.schema.json",
  "type": "object",
  "properties": {
    "surfaceObserved": {
      "type": "object",
      "additionalProperties": true
    },
    "surfaceDesired": {
      "type": "object",
      "additionalProperties": true
    },
    "mappedSemanticState": {
      "$ref": "AshSemanticState.schema.json"
    },
    "mappingEvidenceID": {
      "type": "string"
    }
  },
  "required": ["surfaceObserved", "surfaceDesired", "mappedSemanticState", "mappingEvidenceID"],
  "additionalProperties": false
}

Clone this wiki locally