{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karbonhq/json-schema/karbonhq-get-users-schema.json",
  "title": "GetUsers",
  "description": "A collection of Users",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/karbonhq-users-api-openapi.yml#/components/schemas/GetUsers",
  "required": [
    "value",
    "@odata.context",
    "@odata.count"
  ],
  "type": "object",
  "properties": {
    "@odata.context": {
      "type": "string",
      "description": "The information about Karbon controllers generating this response."
    },
    "@odata.count": {
      "type": "integer",
      "format": "int64",
      "description": "The total number of Users that satisfy the query criteria."
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GetSingleUser"
      }
    },
    "@odata.nextLink": {
      "type": "string",
      "description": "The link to next set of Users. @odata.nextLink field will only appear if you have more than 100 Users."
    }
  },
  "$defs": {
    "GetSingleUser": {
      "description": "The unique id, name and email address for a single User",
      "required": [
        "Id",
        "Name",
        "EmailAddress"
      ],
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "A Karbon-generated key used to identify the User"
        },
        "Name": {
          "type": "string",
          "description": "The name of the User"
        },
        "EmailAddress": {
          "type": "string",
          "description": "The email address of the User"
        }
      }
    }
  }
}