Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams schema is incorrect #94

Open
CoopTang opened this issue Aug 28, 2020 · 0 comments
Open

Teams schema is incorrect #94

CoopTang opened this issue Aug 28, 2020 · 0 comments

Comments

@CoopTang
Copy link

CoopTang commented Aug 28, 2020

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"
          ]
        }
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant