{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/1password/json-schema/1password-person-app-page-schema.json",
  "title": "PersonAppPage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/1password-people-api-openapi.yml#/components/schemas/PersonAppPage",
  "type": "object",
  "properties": {
    "next": {
      "type": "string",
      "description": "The URL of the next page of results. Absent when there are no more results."
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PersonApp"
      },
      "description": "The page of results."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AppAccount": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The account's unique ID"
        },
        "name": {
          "type": "string",
          "description": "The account holder's name"
        },
        "email": {
          "type": "string",
          "description": "The account's email address"
        },
        "status": {
          "enum": [
            "Active",
            "Inactive",
            "NotProvisioned",
            "Suspended",
            "Deleted",
            "Unknown",
            "WaitingToProvision"
          ],
          "type": "string",
          "description": "The account's status on the application"
        },
        "lastLoginDtm": {
          "type": "string",
          "description": "The timestamp of the account's last login",
          "format": "date-time"
        },
        "deleted": {
          "type": "boolean",
          "description": "Whether the account has been deleted"
        },
        "lastModifiedDtm": {
          "type": "string",
          "description": "The timestamp for when the account record was last modified",
          "format": "date-time"
        }
      },
      "additionalProperties": false,
      "description": "An account (user) on an application"
    },
    "PersonApp": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The application's unique ID"
        },
        "name": {
          "type": "string",
          "description": "The application name"
        },
        "status": {
          "enum": [
            "New",
            "InReview",
            "Managed",
            "Accepted",
            "Ignored",
            "PlanToClose",
            "Closed"
          ],
          "type": "string",
          "description": "The application's status in SaaS Manager."
        },
        "appUser": {
          "allOf": [
            {
              "$ref": "#/$defs/AppAccount"
            }
          ],
          "description": "The person's account on the application"
        }
      },
      "additionalProperties": false,
      "description": "An application a person has an account on"
    }
  }
}