{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.mini-landing-section-to-component-shape",
    "name": "Mini landing section to component shape",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming html.landing_section into component.reusable_section.",
    "sourceShape": {
      "id": "html.landing_section",
      "sampleId": "html.landing_section.sample",
      "variables": [
        {
          "id": "heading",
          "label": "Heading",
          "value": "sample heading",
          "authority": "source-snapshot"
        },
        {
          "id": "body",
          "label": "Body",
          "value": "sample body",
          "authority": "source-snapshot"
        },
        {
          "id": "button_text",
          "label": "Button Text",
          "value": "sample button text",
          "authority": "source-snapshot"
        },
        {
          "id": "button_href",
          "label": "Button Href",
          "value": "sample button href",
          "authority": "source-snapshot"
        },
        {
          "id": "image_src",
          "label": "Image Src",
          "value": "sample image src",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "component.reusable_section",
      "sampleId": "component.reusable_section.template",
      "variables": [
        {
          "id": "component_id",
          "label": "Component Id",
          "proposedValue": "proposed component id",
          "authority": "proposed-output"
        },
        {
          "id": "slots",
          "label": "Slots",
          "proposedValue": "proposed slots",
          "authority": "proposed-output"
        },
        {
          "id": "props",
          "label": "Props",
          "proposedValue": "proposed props",
          "authority": "proposed-output"
        },
        {
          "id": "preview_markup",
          "label": "Preview Markup",
          "proposedValue": "proposed preview markup",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-mini-landing-section-to-component-shape-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-mini-landing-section-to-component-shape-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-mini-landing-section-to-component-shape-component-id",
        "sources": [
          "heading"
        ],
        "destination": "component_id",
        "operation": "componentize",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-mini-landing-section-to-component-shape-slots",
        "sources": [
          "body"
        ],
        "destination": "slots",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-mini-landing-section-to-component-shape-props",
        "sources": [
          "button_text"
        ],
        "destination": "props",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-mini-landing-section-to-component-shape-preview-markup",
        "sources": [
          "button_href"
        ],
        "destination": "preview_markup",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "heading": "sample heading",
        "body": "sample body",
        "button_text": "sample button_text",
        "button_href": "sample button_href",
        "image_src": "sample image_src"
      },
      "proposed": {
        "component_id": "proposed component_id",
        "slots": "proposed slots",
        "props": "proposed props",
        "preview_markup": "proposed preview_markup"
      },
      "destination": "component.reusable_section"
    },
    "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": "html.landing_section",
      "destinationShape": "component.reusable_section"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
