<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How can I use NEO Plasma to map my source file schema to by output file schema? - Developer Network Q&amp;A				            </title>
            <link>https://community.onenetwork.com/sdk-forum/how-can-i-use-neo-plasma-to-map-my-source-file-schema-to-by-output-file-schema/</link>
            <description>BY Network Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 13 Jun 2026 22:11:47 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer to: How can I use NEO Plasma to map my source file schema to by output file schema?</title>
                        <link>https://community.onenetwork.com/sdk-forum/how-can-i-use-neo-plasma-to-map-my-source-file-schema-to-by-output-file-schema/#post-7901</link>
                        <pubDate>Wed, 01 Feb 2023 15:00:28 +0000</pubDate>
                        <description><![CDATA[The python script below will perform this mapping transformation. A simple breakdown of the script is below:

Stream of Record is sent as input
iterable_inputs is created for &quot;Input 1&quot;
i...]]></description>
                        <content:encoded><![CDATA[<p><span>The python script below will perform this mapping transformation. A simple breakdown of the script is below:</span></p>
<ul>
<li>Stream of Record is sent as input</li>
<li>iterable_inputs is created for "Input 1"</li>
<li>iterate over all records within iterable_inputs</li>
<li>Within yield, map values from the source schema to match output schema
<ul>
<li>ItemName = record</li>
<li>Description = record</li>
<li>etc.</li>
</ul>
</li>
<li>"Output 1" will yield Stream of Records for all records with your mapping applied</li>
</ul>
<p> </p>
<pre contenteditable="false">def executeNode(inputs):
  iterable_inputs = {}
  outputs = {}
   
  # Input ports
   
  iterable_inputs = inputs
  # Type = stream.record
  # cost, msrp, description, upc, weight, currency, weightUom, productName
   
  # Add node logic here
  for record in iterable_inputs:
    yield {
      "Output 1": {
        "ItemName": record,
        "Description": record,
        "ManagingEntName": record,
        "ManufacturerPrice": record,
        "Price": record,
        "Currency": record,
        "CaseUPC": record,
        "PackageUPC": record,
        "Weight": record,
        "WeightUOM": record,
        "Active": True
      }
    }
   
  # Activate and set outputs (omit a port to prevent execution of nodes that depend on that port)
   
  # Type = stream.record
   
  return outputs</pre>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>jcourter</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/how-can-i-use-neo-plasma-to-map-my-source-file-schema-to-by-output-file-schema/#post-7901</guid>
                    </item>
				                    <item>
                        <title>How can I use NEO Plasma to map my source file schema to by output file schema?</title>
                        <link>https://community.onenetwork.com/sdk-forum/how-can-i-use-neo-plasma-to-map-my-source-file-schema-to-by-output-file-schema/#post-7900</link>
                        <pubDate>Wed, 01 Feb 2023 15:00:02 +0000</pubDate>
                        <description><![CDATA[I have a Stream of Record as my input, which adheres to my source files schema. I want to map my source file values to my output Schema, how would I accomplish this?]]></description>
                        <content:encoded><![CDATA[<p><span>I have a Stream of Record as my input, which adheres to my source files schema. I want to map my source file values to my output Schema, how would I accomplish this?</span></p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>jcourter</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/how-can-i-use-neo-plasma-to-map-my-source-file-schema-to-by-output-file-schema/#post-7900</guid>
                    </item>
							        </channel>
        </rss>
		