{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.profile-card-to-csv-row",
    "name": "Profile card to CSV row",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming ui.profile_card into csv.customer_row.",
    "sourceShape": {
      "id": "ui.profile_card",
      "sampleId": "ui.profile_card.sample",
      "variables": [
        {
          "id": "heading",
          "label": "Heading",
          "value": "sample heading",
          "authority": "source-snapshot"
        },
        {
          "id": "subheading",
          "label": "Subheading",
          "value": "sample subheading",
          "authority": "source-snapshot"
        },
        {
          "id": "badge",
          "label": "Badge",
          "value": "sample badge",
          "authority": "source-snapshot"
        },
        {
          "id": "link_href",
          "label": "Link Href",
          "value": "sample link href",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "csv.customer_row",
      "sampleId": "csv.customer_row.template",
      "variables": [
        {
          "id": "customer_name",
          "label": "Customer Name",
          "proposedValue": "proposed customer name",
          "authority": "proposed-output"
        },
        {
          "id": "email",
          "label": "Email",
          "proposedValue": "proposed email",
          "authority": "proposed-output"
        },
        {
          "id": "plan",
          "label": "Plan",
          "proposedValue": "proposed plan",
          "authority": "proposed-output"
        },
        {
          "id": "status",
          "label": "Status",
          "proposedValue": "proposed status",
          "authority": "proposed-output"
        },
        {
          "id": "profile_url",
          "label": "Profile Url",
          "proposedValue": "proposed profile url",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-profile-card-to-csv-row-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-profile-card-to-csv-row-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-profile-card-to-csv-row-customer-name",
        "sources": [
          "heading"
        ],
        "destination": "customer_name",
        "operation": "flatten",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-profile-card-to-csv-row-email",
        "sources": [
          "subheading"
        ],
        "destination": "email",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-profile-card-to-csv-row-plan",
        "sources": [
          "badge"
        ],
        "destination": "plan",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-profile-card-to-csv-row-status",
        "sources": [
          "link_href"
        ],
        "destination": "status",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-profile-card-to-csv-row-profile-url",
        "sources": [
          "link_href"
        ],
        "destination": "profile_url",
        "operation": "flatten",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "heading": "sample heading",
        "subheading": "sample subheading",
        "badge": "sample badge",
        "link_href": "sample link_href"
      },
      "proposed": {
        "customer_name": "proposed customer_name",
        "email": "proposed email",
        "plan": "proposed plan",
        "status": "proposed status",
        "profile_url": "proposed profile_url"
      },
      "destination": "csv.customer_row"
    },
    "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.profile_card",
      "destinationShape": "csv.customer_row"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
