{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-user-information-schema.json",
  "title": "UserInformation",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-portal-api-openapi.yml#/components/schemas/UserInformation",
  "x-bhendi-schema": "custom",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "total": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "users": {
      "description": "Array of Developer Portal Drupal Users.",
      "$ref": "#/$defs/UserList"
    }
  },
  "$defs": {
    "User": {
      "type": "object",
      "description": "Developer Portal Drupal User",
      "additionalProperties": true,
      "properties": {
        "uid": {
          "type": "string",
          "description": "The uid of the Developer Portal Drupal User."
        },
        "name": {
          "type": "string",
          "description": "The username of the Developer Portal Drupal User."
        },
        "mail": {
          "type": "string",
          "description": "The email address of the Developer Portal Drupal User."
        },
        "roles": {
          "type": "array",
          "description": "The roles of the Developer Portal Drupal User.",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "string",
          "description": "The status of the Developer Portal Drupal User."
        },
        "apic_state": {
          "type": "string",
          "description": "The APIC state of the Developer Portal Drupal User."
        },
        "last_login": {
          "type": "string",
          "description": "The last login time of the Developer Portal Drupal User."
        },
        "user_registry": {
          "type": "string",
          "description": "The user registry of the Developer Portal Drupal User."
        },
        "consumer_orgs": {
          "type": "array",
          "description": "The consumer organizations the Developer Portal Drupal User is apart of.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "UserList": {
      "type": "array",
      "description": "Array of Developer Portal Drupal Users.",
      "items": {
        "$ref": "#/$defs/User"
      }
    }
  }
}