{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.faq-list-to-accordion",
    "name": "FAQ list to accordion",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming content.faq_pairs into ui.faq_accordion.",
    "sourceShape": {
      "id": "content.faq_pairs",
      "sampleId": "content.faq_pairs.sample",
      "variables": [
        {
          "id": "questions",
          "label": "Questions",
          "value": "sample questions",
          "authority": "source-snapshot"
        },
        {
          "id": "answers",
          "label": "Answers",
          "value": "sample answers",
          "authority": "source-snapshot"
        },
        {
          "id": "order",
          "label": "Order",
          "value": "sample order",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "ui.faq_accordion",
      "sampleId": "ui.faq_accordion.template",
      "variables": [
        {
          "id": "items",
          "label": "Items",
          "proposedValue": "proposed items",
          "authority": "proposed-output"
        },
        {
          "id": "button_labels",
          "label": "Button Labels",
          "proposedValue": "proposed button labels",
          "authority": "proposed-output"
        },
        {
          "id": "panels",
          "label": "Panels",
          "proposedValue": "proposed panels",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-faq-list-to-accordion-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-faq-list-to-accordion-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-faq-list-to-accordion-items",
        "sources": [
          "questions"
        ],
        "destination": "items",
        "operation": "componentize",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-faq-list-to-accordion-button-labels",
        "sources": [
          "answers"
        ],
        "destination": "button_labels",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-faq-list-to-accordion-panels",
        "sources": [
          "order"
        ],
        "destination": "panels",
        "operation": "componentize",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "questions": "sample questions",
        "answers": "sample answers",
        "order": "sample order"
      },
      "proposed": {
        "items": "proposed items",
        "button_labels": "proposed button_labels",
        "panels": "proposed panels"
      },
      "destination": "ui.faq_accordion"
    },
    "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.faq_pairs",
      "destinationShape": "ui.faq_accordion"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
