{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-group-list-response-schema.json",
  "title": "GroupListResponse",
  "description": "list of groups (teams)",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-group-api-openapi.yml#/components/schemas/GroupListResponse",
  "type": "object",
  "properties": {
    "schemas": {
      "type": "array",
      "description": "An array of URNs that identify the schema(s) that define the structure of this response. <br><br> In this case, it contains urn:ietf:params:scim:api:messages:2.0:ListResponse, which indicates that this is a SCIM ListResponse — a paginated wrapper around a set of resources (such as Users or Groups).",
      "items": {
        "type": "string"
      }
    },
    "totalResults": {
      "type": "number",
      "description": "The total number of results matching the request."
    },
    "startIndex": {
      "type": "number",
      "description": "The index of the first returned result in the current page."
    },
    "itemsPerPage": {
      "type": "number",
      "description": "The number of items returned in the response."
    },
    "Resources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "description": "Identifies which schema(s) this resource uses. In this case it is the SCIM core Groups schema.",
            "items": {
              "type": "string"
            }
          },
          "id": {
            "type": "string",
            "description": "A server-assigned, unique identifier for this Group (team)."
          },
          "displayName": {
            "type": "string",
            "description": "A human readable name for the Group (team)."
          },
          "members": {
            "type": "array",
            "description": "A list of all members that are part of the Group (team).",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "A server-assigned, unique identifier for the user (member)."
                },
                "type": {
                  "type": "string",
                  "description": "Type of item - in this case it is User for all members."
                },
                "display": {
                  "type": "string",
                  "description": "A human-readable name for the user (member), typically the full name."
                }
              }
            }
          },
          "meta": {
            "type": "object",
            "description": "Metadata about the resource.",
            "properties": {
              "resourceType": {
                "type": "string",
                "description": "Type of resource."
              },
              "location": {
                "type": "string",
                "description": "URI of resource."
              }
            }
          }
        }
      }
    }
  }
}