{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/memberstack/json-schema/memberstack-post-members-response-schema.json",
  "title": "PostMembersResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/memberstack-openapi-generated.yml#/components/schemas/PostMembersResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "auth": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastLogin": {
      "type": [
        "string",
        "null"
      ]
    },
    "verified": {
      "type": "boolean"
    },
    "metaData": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string"
        }
      }
    },
    "customFields": {
      "type": "object",
      "properties": {
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "json": {
      "type": "object",
      "properties": {
        "preferences": {
          "type": "object",
          "properties": {
            "theme": {
              "type": "string"
            },
            "notifications": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "permissions": {
      "type": "array",
      "items": {}
    },
    "loginRedirect": {
      "type": "string"
    },
    "stripeCustomerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "profileImage": {
      "type": [
        "string",
        "null"
      ]
    },
    "planConnections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "planId": {
            "type": "string"
          },
          "planName": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "payment": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  }
}