rulemorph 0.3.4

YAML-based declarative data transformation engine for CSV/JSON to JSON
Documentation
[
  {
    "blocks": [
      {
        "id": "b1",
        "inlines": [
          {
            "text": "API",
            "type": "text"
          }
        ],
        "level": 1,
        "parent_block_id": null,
        "section_id": "s1-1",
        "text": "API",
        "type": "heading"
      },
      {
        "id": "b2",
        "inlines": [
          {
            "text": "Parameters",
            "type": "text"
          }
        ],
        "level": 2,
        "parent_block_id": null,
        "section_id": "s1-1.s2-1",
        "text": "Parameters",
        "type": "heading"
      },
      {
        "alignments": [
          "left",
          "center",
          "right"
        ],
        "header_row": {
          "cells": [
            {
              "column_index": 0,
              "inlines": [
                {
                  "text": "Field",
                  "type": "text"
                }
              ],
              "text": "Field"
            },
            {
              "column_index": 1,
              "inlines": [
                {
                  "text": "Type",
                  "type": "text"
                }
              ],
              "text": "Type"
            },
            {
              "column_index": 2,
              "inlines": [
                {
                  "text": "Required",
                  "type": "text"
                }
              ],
              "text": "Required"
            }
          ]
        },
        "id": "b3",
        "inlines": [],
        "parent_block_id": null,
        "rows": [
          {
            "cells": [
              {
                "column_index": 0,
                "inlines": [
                  {
                    "text": "id",
                    "type": "text"
                  }
                ],
                "text": "id"
              },
              {
                "column_index": 1,
                "inlines": [
                  {
                    "text": "string",
                    "type": "code"
                  }
                ],
                "text": "string"
              },
              {
                "column_index": 2,
                "inlines": [
                  {
                    "text": "yes",
                    "type": "text"
                  }
                ],
                "text": "yes"
              }
            ],
            "row_index": 0
          },
          {
            "cells": [
              {
                "column_index": 0,
                "inlines": [
                  {
                    "text": "count",
                    "type": "text"
                  }
                ],
                "text": "count"
              },
              {
                "column_index": 1,
                "inlines": [
                  {
                    "text": "number",
                    "type": "text"
                  }
                ],
                "text": "number"
              },
              {
                "column_index": 2,
                "inlines": [
                  {
                    "text": "no",
                    "type": "text"
                  }
                ],
                "text": "no"
              }
            ],
            "row_index": 1
          }
        ],
        "section_id": "s1-1.s2-1",
        "table_index": 0,
        "text": "Field Type Required id string yes count number no",
        "type": "table"
      }
    ],
    "tables": [
      {
        "alignments": [
          "left",
          "center",
          "right"
        ],
        "block_id": "b3",
        "header_row": {
          "cells": [
            {
              "column_index": 0,
              "inlines": [
                {
                  "text": "Field",
                  "type": "text"
                }
              ],
              "text": "Field"
            },
            {
              "column_index": 1,
              "inlines": [
                {
                  "text": "Type",
                  "type": "text"
                }
              ],
              "text": "Type"
            },
            {
              "column_index": 2,
              "inlines": [
                {
                  "text": "Required",
                  "type": "text"
                }
              ],
              "text": "Required"
            }
          ]
        },
        "rows": [
          {
            "cells": [
              {
                "column_index": 0,
                "inlines": [
                  {
                    "text": "id",
                    "type": "text"
                  }
                ],
                "text": "id"
              },
              {
                "column_index": 1,
                "inlines": [
                  {
                    "text": "string",
                    "type": "code"
                  }
                ],
                "text": "string"
              },
              {
                "column_index": 2,
                "inlines": [
                  {
                    "text": "yes",
                    "type": "text"
                  }
                ],
                "text": "yes"
              }
            ],
            "row_index": 0
          },
          {
            "cells": [
              {
                "column_index": 0,
                "inlines": [
                  {
                    "text": "count",
                    "type": "text"
                  }
                ],
                "text": "count"
              },
              {
                "column_index": 1,
                "inlines": [
                  {
                    "text": "number",
                    "type": "text"
                  }
                ],
                "text": "number"
              },
              {
                "column_index": 2,
                "inlines": [
                  {
                    "text": "no",
                    "type": "text"
                  }
                ],
                "text": "no"
              }
            ],
            "row_index": 1
          }
        ],
        "section_id": "s1-1.s2-1",
        "table_index": 0
      }
    ]
  }
]