{
  "_comment": "EXAMPLE ONLY. Follows the Fields/Keys shape in AWS 'Examples of object type mappings'. Not run against a live Customer Profiles domain. Pass DomainName and ObjectTypeName on the CLI or in your own wrapper; add EncryptionKey if you want an object-type key.",
  "Description": "eCommerce order from a storefront or OMS export (example)",
  "AllowProfileCreation": true,
  "ExpirationDays": 365,
  "Fields": {
    "orderNumber": { "Source": "_source.orderNumber", "Target": "_order.Attributes.SourceOrderNumber" },
    "email": { "Source": "_source.customerEmail", "Target": "_order.CustomerEmail", "ContentType": "EMAIL_ADDRESS" },
    "phone": { "Source": "_source.customerPhone", "Target": "_order.CustomerPhone", "ContentType": "PHONE_NUMBER" },
    "status": { "Source": "_source.status", "Target": "_order.Status" },
    "fulfillmentStatus": { "Source": "_source.fulfillmentStatus", "Target": "_order.FulfillmentStatus" },
    "total": { "Source": "_source.total", "Target": "_order.TotalPrice" },
    "currency": { "Source": "_source.currency", "Target": "_order.Currency" },
    "createdAt": { "Source": "_source.createdAt", "Target": "_order.CreatedDate" }
  },
  "Keys": {
    "storeOrderNumber": [{ "StandardIdentifiers": ["ORDER", "UNIQUE"], "FieldNames": ["orderNumber"] }],
    "_email": [{ "StandardIdentifiers": ["PROFILE"], "FieldNames": ["email"] }],
    "_phone": [{ "StandardIdentifiers": ["PROFILE", "SECONDARY"], "FieldNames": ["phone"] }]
  }
}
