tap-github icon indicating copy to clipboard operation
tap-github copied to clipboard

Teams schema is incorrect

Open CoopTang opened this issue 5 years ago • 0 comments

The current schema has the following property:

{
  "type": [
    "null",
    "object"
  ],
  "properties": {
    ...,
    "parent": {
      "type": [
        "null",
        "string"
      ]
    }
  }
}

When it should be:

{
  "type": [
    "null",
    "object"
  ],
  "properties": {
    ...
    "parent": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "description": {
          "type": [
            "null",
            "string"
          ]
        },
        "html_url": {
          "type": [
            "null",
            "string"
          ]
        },
        "id": {
          "type": [
            "null",
            "number"
          ]
        },
        "members_url": {
          "type": [
            "null",
            "string"
          ]
        },
        "name": {
          "type": [
            "null",
            "string"
          ]
        },
        "node_id": {
          "type": [
            "null",
            "string"
          ]
        },
        "permission": {
          "type": [
            "null",
            "string"
          ]
        },
        "privacy": {
          "type": [
            "null",
            "string"
          ]
        },
        "repositories_url": {
          "type": [
            "null",
            "string"
          ]
        },
        "slug": {
          "type": [
            "null",
            "string"
          ]
        },
        "url": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    }
  }
}

CoopTang avatar Aug 28 '20 14:08 CoopTang