{
  "portaShape": {
    "formatVersion": "0.1",
    "kind": "mvp-example",
    "id": "example.contact-card-to-crm-lead",
    "name": "Contact card to CRM lead",
    "mvpStatus": "complete",
    "summary": "MVP playground fixture for transforming contact.card into crm.lead.",
    "sourceShape": {
      "id": "contact.card",
      "sampleId": "contact.card.sample",
      "variables": [
        {
          "id": "name",
          "label": "Name",
          "value": "sample name",
          "authority": "source-snapshot"
        },
        {
          "id": "email",
          "label": "Email",
          "value": "sample email",
          "authority": "source-snapshot"
        },
        {
          "id": "phone",
          "label": "Phone",
          "value": "sample phone",
          "authority": "source-snapshot"
        },
        {
          "id": "company",
          "label": "Company",
          "value": "sample company",
          "authority": "source-snapshot"
        },
        {
          "id": "title",
          "label": "Title",
          "value": "sample title",
          "authority": "source-snapshot"
        },
        {
          "id": "notes",
          "label": "Notes",
          "value": "sample notes",
          "authority": "source-snapshot"
        }
      ]
    },
    "destinationShape": {
      "id": "crm.lead",
      "sampleId": "crm.lead.template",
      "variables": [
        {
          "id": "lead_name",
          "label": "Lead Name",
          "proposedValue": "proposed lead name",
          "authority": "proposed-output"
        },
        {
          "id": "email",
          "label": "Email",
          "proposedValue": "proposed email",
          "authority": "proposed-output"
        },
        {
          "id": "phone",
          "label": "Phone",
          "proposedValue": "proposed phone",
          "authority": "proposed-output"
        },
        {
          "id": "company_name",
          "label": "Company Name",
          "proposedValue": "proposed company name",
          "authority": "proposed-output"
        },
        {
          "id": "job_title",
          "label": "Job Title",
          "proposedValue": "proposed job title",
          "authority": "proposed-output"
        },
        {
          "id": "description",
          "label": "Description",
          "proposedValue": "proposed description",
          "authority": "proposed-output"
        }
      ]
    },
    "controls": [
      {
        "id": "control-contact-card-to-crm-lead-primary",
        "label": "Review primary mapping",
        "type": "mapping-inspector",
        "edits": [
          "mapping.sources",
          "mapping.operation",
          "destination.proposedValue"
        ]
      },
      {
        "id": "control-contact-card-to-crm-lead-save",
        "label": "Save as new shape",
        "type": "action",
        "writes": "artifact-library"
      }
    ],
    "mappings": [
      {
        "id": "map-contact-card-to-crm-lead-lead-name",
        "sources": [
          "name"
        ],
        "destination": "lead_name",
        "operation": "copy+normalize",
        "editable": true,
        "confidence": 0.86
      },
      {
        "id": "map-contact-card-to-crm-lead-email",
        "sources": [
          "email"
        ],
        "destination": "email",
        "operation": "copy+normalize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-contact-card-to-crm-lead-phone",
        "sources": [
          "phone"
        ],
        "destination": "phone",
        "operation": "copy+normalize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-contact-card-to-crm-lead-company-name",
        "sources": [
          "company"
        ],
        "destination": "company_name",
        "operation": "copy+normalize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-contact-card-to-crm-lead-job-title",
        "sources": [
          "title"
        ],
        "destination": "job_title",
        "operation": "copy+normalize",
        "editable": false,
        "confidence": 0.78
      },
      {
        "id": "map-contact-card-to-crm-lead-description",
        "sources": [
          "notes"
        ],
        "destination": "description",
        "operation": "copy+normalize",
        "editable": false,
        "confidence": 0.78
      }
    ],
    "preview": {
      "source": {
        "name": "sample name",
        "email": "sample email",
        "phone": "sample phone",
        "company": "sample company",
        "title": "sample title",
        "notes": "sample notes"
      },
      "proposed": {
        "lead_name": "proposed lead_name",
        "email": "proposed email",
        "phone": "proposed phone",
        "company_name": "proposed company_name",
        "job_title": "proposed job_title",
        "description": "proposed description"
      },
      "destination": "crm.lead"
    },
    "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": "contact.card",
      "destinationShape": "crm.lead"
    },
    "runEvidence": {
      "status": "sample-passed",
      "assertions": [
        "all-required-destination-values-populated",
        "mapping-confidence-recorded",
        "export-contains-workflow-policy-snapshot-and-evidence"
      ]
    }
  }
}
