https://linen.dev logo
#singer-tap-development
Title
# singer-tap-development
h

hassan_syyid

09/02/2021, 5:43 PM
Could someone help me spot what’s going wrong here in terms of formatting the
catalog.json
in this discover method? https://github.com/hotgluexyz/tap-airtable/blob/master/tap_airtable/services/__init__.py#L41 For context, this is a fork of a pre-existing Airtable tap that I’m trying to fix up. Right now, the output looks like below – which does not follow Singer standard format (specifically, the metadata entry should be an array):
Copy code
{
  "streams": [
    {
      "table_name": "ContactLists",
      "stream": "ContactLists",
      "metadata": {
        "selected": false,
        "name": "ContactLists",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "key": true
          },
          "parentId": {
            "type": [
              "null",
              "string"
            ]
          },
...