{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Lookup Catalog","description":"RT 2.0 Lookup Catalog を使用して、商品カタログ・クーポン定義・セールスケジュールなど、ユーザーキー以外のビジネスデータをリアルタイムパーソナライゼーションのレスポンスで参照する方法を説明します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]},"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"lookup-catalog","__idx":0},"children":["Lookup Catalog"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup Catalog"]}," は、RT 2.0 パーソナライゼーションがリクエストを受け取った瞬間に、商品カタログ・クーポン定義・セールスケジュールなどの外部ビジネスデータを参照できる機能です。ユーザーごとの値を保持するプロファイルアトリビュートとは異なり、Lookup Catalog のデータは ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," のような",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ユーザー以外のディメンション"]},"をキーとして持ち、RT 2.0 の内部ストレージからリアルタイムに照会されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"lookup-catalog-を使用するタイミング","__idx":1},"children":["Lookup Catalog を使用するタイミング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パーソナライゼーションのレスポンスに、商品・SKU・クーポン・その他のユーザー以外のディメンションによって異なるデータを含める必要がある場合に Lookup Catalog を使用します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["現在表示中の商品に対する割引率と終了日を含むセールバナーを返す。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーがカートに追加した商品に適用できるクーポンを持っている場合のみ、クーポンリマインダーを返す。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーが最後に閲覧したアイテムをキーとした商品レコメンドのメタデータを返す。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーごとのアトリビュート（氏名・ティア・購入履歴など）のみが必要な場合は、代わりに ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/real-time/real-time-attributes-overview"},"children":["Real-time Attributes"]}," を使用してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"lookup-catalog-の仕組み","__idx":2},"children":["Lookup Catalog の仕組み"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"flowchart TD\n    A[(\"cdp_lookup_catalog\\ndatabase\")] -->|Treasure Workflow\\nscheduled upload| B[(\"RT 2.0\\nInternal Storage\")]\n    B -->|Queried on each\\np13n API call| C[Personalization Response]\n    C --> D[Client / SDK]\n","diagramHtml":"<svg id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 267.375px;\" viewBox=\"0 0 267.375 577.1259765625\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .error-icon{fill:#552222;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .error-text{fill:#552222;stroke:#552222;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-thickness-normal{stroke-width:1px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-thickness-thick{stroke-width:3.5px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-pattern-solid{stroke-dasharray:0;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-pattern-dashed{stroke-dasharray:3;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edge-pattern-dotted{stroke-dasharray:2;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .marker{fill:#333333;stroke:#333333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .marker.cross{stroke:#333333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f p{margin:0;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .label{font-family:\"Redocly Mermaid Sans\",sans-serif;color:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .cluster-label text{fill:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .cluster-label span{color:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .cluster-label span p{background-color:transparent;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .label text,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f span{fill:#333;color:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node rect,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node circle,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node ellipse,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node polygon,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .rough-node .label text,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node .label text,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .image-shape .label,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .icon-shape .label{text-anchor:middle;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .rough-node .label,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node .label,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .image-shape .label,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .icon-shape .label{text-align:center;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node.clickable{cursor:pointer;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .arrowheadPath{fill:#333333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edgePath .path{stroke:#333333;stroke-width:1px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .flowchart-link{stroke:#333333;fill:none;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .cluster text{fill:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .cluster span{color:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f rect.text{fill:none;stroke-width:0;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .icon-shape,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .icon-shape p,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .icon-shape .label rect,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f .node .neo-node{stroke:#9370DB;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node rect,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].cluster rect,#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M133.688,113.279L133.688,121.446C133.688,129.613,133.688,145.946,133.688,161.613C133.688,177.279,133.688,192.279,133.688,199.779L133.688,207.279\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MTMzLjY4NzUsInkiOjExMy4yNzkyNzM5ODY4MTY0fSx7IngiOjEzMy42ODc1LCJ5IjoxNjIuMjc5MjczOTg2ODE2NH0seyJ4IjoxMzMuNjg3NSwieSI6MjExLjI3OTI3Mzk4NjgxNjR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointEnd)\"></path><path d=\"M133.688,313.126L133.688,321.293C133.688,329.459,133.688,345.793,133.688,361.459C133.688,377.126,133.688,392.126,133.688,399.626L133.688,407.126\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6MTMzLjY4NzUsInkiOjMxMy4xMjU5ODQxOTE4OTQ1M30seyJ4IjoxMzMuNjg3NSwieSI6MzYyLjEyNTk4NDE5MTg5NDUzfSx7IngiOjEzMy42ODc1LCJ5Ijo0MTEuMTI1OTg0MTkxODk0NTN9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointEnd)\"></path><path d=\"M133.688,465.126L133.688,469.293C133.688,473.459,133.688,481.793,133.688,489.459C133.688,497.126,133.688,504.126,133.688,507.626L133.688,511.126\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6MTMzLjY4NzUsInkiOjQ2NS4xMjU5ODQxOTE4OTQ1M30seyJ4IjoxMzMuNjg3NSwieSI6NDkwLjEyNTk4NDE5MTg5NDUzfSx7IngiOjEzMy42ODc1LCJ5Ijo1MTUuMTI1OTg0MTkxODk0NX1d\" data-look=\"classic\" marker-end=\"url(#diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(133.6875, 162.2792739868164)\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(-69.640625, -24)\"><foreignObject width=\"139.28125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Treasure Workflow<br>scheduled upload</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(133.6875, 362.12598419189453)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-61.8671875, -24)\"><foreignObject width=\"123.734375\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Queried on each<br>p13n API call</p></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-flowchart-A-0\" data-look=\"classic\" transform=\"translate(133.6875, 60.6396369934082)\"><path d=\"M0,14.093090472814527 a80.7578125,14.093090472814527 0,0,0 161.515625,0 a80.7578125,14.093090472814527 0,0,0 -161.515625,0 l0,77.09309047281452 a80.7578125,14.093090472814527 0,0,0 161.515625,0 l0,-77.09309047281452\" class=\"basic label-container outer-path\" style=\"\" transform=\"translate(-80.7578125, -52.63963570922179)\"></path><g class=\"label\" style=\"\" transform=\"translate(-73.2578125, -14)\"><rect></rect><foreignObject width=\"146.515625\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>cdp_lookup_catalog<br>database</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-flowchart-B-1\" data-look=\"classic\" transform=\"translate(133.6875, 262.20262908935547)\"><path d=\"M0,12.948903350204871 a67.15625,12.948903350204871 0,0,0 134.3125,0 a67.15625,12.948903350204871 0,0,0 -134.3125,0 l0,75.94890335020487 a67.15625,12.948903350204871 0,0,0 134.3125,0 l0,-75.94890335020487\" class=\"basic label-container outer-path\" style=\"\" transform=\"translate(-67.15625, -50.92335502530731)\"></path><g class=\"label\" style=\"\" transform=\"translate(-59.65625, -14)\"><rect></rect><foreignObject width=\"119.3125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>RT 2.0<br>Internal Storage</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-flowchart-C-3\" data-look=\"classic\" transform=\"translate(133.6875, 438.12598419189453)\"><rect class=\"basic label-container\" style=\"\" x=\"-125.6875\" y=\"-27\" width=\"251.375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-95.6875, -12)\"><rect></rect><foreignObject width=\"191.375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Personalization Response</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-flowchart-D-5\" data-look=\"classic\" transform=\"translate(133.6875, 542.1259841918945)\"><rect class=\"basic label-container\" style=\"\" x=\"-73.546875\" y=\"-27\" width=\"147.09375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-43.546875, -12)\"><rect></rect><foreignObject width=\"87.09375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Client / SDK</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-6b0d722e52b9c47ed73af7d4e68af3cdc2ba78f037dfbfe8d0461338cccc409f-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs></svg>","diagramHtmlDark":"<svg id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 267.375px;\" viewBox=\"0 0 267.375 577.1259765625\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .error-icon{fill:#a44141;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .error-text{fill:#ddd;stroke:#ddd;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-thickness-normal{stroke-width:1px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-thickness-thick{stroke-width:3.5px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-pattern-solid{stroke-dasharray:0;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .marker.cross{stroke:lightgrey;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 p{margin:0;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .label{font-family:\"Redocly Mermaid Sans\",sans-serif;color:#ccc;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .cluster-label text{fill:#F9FFFE;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .cluster-label span{color:#F9FFFE;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .cluster-label span p{background-color:transparent;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .label text,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 span{fill:#ccc;color:#ccc;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node rect,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node circle,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node ellipse,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node polygon,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node path{fill:#1f2020;stroke:#ccc;stroke-width:1px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .rough-node .label text,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node .label text,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .image-shape .label,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .icon-shape .label{text-anchor:middle;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .rough-node .label,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node .label,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .image-shape .label,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .icon-shape .label{text-align:center;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node.clickable{cursor:pointer;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .root .anchor path{fill:lightgrey!important;stroke-width:0;stroke:lightgrey;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .arrowheadPath{fill:lightgrey;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edgePath .path{stroke:lightgrey;stroke-width:1px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .flowchart-link{stroke:lightgrey;fill:none;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edgeLabel p{background-color:hsl(0, 0%, 34.4117647059%);}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .cluster text{fill:#F9FFFE;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .cluster span{color:#F9FFFE;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 rect.text{fill:none;stroke-width:0;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .icon-shape,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .image-shape{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .icon-shape p,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .image-shape p{background-color:hsl(0, 0%, 34.4117647059%);padding:2px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .icon-shape .label rect,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .image-shape .label rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 .node .neo-node{stroke:#ccc;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node rect,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].cluster rect,#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node polygon{stroke:url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node path{stroke:url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-gradient);stroke-width:1px;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node circle{stroke:url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M133.688,113.279L133.688,121.446C133.688,129.613,133.688,145.946,133.688,161.613C133.688,177.279,133.688,192.279,133.688,199.779L133.688,207.279\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MTMzLjY4NzUsInkiOjExMy4yNzkyNzM5ODY4MTY0fSx7IngiOjEzMy42ODc1LCJ5IjoxNjIuMjc5MjczOTg2ODE2NH0seyJ4IjoxMzMuNjg3NSwieSI6MjExLjI3OTI3Mzk4NjgxNjR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointEnd)\"></path><path d=\"M133.688,313.126L133.688,321.293C133.688,329.459,133.688,345.793,133.688,361.459C133.688,377.126,133.688,392.126,133.688,399.626L133.688,407.126\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6MTMzLjY4NzUsInkiOjMxMy4xMjU5ODQxOTE4OTQ1M30seyJ4IjoxMzMuNjg3NSwieSI6MzYyLjEyNTk4NDE5MTg5NDUzfSx7IngiOjEzMy42ODc1LCJ5Ijo0MTEuMTI1OTg0MTkxODk0NTN9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointEnd)\"></path><path d=\"M133.688,465.126L133.688,469.293C133.688,473.459,133.688,481.793,133.688,489.459C133.688,497.126,133.688,504.126,133.688,507.626L133.688,511.126\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6MTMzLjY4NzUsInkiOjQ2NS4xMjU5ODQxOTE4OTQ1M30seyJ4IjoxMzMuNjg3NSwieSI6NDkwLjEyNTk4NDE5MTg5NDUzfSx7IngiOjEzMy42ODc1LCJ5Ijo1MTUuMTI1OTg0MTkxODk0NX1d\" data-look=\"classic\" marker-end=\"url(#diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(133.6875, 162.2792739868164)\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(-69.640625, -24)\"><foreignObject width=\"139.28125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Treasure Workflow<br>scheduled upload</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(133.6875, 362.12598419189453)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-61.8671875, -24)\"><foreignObject width=\"123.734375\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Queried on each<br>p13n API call</p></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-flowchart-A-0\" data-look=\"classic\" transform=\"translate(133.6875, 60.6396369934082)\"><path d=\"M0,14.093090472814527 a80.7578125,14.093090472814527 0,0,0 161.515625,0 a80.7578125,14.093090472814527 0,0,0 -161.515625,0 l0,77.09309047281452 a80.7578125,14.093090472814527 0,0,0 161.515625,0 l0,-77.09309047281452\" class=\"basic label-container outer-path\" style=\"\" transform=\"translate(-80.7578125, -52.63963570922179)\"></path><g class=\"label\" style=\"\" transform=\"translate(-73.2578125, -14)\"><rect></rect><foreignObject width=\"146.515625\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>cdp_lookup_catalog<br>database</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-flowchart-B-1\" data-look=\"classic\" transform=\"translate(133.6875, 262.20262908935547)\"><path d=\"M0,12.948903350204871 a67.15625,12.948903350204871 0,0,0 134.3125,0 a67.15625,12.948903350204871 0,0,0 -134.3125,0 l0,75.94890335020487 a67.15625,12.948903350204871 0,0,0 134.3125,0 l0,-75.94890335020487\" class=\"basic label-container outer-path\" style=\"\" transform=\"translate(-67.15625, -50.92335502530731)\"></path><g class=\"label\" style=\"\" transform=\"translate(-59.65625, -14)\"><rect></rect><foreignObject width=\"119.3125\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>RT 2.0<br>Internal Storage</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-flowchart-C-3\" data-look=\"classic\" transform=\"translate(133.6875, 438.12598419189453)\"><rect class=\"basic label-container\" style=\"\" x=\"-125.6875\" y=\"-27\" width=\"251.375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-95.6875, -12)\"><rect></rect><foreignObject width=\"191.375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Personalization Response</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-flowchart-D-5\" data-look=\"classic\" transform=\"translate(133.6875, 542.1259841918945)\"><rect class=\"basic label-container\" style=\"\" x=\"-73.546875\" y=\"-27\" width=\"147.09375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-43.546875, -12)\"><rect></rect><foreignObject width=\"87.09375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Client / SDK</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><defs><filter id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><linearGradient id=\"diagram-92239e180bdea0970a7364fb6eaeed899c7d88adb8011ed578c4949e44a240a6-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"#cccccc\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(180, 0%, 18.3529411765%)\" stop-opacity=\"1\"></stop></linearGradient></svg>"},"children":["flowchart TD\n    A[(\"cdp_lookup_catalog\\ndatabase\")] -->|Treasure Workflow\\nscheduled upload| B[(\"RT 2.0\\nInternal Storage\")]\n    B -->|Queried on each\\np13n API call| C[Personalization Response]\n    C --> D[Client / SDK]\n"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データエンジニアが Data Workbench の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_lookup_catalog"]}," データベースにルックアップテーブルを作成・管理し、Treasure Workflow の同期ワークフローを実行して RT 2.0 の内部ストレージにデータをプッシュします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Studio で、ペアレントセグメントに Lookup Catalog Attribute を作成し、カタログテーブルをランタイムルックアップキー（RT アトリビュートの値）に紐付けます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["パーソナライゼーションリクエストが届くと、RT 2.0 はランタイムキーの値を使って対応する行を照会し、カラムの値をオファーペイロードの一部として返します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["クライアントが返された値をレンダリングします。たとえば TD Web SDK は Liquid が解決した HTML を DOM のゾーンやポップアップに描画します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1--ルックアップカタログデータの準備","__idx":3},"children":["Step 1 — ルックアップカタログデータの準備"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データエンジニアは Data Workbench の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_lookup_catalog"]}," データベースにルックアップテーブルを作成・管理します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データベースとテーブルの規則","__idx":4},"children":["データベースとテーブルの規則"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データベースは通常 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_lookup_catalog"]}," という名前にします。任意の Plazma データベースを使用できますが、この名前が標準的な規則です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["主キーは、テーブル内で",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["最初に現れる ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," 以外のカラム"]},"です。テーブルの先頭カラムが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," という名前の場合は、2 番目のカラムが主キーとして使用されます。主キーカラムは一意で NULL でない値が必要で、型は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," でなければなりません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["その他のカラムには ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]},"、または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["array"]}," 型（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array<string>"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array<int>"]}," など）の値を含めることができます。配列のネスト（配列の中に配列がある構造）はサポートされていません。詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E5%88%B6%E9%99%90%E4%BA%8B%E9%A0%85"},"children":["制限事項"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Lookup Catalog Attribute の設定でカラム名を指定する際は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plazma のカラム名"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["queryAs"]}," エイリアスではない）を使用します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データはアップロード前に",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["重複除去・正規化"]},"が必要です。ワークフローは重複除去を行いません。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"NULL キー値があるとアップロードが失敗します"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["主キーのカラムが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NULL"]}," または空の行がある場合、同期ワークフローは 400 エラーで失敗します。アップロード前にすべての行に有効な NULL でないキー値があることを確認してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"例-商品セールテーブル","__idx":5},"children":["例: 商品セールテーブル"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," をキーとする ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limited_time_sale"]}," テーブル:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"product_id"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["product_id"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"discount_rate"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["discount_rate"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"sale_end"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sale_end"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"banner_html"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["banner_html"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SKU-12345"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["20"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2026-07-31 23:59"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<div class='promo'>20% OFF — ends July 31</div>"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SKU-67890"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["15"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2026-08-15 23:59"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<div class='promo'>15% OFF — ends August 15</div>"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"保存前に HTML をサニタイズしてください"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上記の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["banner_html"]}," のようにカラムに生の HTML を保存し、Liquid 経由でクライアントサイドにレンダリングする場合は、取り込み前にその HTML のソースが信頼できるものであり、サニタイズされていることを確認してください。信頼できない、またはユーザー生成の HTML を Lookup Catalog テーブルに保存すると、ブラウザでレンダリングされる際に XSS リスクが生じる可能性があります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"例-ユーザー商品クーポンテーブル","__idx":6},"children":["例: ユーザー×商品クーポンテーブル"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カートレベルのクーポン検索に",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["複合キー"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_id"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," を結合）を使用する ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_product_coupon"]}," テーブル:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"user_product_id"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["user_product_id"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"has_coupon"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["has_coupon"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"coupon_code"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["coupon_code"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_001SKU-12345"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SAVE10"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_001SKU-67890"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLASH15"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"複合キーの順序が重要です"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lookup Catalog Attribute で複数のルックアップキー（たとえば ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_id"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]},"）を使用する場合、ランタイムの値は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["デリミタなしで"]},"、アトリビュート設定で定義した",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["キーの順序"]},"で結合されます（例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_001"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SKU-12345"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_001SKU-12345"]},"）。テーブルに保存されている複合キーは、この結合結果と完全に一致している必要があります。デリミタを挟むとルックアップが一致しなくなるため、挿入しないでください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"配列カラムのサポート","__idx":7},"children":["配列カラムのサポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["配列型（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array<string>"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array<bigint>"]}," など）のカラムは完全にサポートされています。1 行にスカラーカラムと配列カラムを混在させることができます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"product_id"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["product_id"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"name"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["name"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"price"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["price"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"tags ( array<string> )"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["tags"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array<string>"]},") "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SKU-12345"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Crew Tee"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["29"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[\"sale\", \"tops\", \"new-arrival\"]"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SKU-67890"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Wide-leg Pants"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["58"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["[\"sale\", \"bottoms\"]"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"配列のネストはサポートされていません"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["多次元配列（配列の中に配列がネストされた構造）はサポートされていません。取り込み前にネスト構造をフラット化してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2--rt-ストレージへのデータアップロード","__idx":8},"children":["Step 2 — RT ストレージへのデータアップロード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["同期ワークフローは ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_lookup_catalog"]}," データベースから読み取り、Bulk Load API を通じて変更されたレコードのみを RT 2.0 の内部ストレージにプッシュします。変更検知にはハッシュベースの手法を使用します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このワークフローは ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_lookup_catalog"]}," 内の対象テーブルをすべて自動検出し、実行ごとに同期します。オプションの ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["p_table_name"]}," パラメーターを設定すると、実行を単一テーブルに限定できます（テスト用途に便利です）。セットアップ手順・パラメーター一覧・トラブルシューティングについては、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/real-time/lookup-catalog-workflow"},"children":["Lookup Catalog Sync Workflow"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"データの鮮度"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lookup Catalog データは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["バッチ同期"]},"です。ストリーミングではありません。データは最後にワークフローが実行されたときの状態を反映します。カタログデータの変更頻度に合わせて同期スケジュールを設計してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3--lookup-catalog-attribute-の作成","__idx":9},"children":["Step 3 — Lookup Catalog Attribute の作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio で、ペアレントセグメントに ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup Catalog"]}," アトリビュートを追加します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Studio でペアレントセグメントを開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RT Attributes"]}," の下で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add Attribute"]}," をクリックし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup Catalog"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/creating-a-lookup-catalog-attribute-2026-07-11.d373a7b776102acdaaa1a17635f338088c381c359ab47aea3e19d8bfb6f054e3.5b2238d2.webp","alt":"Lookup Catalog タブが選択された Add Attribute ダイアログ。Name、System ID、Description、Lookup catalog table、Lookup columns、Lookup keys の各フィールドが表示されている"},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アトリビュートの各フィールドを設定します:"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"フィールド"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["フィールド"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"70%","data-label":"説明"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アトリビュートの表示名（例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sale_end_at"]},"）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["System ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Liquid テンプレートや Entry Criteria で使用される内部識別子（例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sale_end_at"]},"）。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]}," から自動入力されますが変更可能です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["社内ドキュメント用のオプション説明文。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup catalog table"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ルックアップソースとして使用する ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdp_lookup_catalog"]}," のテーブルを選択します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup columns"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["レスポンスペイロードに含めるカラムを選択します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plazma のカラム名"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["queryAs"]}," エイリアスではない）を使用してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup keys"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["RT アトリビュートのタイプ（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Single-Value アトリビュート"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["List Attribute"]}," など）と、行の検索に使用するランタイム値を持つ具体的なアトリビュートを選択します。複合キーには ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Lookup Key"]}," で複数追加できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["順序が重要"]}," — キーは一覧の順序で結合されて複合ルックアップキーが形成されます。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"複合キーの順序"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["複合キーを使用する場合、カタログテーブル内でキーカラムが結合されている順序と同じ順序でルックアップキーを定義してください。順序が一致しないとルックアップが失敗します。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"アトリビュート作成後のカラム削除について"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lookup Catalog Attribute を設定した後にカタログテーブルからカラムが削除された場合、アトリビュート設定は自動的には更新されません。次回の同期以降、そのカラムのデータはオファーレスポンスに含まれなくなります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4--エントリー条件の設定任意","__idx":10},"children":["Step 4 — エントリー条件の設定（任意）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lookup Catalog Attribute は Audience Studio の",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["エントリー条件"]},"で使用でき、パーソナライゼーションのセクションを返すかどうかをサーバーサイドで制御できます。条件が満たされない場合、そのセクションとペイロード全体が API レスポンスから除外されるため、クライアント側に条件分岐ロジックを実装する必要はありません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"audience-studio-でのエントリー条件設定手順","__idx":11},"children":["Audience Studio でのエントリー条件設定手順"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Personalization"]}," を開き、対象のセクションに移動します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Entry Criteria"]}," のキャンバスに、作成した Lookup Catalog Attribute をドラッグ＆ドロップして条件スロットに追加します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["演算子と値を選択します。たとえば、ユーザー×商品の組み合わせでクーポンが存在する場合のみセクションを返すには:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["アトリビュート: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_coupon"]}," → カラム: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_coupon"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["演算子: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["値: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"true\""]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リクエスト時にこの条件が満たされない場合、セクション全体がパーソナライゼーションレスポンスから除外されます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"リクエストに lookup_key は不要"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API リクエストに ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lookup_key"]}," フィールドを明示的に渡す必要は",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ありません"]},"。RT 2.0 が ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lookup keys"]}," で定義された順序でランタイムアトリビュートの値を自動的に結合し、内部でカタログデータを照会します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スカラーカラムの演算子","__idx":12},"children":["スカラーカラムの演算子"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"演算子"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["演算子"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"70%","data-label":"説明"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["=="]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["値と等しい"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["!="]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["値と等しくない"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<="]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[">="]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["数値またはタイムスタンプの比較"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IS NULL"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IS NOT NULL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NULL チェック"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AND"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["複数の条件を結合"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"配列カラムの演算子","__idx":13},"children":["配列カラムの演算子"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lookup Catalog のカラムが配列型で、ルックアップキーが ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Single-Value アトリビュート"]},"（単一キールックアップ）の場合、以下の演算子が適用されます:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"25%","data-label":"演算子"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["演算子"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"25%","data-label":"array_matching"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array_matching"]}]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"50%","data-label":"セマンティクス"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["セマンティクス"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Contain"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["配列内のいずれかの要素に指定した部分文字列が含まれているか"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["In"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["any"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["配列内のいずれかの要素が右辺の値のいずれかと完全に一致するか"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["In"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["all"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["配列内のすべての要素が右辺の値のいずれかと完全に一致するか"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["配列カラムに対して ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Contain"]}," または ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["In"]}," を使用する場合、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array_matching"]}," は必須です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["not: true"]}," フラグを指定するとどちらの演算子も反転します。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"OR はサポートされていません"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["現在のリリースでは、Lookup Catalog Attribute のエントリー条件における ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["OR"]}," ロジックはサポートされていません。必要な場合は、それぞれ別のエントリー条件を持つ複数のセクションを使用してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4b--パーソナライゼーションペイロードへの追加","__idx":14},"children":["Step 4b — パーソナライゼーションペイロードへの追加"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lookup Catalog Attribute の値を API レスポンスに含めるには、Audience Studio の Personalization セクション設定で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Attribute Payload"]}," にアトリビュートを追加します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Studio で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Personalization"]}," のセクション設定を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Attribute Payload"]}," の下に、返したい Lookup Catalog Attribute のカラムを追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["設定を保存します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["M2 では、Lookup Catalog Attribute はファーストクラスアトリビュートとして扱われ、Single・Counter・List アトリビュートと同様に レスポンスの ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attributes"]}," サブセクションに含まれます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パーソナライゼーション-api-レスポンス構造","__idx":15},"children":["パーソナライゼーション API レスポンス構造"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リクエストがエントリー条件を満たした場合、Lookup Catalog Attribute の値は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offers.<section_name>.attributes"]}," の下に返されます:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"offers\": {\n    \"Coupon Reminder\": {\n      \"attributes\": {\n        \"product_coupon - has_coupon\": \"true\",\n        \"product_coupon - coupon_ids\": \"CPN008\"\n      },\n      \"batch_segments\": null,\n      \"td_app\": null\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エントリー条件が満たされない場合（例: そのユーザー×商品の組み合わせでクーポンが存在しない）、セクション全体が除外されます:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"offers\": {}\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ユースケース","__idx":16},"children":["ユースケース"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"期間限定セールバナー","__idx":17},"children":["期間限定セールバナー"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["特定の商品にセールが設定されている場合のみ、商品詳細ページにインラインのセールバナーを表示します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," をキーとし、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["discount_rate"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sale_end"]}," カラムを持つ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limited_time_sale"]}," テーブルを作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["現在の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," をルックアップキーとして保持する Single-Value RT アトリビュートを使用して、Lookup Catalog Attribute（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sale_info"]},"）を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エントリー条件を設定します: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sale_info.discount_rate IS NOT NULL"]}," — 該当商品のセール行が存在する場合のみセクションが返されます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"カートクーポンリマインダー","__idx":18},"children":["カートクーポンリマインダー"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーがカートに追加した商品に適用できるクーポンを持っている場合、クーポンリマインダーを表示します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["複合キー（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_id"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]},"）と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["has_coupon"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["coupon_code"]}," カラムを持つ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_product_coupon"]}," テーブルを作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ルックアップキーを 2 つ指定して Lookup Catalog Attribute（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["coupon"]},"）を作成します: まず ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user_id"]},"、次に ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]},"（最後に追加した商品を保持する RT アトリビュート）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エントリー条件を設定します: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["coupon.has_coupon == \"true\""]},"。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"インタレストタグパーソナライゼーション配列カラム","__idx":19},"children":["インタレストタグパーソナライゼーション（配列カラム）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["配列カラムに保存された商品に関連するキーワードを基に、パーソナライズされたタグを表示します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," キーと ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array<string>"]}," 型の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["keywords"]}," カラムを持つ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_tags"]}," テーブルを作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["現在の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["product_id"]}," をルックアップキーとして使用する Lookup Catalog Attribute（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["interest_tags"]},"）を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["任意でエントリー条件を設定します: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["interest_tags.keywords Contain \"sale\""]}," （",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["array_matching: any"]},"）。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"制限事項","__idx":20},"children":["制限事項"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"制限事項"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["制限事項"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"65%","data-label":"詳細"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["詳細"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["バッチ同期のみ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データはリアルタイムに更新されません。ソーステーブルへの変更は、次回の同期ワークフロー実行後に反映されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["配列のネストは非対応"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["多次元配列（配列の中にネストされた配列）はサポートされていません。取り込み前にネスト構造をフラット化してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["キーカラムの制約"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["主キーはテーブル内で最初に現れる ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," 以外のカラムでなければならず、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NULL"]}," 値を含めてはならず、型は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," でなければなりません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["スキーマ変更時にはダイジェストのリセットが必要"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["主キーカラムを変更した場合、次回のワークフロー実行前にダイジェストテーブル（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_wf_{table_name}_digests"]},"）を削除して再作成する必要があります。アップロード済みのデータは自動的には削除されません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["センシティブなルックアップキー"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audience Studio でセンシティブとしてマークされたルックアップキーは、クライアントサイドのパーソナライゼーションリクエストでは使用できません。センシティブなアトリビュートをルックアップキーとして使用した場合、クライアントサイドのリクエストではそのセクション全体がレスポンスから削除されます。"]}]}]}]}]}]},"headings":[{"value":"Lookup Catalog","id":"lookup-catalog","depth":1},{"value":"Lookup Catalog を使用するタイミング","id":"lookup-catalog-を使用するタイミング","depth":2},{"value":"Lookup Catalog の仕組み","id":"lookup-catalog-の仕組み","depth":2},{"value":"Step 1 — ルックアップカタログデータの準備","id":"step-1--ルックアップカタログデータの準備","depth":2},{"value":"データベースとテーブルの規則","id":"データベースとテーブルの規則","depth":3},{"value":"例: 商品セールテーブル","id":"例-商品セールテーブル","depth":3},{"value":"例: ユーザー×商品クーポンテーブル","id":"例-ユーザー商品クーポンテーブル","depth":3},{"value":"配列カラムのサポート","id":"配列カラムのサポート","depth":3},{"value":"Step 2 — RT ストレージへのデータアップロード","id":"step-2--rt-ストレージへのデータアップロード","depth":2},{"value":"Step 3 — Lookup Catalog Attribute の作成","id":"step-3--lookup-catalog-attribute-の作成","depth":2},{"value":"Step 4 — エントリー条件の設定（任意）","id":"step-4--エントリー条件の設定任意","depth":2},{"value":"Audience Studio でのエントリー条件設定手順","id":"audience-studio-でのエントリー条件設定手順","depth":3},{"value":"スカラーカラムの演算子","id":"スカラーカラムの演算子","depth":3},{"value":"配列カラムの演算子","id":"配列カラムの演算子","depth":3},{"value":"Step 4b — パーソナライゼーションペイロードへの追加","id":"step-4b--パーソナライゼーションペイロードへの追加","depth":2},{"value":"パーソナライゼーション API レスポンス構造","id":"パーソナライゼーション-api-レスポンス構造","depth":3},{"value":"ユースケース","id":"ユースケース","depth":2},{"value":"期間限定セールバナー","id":"期間限定セールバナー","depth":3},{"value":"カートクーポンリマインダー","id":"カートクーポンリマインダー","depth":3},{"value":"インタレストタグパーソナライゼーション（配列カラム）","id":"インタレストタグパーソナライゼーション配列カラム","depth":3},{"value":"制限事項","id":"制限事項","depth":2}],"frontmatter":{"seo":{"title":"Lookup Catalog","description":"RT 2.0 Lookup Catalog を使用して、商品カタログ・クーポン定義・セールスケジュールなど、ユーザーキー以外のビジネスデータをリアルタイムパーソナライゼーションのレスポンスで参照する方法を説明します。"}},"lastModified":"2026-07-11T07:05:06.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/real-time/lookup-catalog","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}