{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.gallery-card-to-asset-manifest",
    "name": "Gallery card to asset manifest",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming ui.gallery_card into asset.manifest_item.",
    "sourceShape": {
      "id": "ui.gallery_card",
      "sampleId": "ui.gallery_card.sample",
      "variables": [
        {
          "id": "image_src",
          "label": "Image Src",
          "value": "sample image src",
          "authority": "source-snapshot"
        },
        {
          "id": "alt",
          "label": "Alt",
          "value": "sample alt",
          "authority": "source-snapshot"
        },
        {
          "id": "caption",
          "label": "Caption",
          "value": "sample caption",
          "authority": "source-snapshot"
        },
        {
          "id": "meta",
          "label": "Meta",
          "value": "sample meta",
          "authority": "source-snapshot"
        },
        {
          "id": "tags",
          "label": "Tags",
          "value": "sample tags",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "asset.manifest_item",
      "sampleId": "asset.manifest_item.template",
      "variables": [
        {
          "id": "path",
          "label": "Path",
          "proposedValue": "proposed path",
          "authority": "proposed-output"
        },
        {
          "id": "alt_text",
          "label": "Alt Text",
          "proposedValue": "proposed alt text",
          "authority": "proposed-output"
        },
        {
          "id": "caption",
          "label": "Caption",
          "proposedValue": "proposed caption",
          "authority": "proposed-output"
        },
        {
          "id": "credit",
          "label": "Credit",
          "proposedValue": "proposed credit",
          "authority": "proposed-output"
        },
        {
          "id": "tags",
          "label": "Tags",
          "proposedValue": "proposed tags",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-gallery-card-to-asset-manifest-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-gallery-card-to-asset-manifest-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-gallery-card-to-asset-manifest-path",
        "sources": [
          "image_src"
        ],
        "destination": "path",
        "operation": "extract",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-gallery-card-to-asset-manifest-alt-text",
        "sources": [
          "alt"
        ],
        "destination": "alt_text",
        "operation": "extract",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-gallery-card-to-asset-manifest-caption",
        "sources": [
          "caption"
        ],
        "destination": "caption",
        "operation": "extract",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-gallery-card-to-asset-manifest-credit",
        "sources": [
          "meta"
        ],
        "destination": "credit",
        "operation": "extract",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-gallery-card-to-asset-manifest-tags",
        "sources": [
          "tags"
        ],
        "destination": "tags",
        "operation": "extract",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "image_src": "sample image_src",
        "alt": "sample alt",
        "caption": "sample caption",
        "meta": "sample meta",
        "tags": "sample tags"
      },
      "proposed": {
        "path": "proposed path",
        "alt_text": "proposed alt_text",
        "caption": "proposed caption",
        "credit": "proposed credit",
        "tags": "proposed tags"
      },
      "destination": "asset.manifest_item"
    },
    "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.gallery_card",
      "destinationShape": "asset.manifest_item"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
