{
  "candidate": {
    "type": "relationship",
    "dbName": "rel_candidate",
    "table": "candidates",
    "tableFullName": "recruitment.candidates",
    "fields": {
      "id": {
        "dbName": "id"
      },
      "name": {
        "type": "text",
        "dbName": "text_name"
      },
      "firstName": {
        "type": "text",
        "dbName": "text_firstName"
      },
      "lastName": {
        "type": "text",
        "dbName": "text_lastName"
      },
      "email": {
        "type": "email",
        "dbName": "text_email"
      },
      "finalScore": {
        "type": "number",
        "dbName": "number_finalScore"
      },
      "phoneNumber": {
        "type": "phone",
        "dbName": "jsonb_phoneNumber",
        "fields": {
          "countryCode": {
          },
          "number": {
          },
          "extension": {
          }
        }
      },
      "scores": {
        "type": "table",
        "dbName": "tbl_scores",
        "table": "scores",
        "tableFullName": "recruitment.scores",
        "fields": {
          "id": {
            "dbName": "id"
          },
          "firstScore": {
            "type": "number",
            "dbName": "number_firstScore"
          },
          "secondScore": {
            "type": "number",
            "dbName": "number_secondScore"
          }
        }
      },
      "user": {
        "type": "user",
        "dbName": "user_user",
        "fields": {
          "firstName": {},
          "lastName": {},
          "email": {},
          "username": {}
        }
      }
    }
  },
  "position": {
    "table": "positions",
    "type": "relationship",
    "dbName": "rel_position",
    "fields": {
      "id": {
        "dbName": "id"
      },
      "description": {
        "type": "text",
        "dbName": "text_description"
      }
    }
  },
  "comments": {
    "type": "text",
    "dbName": "text_comments"
  },
  "iqScore": {
    "type": "number",
    "dbName": "number_iqScore"
  },
  "englishScore": {
    "type": "number",
    "dbName": "number_englishScore"
  },
  "handsOnScore": {
    "type": "number",
    "dbName": "number_handsOnScore"
  },
  "approvalComments": {
    "type": "text",
    "dbName": "text_approvalComments"
  },
  "rejectReason": {
    "type": "text",
    "dbName": "text_rejectReason"
  },
  "table1": {
    "type": "table",
    "dbName": "tbl_table1",
    "fields": {
      "table2": {
        "type": "table",
        "dbName": "tbl_table2",
        "fields": {
          "fieldNameForUsers": {
            "type": "user",
            "dbName": "text_fieldNameForUsers"
          },
          "fieldNameForGroups": {
            "type": "group",
            "dbName": "text_fieldNameForGroups"
          }
        }
      }
    }
  }
}
