title: Azure Data Factory Dataset Structure Format
body: <p>I am creating a <a href="https://docs.microsoft.com/en-us/azure/templates/microsoft.datafactory/factories/datasets?tabs=json#property-values" rel="nofollow noreferrer">Microsoft.DataFactory/factories/datasets</a> resource via Terraform. Here is the template from the official docs:</p>
  <pre><code>{
    &quot;type&quot;: &quot;Microsoft.DataFactory/factories/datasets&quot;,
    &quot;apiVersion&quot;: &quot;2018-06-01&quot;,
    &quot;name&quot;: &quot;string&quot;,
    &quot;properties&quot;: {
      &quot;annotations&quot;: [ object ],
      &quot;description&quot;: &quot;string&quot;,
      &quot;folder&quot;: {
        &quot;name&quot;: &quot;string&quot;
      },
      &quot;linkedServiceName&quot;: {
        &quot;parameters&quot;: {},
        &quot;referenceName&quot;: &quot;string&quot;,
        &quot;type&quot;: &quot;LinkedServiceReference&quot;
      },
      &quot;parameters&quot;: {},
      &quot;schema&quot;: {},
      &quot;structure&quot;: {},
      &quot;type&quot;: &quot;string&quot;
      // For remaining properties, see Dataset objects
    }
  }
  </code></pre>
  <p>I am stuck on the proper format for <code>structure</code>. The first few entries are fine.</p>
  <pre><code> &quot;structure&quot;: [
                          {
                              &quot;name&quot;: &quot;id&quot;,
                              &quot;type&quot;: &quot;String&quot;
                          },
                          {
                              &quot;name&quot;: &quot;partitionKey&quot;,
                              &quot;type&quot;: &quot;String&quot;
                          },
                          {
                              &quot;name&quot;: &quot;createdDate&quot;,
                              &quot;type&quot;: &quot;Int64&quot;
                          }
  </code></pre>
  <p>But then I need to translate a complex object and I am not sure how to go about it. The object looks something like:</p>
  <pre><code>&quot;properties&quot;: {
      &quot;title&quot;: &quot;Blah&quot;,
      &quot;tags&quot;: [
          &quot;A tag&quot;,
          &quot;Another tag&quot;
      ],
      &quot;description&quot;: [
          &quot;So&quot;,
          &quot;Many&quot;,
          &quot;Words&quot;
      ]
  }
  </code></pre>
  <p>How do I parse this?</p>
  <pre><code>&quot;name&quot;: &quot;properties&quot;,
  &quot;type&quot;: &quot;Object&quot;
  </code></pre>
  <p>Will that suffice? Do I need to go into the nested keys? Any pointers would be much appreciated!</p>