{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.social-preview-to-newsletter-block",
    "name": "Social preview to newsletter block",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming social.preview_card into email.newsletter_block.",
    "sourceShape": {
      "id": "social.preview_card",
      "sampleId": "social.preview_card.sample",
      "variables": [
        {
          "id": "og_title",
          "label": "Og Title",
          "value": "sample og title",
          "authority": "source-snapshot"
        },
        {
          "id": "og_description",
          "label": "Og Description",
          "value": "sample og description",
          "authority": "source-snapshot"
        },
        {
          "id": "og_image",
          "label": "Og Image",
          "value": "sample og image",
          "authority": "source-snapshot"
        },
        {
          "id": "og_url",
          "label": "Og Url",
          "value": "sample og url",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "email.newsletter_block",
      "sampleId": "email.newsletter_block.template",
      "variables": [
        {
          "id": "headline",
          "label": "Headline",
          "proposedValue": "proposed headline",
          "authority": "proposed-output"
        },
        {
          "id": "body",
          "label": "Body",
          "proposedValue": "proposed body",
          "authority": "proposed-output"
        },
        {
          "id": "image_src",
          "label": "Image Src",
          "proposedValue": "proposed image src",
          "authority": "proposed-output"
        },
        {
          "id": "cta_href",
          "label": "Cta Href",
          "proposedValue": "proposed cta href",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-social-preview-to-newsletter-block-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-social-preview-to-newsletter-block-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-social-preview-to-newsletter-block-headline",
        "sources": [
          "og_title"
        ],
        "destination": "headline",
        "operation": "transmutate",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-social-preview-to-newsletter-block-body",
        "sources": [
          "og_description"
        ],
        "destination": "body",
        "operation": "transmutate",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-social-preview-to-newsletter-block-image-src",
        "sources": [
          "og_image"
        ],
        "destination": "image_src",
        "operation": "transmutate",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-social-preview-to-newsletter-block-cta-href",
        "sources": [
          "og_url"
        ],
        "destination": "cta_href",
        "operation": "transmutate",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "og_title": "sample og_title",
        "og_description": "sample og_description",
        "og_image": "sample og_image",
        "og_url": "sample og_url"
      },
      "proposed": {
        "headline": "proposed headline",
        "body": "proposed body",
        "image_src": "proposed image_src",
        "cta_href": "proposed cta_href"
      },
      "destination": "email.newsletter_block"
    },
    "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": "social.preview_card",
      "destinationShape": "email.newsletter_block"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
