{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:orbiplex:schema:node-extension-posture-evaluation:v1",
  "title": "Node Extension Posture Evaluation V1",
  "description": "Prompt-free receiver projection of one admitted peer extension-posture comparison.",
  "x-dia-workflow": "project",
  "x-dia-status": "accepted",
  "x-dia-basis": ["doc/project/40-proposals/085-operator-sovereign-extensibility-and-experiment-packages.md"],
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema", "schema/v", "node/id", "posture/ref", "posture/digest",
    "declaration/ref", "declaration/digest", "peer/profile-digest",
    "local/effective-profile-digest", "effective/entry-refs"
  ],
  "properties": {
    "schema": {"const": "node-extension-posture-evaluation.v1"},
    "schema/v": {"const": 1},
    "node/id": {"type": "string", "minLength": 1, "maxLength": 256},
    "posture/ref": {"type": "string", "pattern": "^node-extension-posture:[A-Za-z0-9._:-]{1,224}$"},
    "posture/digest": {"type": "string", "pattern": "^sha256:[A-Za-z0-9_-]{43}$"},
    "declaration/ref": {"type": "string", "pattern": "^federated-envelope:[A-Za-z0-9._:-]{1,224}$"},
    "declaration/digest": {"type": "string", "pattern": "^sha256:[A-Za-z0-9_-]{43}$"},
    "peer/profile-digest": {"type": "string", "pattern": "^sha256:[A-Za-z0-9_-]{43}$"},
    "local/effective-profile-digest": {"type": "string", "pattern": "^sha256:[A-Za-z0-9_-]{43}$"},
    "effective/entry-refs": {
      "type": "array",
      "minItems": 1,
      "maxItems": 256,
      "uniqueItems": true,
      "items": {"type": "string", "minLength": 1, "maxLength": 256}
    }
  }
}
