{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/equity-rank-com/json-schema/equity-rank-com-invite-admin-schema.json",
  "title": "InviteAdmin",
  "description": "Full invite view for /admin/ff dashboard.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/equity-rank-com-friends-and-family-api-openapi.yml#/components/schemas/InviteAdmin",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "code": {
      "type": "string",
      "title": "Code"
    },
    "label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Label"
    },
    "max_uses": {
      "type": "integer",
      "title": "Max Uses"
    },
    "use_count": {
      "type": "integer",
      "title": "Use Count"
    },
    "acknowledgment_required": {
      "type": "boolean",
      "title": "Acknowledgment Required"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    },
    "created_by_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created By Email"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "disabled_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Disabled At"
    },
    "is_redeemable": {
      "type": "boolean",
      "title": "Is Redeemable"
    }
  },
  "type": "object",
  "required": [
    "id",
    "code",
    "label",
    "max_uses",
    "use_count",
    "acknowledgment_required",
    "expires_at",
    "created_by_email",
    "created_at",
    "disabled_at",
    "is_redeemable"
  ]
}