{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/1password/json-schema/1password-scim-user-scim-list-response-schema.json",
  "title": "ScimUserScimListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/1password-scim-api-openapi.yml#/components/schemas/ScimUserScimListResponse",
  "type": "object",
  "properties": {
    "totalResults": {
      "type": "integer",
      "description": "The total number of results matching the query, across all pages.",
      "format": "int32"
    },
    "itemsPerPage": {
      "type": "integer",
      "description": "The number of results returned in this page.",
      "format": "int32"
    },
    "startIndex": {
      "type": "integer",
      "description": "The 1-based index of the first result in this page.",
      "format": "int32"
    },
    "schemas": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The SCIM schema URIs for this response. Always the SCIM `ListResponse` schema."
    },
    "Resources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ScimUser"
      },
      "description": "The resources returned in this page."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ScimAddress": {
      "type": "object",
      "properties": {
        "primary": {
          "type": "boolean"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "formatted": {
          "type": [
            "string",
            "null"
          ]
        },
        "streetAddress": {
          "type": [
            "string",
            "null"
          ]
        },
        "locality": {
          "type": [
            "string",
            "null"
          ]
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "postalCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ScimEmail": {
      "type": "object",
      "properties": {
        "primary": {
          "type": "boolean"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "display": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ScimEntitlement": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "string",
            "null"
          ]
        },
        "display": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "primary": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "ScimName": {
      "type": "object",
      "properties": {
        "formatted": {
          "type": [
            "string",
            "null"
          ],
          "description": "The full name formatted for display, e.g. \"Ms. Barbara Jane Jensen, III\"."
        },
        "familyName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The family (last) name of the user."
        },
        "givenName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The given (first) name of the user."
        },
        "middleName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The middle name(s) of the user. Combined with the given name when stored."
        },
        "honorificPrefix": {
          "type": [
            "string",
            "null"
          ]
        },
        "honorificSuffix": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ScimPhoneNumber": {
      "type": "object",
      "properties": {
        "primary": {
          "type": "boolean"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ScimPhoto": {
      "type": "object",
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ScimRef": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "string",
            "null"
          ]
        },
        "$ref": {
          "type": [
            "string",
            "null"
          ]
        },
        "display": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ScimRole": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "The role's value: the name of an existing SaaS Manager role."
        },
        "display": {
          "type": [
            "string",
            "null"
          ],
          "description": "A human-readable name for the role, for display purposes."
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "description": "Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "primary": {
          "type": "boolean",
          "description": "Whether this is the primary role. The primary value `true` must appear at most once."
        }
      },
      "additionalProperties": false
    },
    "ScimUser": {
      "type": "object",
      "properties": {
        "schemas": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "userName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the user, typically their email address. Required; must belong to a domain verified for your organization. Immutable once set."
        },
        "name": {
          "allOf": [
            {
              "$ref": "#/$defs/ScimName"
            }
          ],
          "description": "The components of the user's name."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user's display name (derived from their name on output). Server-controlled.",
          "readOnly": true
        },
        "nickName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "profileUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user's job title, e.g. \"Vice President\"."
        },
        "userType": {
          "type": [
            "string",
            "null"
          ],
          "description": "Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "preferredLanguage": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user's preferred language; mirrors locale on output. Set locale instead.",
          "readOnly": true
        },
        "locale": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user's default locale, e.g. \"en-US\", used for localizing currency, dates and numbers."
        },
        "timezone": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user's time zone in IANA (\"Olson\") format, e.g. \"America/Los_Angeles\"."
        },
        "active": {
          "type": "boolean",
          "description": "Whether the user is active. `false` suspends the user's SaaS Manager access."
        },
        "password": {
          "type": [
            "string",
            "null"
          ],
          "description": "A password for the user. Write-only; accepted for SCIM compatibility but never returned.",
          "writeOnly": true
        },
        "emails": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimEmail"
          },
          "description": "Email addresses for the user."
        },
        "phoneNumbers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimPhoneNumber"
          },
          "description": "Phone numbers for the user. Only the first value is stored."
        },
        "photos": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimPhoto"
          },
          "description": "Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "addresses": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimAddress"
          },
          "description": "A physical mailing address. Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "groups": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimRef"
          },
          "description": "Groups the user belongs to. Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "entitlements": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimEntitlement"
          },
          "description": "Entitlements held by the user. Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "roles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ScimRole"
          },
          "description": "The SaaS Manager roles assigned to the user. Each role's `value` must match an existing role name."
        },
        "x509Certificates": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/Scimx509Certificate"
          },
          "description": "Accepted for SCIM compatibility but ignored (not stored or returned).",
          "writeOnly": true
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The service-provider-assigned SCIM resource ID. Server-controlled; ignored on requests.",
          "readOnly": true
        },
        "externalId": {
          "type": [
            "string",
            "null"
          ],
          "description": "An identifier for the resource as defined by the provisioning client."
        },
        "meta": {
          "allOf": [
            {
              "$ref": "#/$defs/ScimUserMetadata"
            }
          ],
          "description": "Resource metadata (created/last-modified timestamps, resource type, location). Server-controlled; ignored on requests.",
          "readOnly": true
        }
      },
      "additionalProperties": false
    },
    "ScimUserMetadata": {
      "type": "object",
      "properties": {
        "created": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastModified": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "resourceType": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Scimx509Certificate": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "string",
            "null"
          ]
        },
        "display": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "primary": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}