{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.menu-links-to-navigation-bar",
    "name": "Menu links to navigation bar",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming content.link_list into ui.nav_bar.",
    "sourceShape": {
      "id": "content.link_list",
      "sampleId": "content.link_list.sample",
      "variables": [
        {
          "id": "links",
          "label": "Links",
          "value": "sample links",
          "authority": "source-snapshot"
        },
        {
          "id": "active_path",
          "label": "Active Path",
          "value": "sample active path",
          "authority": "source-snapshot"
        },
        {
          "id": "orientation",
          "label": "Orientation",
          "value": "sample orientation",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "ui.nav_bar",
      "sampleId": "ui.nav_bar.template",
      "variables": [
        {
          "id": "items",
          "label": "Items",
          "proposedValue": "proposed items",
          "authority": "proposed-output"
        },
        {
          "id": "active_item",
          "label": "Active Item",
          "proposedValue": "proposed active item",
          "authority": "proposed-output"
        },
        {
          "id": "layout",
          "label": "Layout",
          "proposedValue": "proposed layout",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-menu-links-to-navigation-bar-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-menu-links-to-navigation-bar-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-menu-links-to-navigation-bar-items",
        "sources": [
          "links"
        ],
        "destination": "items",
        "operation": "componentize",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-menu-links-to-navigation-bar-active-item",
        "sources": [
          "active_path"
        ],
        "destination": "active_item",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-menu-links-to-navigation-bar-layout",
        "sources": [
          "orientation"
        ],
        "destination": "layout",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "links": "sample links",
        "active_path": "sample active_path",
        "orientation": "sample orientation"
      },
      "proposed": {
        "items": "proposed items",
        "active_item": "proposed active_item",
        "layout": "proposed layout"
      },
      "destination": "ui.nav_bar"
    },
    "workflow": {
      "steps": [
        "import-source-shape",
        "inspect-variables",
        "map-values",
        "preview-transform",
        "validate-result",
        "save-as-new-shape",
        "export-posh-artifact"
      ]
    },
    "policy": {
      "requiresApproval": false,
      "checks": [
        "schema-valid",
        "authority-declared",
        "loss-reviewed",
        "provenance-recorded"
      ]
    },
    "snapshot": {
      "capturedAt": "2026-07-20T00:00:00Z",
      "sourceShape": "content.link_list",
      "destinationShape": "ui.nav_bar"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
