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