{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.calendar-entry-to-event-hero",
    "name": "Calendar entry to event hero",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming calendar.entry into ui.event_hero.",
    "sourceShape": {
      "id": "calendar.entry",
      "sampleId": "calendar.entry.sample",
      "variables": [
        {
          "id": "summary",
          "label": "Summary",
          "value": "sample summary",
          "authority": "source-snapshot"
        },
        {
          "id": "starts_at",
          "label": "Starts At",
          "value": "sample starts at",
          "authority": "source-snapshot"
        },
        {
          "id": "location",
          "label": "Location",
          "value": "sample location",
          "authority": "source-snapshot"
        },
        {
          "id": "description",
          "label": "Description",
          "value": "sample description",
          "authority": "source-snapshot"
        },
        {
          "id": "url",
          "label": "Url",
          "value": "sample url",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "ui.event_hero",
      "sampleId": "ui.event_hero.template",
      "variables": [
        {
          "id": "date_badge",
          "label": "Date Badge",
          "proposedValue": "proposed date badge",
          "authority": "proposed-output"
        },
        {
          "id": "headline",
          "label": "Headline",
          "proposedValue": "proposed headline",
          "authority": "proposed-output"
        },
        {
          "id": "location_line",
          "label": "Location Line",
          "proposedValue": "proposed location line",
          "authority": "proposed-output"
        },
        {
          "id": "body",
          "label": "Body",
          "proposedValue": "proposed body",
          "authority": "proposed-output"
        },
        {
          "id": "cta_href",
          "label": "Cta Href",
          "proposedValue": "proposed cta href",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-calendar-entry-to-event-hero-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-calendar-entry-to-event-hero-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-calendar-entry-to-event-hero-date-badge",
        "sources": [
          "summary"
        ],
        "destination": "date_badge",
        "operation": "generate",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-calendar-entry-to-event-hero-headline",
        "sources": [
          "starts_at"
        ],
        "destination": "headline",
        "operation": "generate",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-calendar-entry-to-event-hero-location-line",
        "sources": [
          "location"
        ],
        "destination": "location_line",
        "operation": "generate",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-calendar-entry-to-event-hero-body",
        "sources": [
          "description"
        ],
        "destination": "body",
        "operation": "generate",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-calendar-entry-to-event-hero-cta-href",
        "sources": [
          "url"
        ],
        "destination": "cta_href",
        "operation": "generate",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "summary": "sample summary",
        "starts_at": "sample starts_at",
        "location": "sample location",
        "description": "sample description",
        "url": "sample url"
      },
      "proposed": {
        "date_badge": "proposed date_badge",
        "headline": "proposed headline",
        "location_line": "proposed location_line",
        "body": "proposed body",
        "cta_href": "proposed cta_href"
      },
      "destination": "ui.event_hero"
    },
    "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": "calendar.entry",
      "destinationShape": "ui.event_hero"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
