{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-teams-get-teams-response-200-schema.json",
  "title": "Teams_getTeams_Response_200",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-teams-api-openapi.yml#/components/schemas/Teams_getTeams_Response_200",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/teamData"
      },
      "description": "A list of teams."
    },
    "metadata": {
      "$ref": "#/$defs/metaDataNextCursor"
    }
  },
  "$defs": {
    "TeamDataCreatedBy": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "description": "The user ID of the user who created the team.",
      "title": "TeamDataCreatedBy"
    },
    "metaDataNextCursor": {
      "type": "object",
      "properties": {
        "nextCursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "The pagination cursor that points to the next record in the results set."
        }
      },
      "description": "The response's meta information for paginated results.",
      "title": "metaDataNextCursor"
    },
    "teamData": {
      "type": "object",
      "properties": {
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time at which the team was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time at which the team was last updated."
        },
        "id": {
          "type": "integer",
          "description": "The team's ID."
        },
        "name": {
          "type": "string",
          "description": "The team's name."
        },
        "handle": {
          "type": "string",
          "description": "The team's handle."
        },
        "description": {
          "type": "string",
          "description": "A description about the team."
        },
        "organizationId": {
          "type": "integer",
          "description": "The team's organization ID."
        },
        "createdBy": {
          "$ref": "#/$defs/TeamDataCreatedBy",
          "description": "The user ID of the user who created the team."
        },
        "enabled": {
          "type": "boolean",
          "description": "If true, the team is active."
        },
        "memberCount": {
          "type": "integer",
          "description": "The number of members in the team."
        }
      },
      "description": "Information about the team.",
      "title": "teamData"
    }
  }
}