{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.navigation-bar-to-sitemap",
    "name": "Navigation bar to sitemap",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming ui.nav_bar into site.sitemap.",
    "sourceShape": {
      "id": "ui.nav_bar",
      "sampleId": "ui.nav_bar.sample",
      "variables": [
        {
          "id": "items",
          "label": "Items",
          "value": "sample items",
          "authority": "source-snapshot"
        },
        {
          "id": "active_item",
          "label": "Active Item",
          "value": "sample active item",
          "authority": "source-snapshot"
        },
        {
          "id": "layout",
          "label": "Layout",
          "value": "sample layout",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "site.sitemap",
      "sampleId": "site.sitemap.template",
      "variables": [
        {
          "id": "urls",
          "label": "Urls",
          "proposedValue": "proposed urls",
          "authority": "proposed-output"
        },
        {
          "id": "labels",
          "label": "Labels",
          "proposedValue": "proposed labels",
          "authority": "proposed-output"
        },
        {
          "id": "priority",
          "label": "Priority",
          "proposedValue": "proposed priority",
          "authority": "proposed-output"
        },
        {
          "id": "changefreq",
          "label": "Changefreq",
          "proposedValue": "proposed changefreq",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-navigation-bar-to-sitemap-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-navigation-bar-to-sitemap-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-navigation-bar-to-sitemap-urls",
        "sources": [
          "items"
        ],
        "destination": "urls",
        "operation": "flatten",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-navigation-bar-to-sitemap-labels",
        "sources": [
          "active_item"
        ],
        "destination": "labels",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-navigation-bar-to-sitemap-priority",
        "sources": [
          "layout"
        ],
        "destination": "priority",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-navigation-bar-to-sitemap-changefreq",
        "sources": [
          "layout"
        ],
        "destination": "changefreq",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "items": "sample items",
        "active_item": "sample active_item",
        "layout": "sample layout"
      },
      "proposed": {
        "urls": "proposed urls",
        "labels": "proposed labels",
        "priority": "proposed priority",
        "changefreq": "proposed changefreq"
      },
      "destination": "site.sitemap"
    },
    "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": "ui.nav_bar",
      "destinationShape": "site.sitemap"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
