{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/advisorppc-com/json-schema/advisorppc-com-email-grant-out-schema.json",
  "title": "EmailGrantOut",
  "description": "The granted tenant's plan row plus what the call had to create.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/advisorppc-com-openapi.json#/components/schemas/EmailGrantOut",
  "properties": {
    "tenantId": {
      "type": "string",
      "title": "Tenantid"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "billingSource": {
      "type": "string",
      "title": "Billingsource"
    },
    "members": {
      "type": "integer",
      "title": "Members"
    },
    "updatedAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updatedat"
    },
    "editable": {
      "type": "boolean",
      "title": "Editable"
    },
    "isStaff": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Isstaff"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "userId": {
      "type": "string",
      "title": "Userid"
    },
    "userCreated": {
      "type": "boolean",
      "title": "Usercreated"
    },
    "tenantCreated": {
      "type": "boolean",
      "title": "Tenantcreated"
    },
    "changed": {
      "type": "boolean",
      "title": "Changed"
    },
    "welcomed": {
      "type": "boolean",
      "title": "Welcomed",
      "default": false
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "tenantId",
    "name",
    "tier",
    "status",
    "billingSource",
    "members",
    "editable",
    "email",
    "userId",
    "userCreated",
    "tenantCreated",
    "changed"
  ]
}