{ "walletOrder": { "properties": ["identifierId","identifierType","orderNumber","trackingNumber","senderDomain"], "relationship_types": { "hasDate" : "dateRelationshipType", "hasEmail" : "orderEmailRelationshipType", "hasMerchant": "entityOrganizationRelationshipType", "hasPerson": "orderPersonRelationshipType", "hasPayment": "orderPaymentRelationshipType", "hasTransaction": "orderTransactionRelationshipType", "hasShipmentFullFillment": "orderShipmentFullFillmentRelationshipType", "identifier": "identifierRelationshipType" }, "collections": ["hasEmail","hasShipmentFullFillment", "hasTransaction", "identifier"], "topLevelEntity": "true" }, "orderShipmentFullFillmentRelationshipType": { "entities": { "shipmentFullFillmentIdentifier": "shipmentFullFillmentInfo" } }, "orderPersonRelationshipType": { "entities": { "personIdentifier": "person" } }, "entityOrganizationRelationshipType": { "entities": { "organizationIdentifier": "organization" } }, "orderEmailRelationshipType": { "properties": ["identifierType"], "entities": { "emailIdentifier": "email" } }, "email": { "properties": ["identifierId","subject","senderDomain","url","emailType","toEmailAddress","toDisplayName","orderNumber","trackingNumber","merchantName","orderContentType"], "entities" : { "emailFrom": "organization", "emailReplyTo": "organization" }, "relationship_types": { "hasDate" : "dateRelationshipType", "identifier": "identifierRelationshipType" }, "collections": ["identifier"] }, "identifierRelationshipType" : { "properties" : ["identifierId", "identifierType"] }, "organization": { "properties": ["name", "teamIdentifier","url"], "relationship_types": { "hasContactInformation": "addressRelationshipType" } }, "person": { "properties": [ "firstName", "familyName", "name" , "username"], "relationship_types": { "hasContactInformation": "addressRelationshipType" } }, "shipmentFullFillmentInfo":{ "properties": ["shippingStatus","trackingNumber","carrierName","shippingMethod"], "relationship_types": { "hasEmail" : "shipmentFullFillmentEmailRelationshipType", "hasDate" : "dateRelationshipType", "hasPerson": "shipmentPersonRelationshipType" }, "collections": ["hasDate"] }, "payment":{ "properties": ["identifierId","name","paymentMethodIsApplePay"], "relationship_types": { "totalAmount" : "quantityRelationshipType" } }, "transaction":{ "properties":["identifierId","description","accountInstitution","accountLastFourDigits","transactionSource","accountType","transactionStatus","transactionType"], "relationship_types": { "amount" : "quantityRelationshipType" } }, "shipmentFullFillmentEmailRelationshipType": { "properties": ["identifierId","identifierType"], "entities": { "emailIdentifier": "email" } }, "orderTransactionRelationshipType": { "properties": ["identifierId","identifierType"], "entities": { "transactionIdentifier": "transaction" } }, "orderPaymentRelationshipType": { "properties": ["identifierId","identifierType"], "entities": { "paymentIdentifier": "payment" } }, "addressRelationshipType" : { "properties" : ["emailAddress", "contactLabel", "phoneNumber", "isFavorite", "contactFavoriteActionType","thoroughfare","locality", "administrativeArea", "postalCode", "country", "secondAddressLine"] }, "dateRelationshipType": { "properties": ["identifierType","startTime", "imputedStartTime", "endTime", "imputedEndTime", "occurrenceDate", "imputedOccurrenceDate"] }, "quantityRelationshipType": { "properties": ["quantity","unit"] }, "shipmentPersonRelationshipType": { "entities": { "personIdentifier": "person" } } }