{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayger-com/json-schema/relayger-com-security-view-schema.json",
  "title": "SecurityView",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayger-com-me-api-openapi.yml#/components/schemas/SecurityView",
  "additionalProperties": false,
  "properties": {
    "handle": {
      "type": "string"
    },
    "number": {
      "pattern": "^[1-9][0-9]{9}$",
      "type": "string"
    },
    "passwordChangedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "passwordSet": {
      "type": "boolean"
    },
    "pendingEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "recommended": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "recoveryEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "recoveryKeySet": {
      "type": "boolean"
    },
    "sessions": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "type": "string"
          },
          "current": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
            "type": "string"
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "source",
          "createdAt",
          "expiresAt",
          "current"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "number",
    "handle",
    "passwordSet",
    "passwordChangedAt",
    "recoveryKeySet",
    "recoveryEmail",
    "pendingEmail",
    "sessions",
    "recommended"
  ],
  "type": "object"
}