interface · Browser and Node

# StatementJson

`@toip-tools/anon-membership` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/anon-membership/src/statement.ts#L161)

Import:

```ts
import { type StatementJson } from "@toip-tools/anon-membership";
```

## Declaration

interface:

```ts
interface StatementJson {
  groups: { groupId: string; root: string }[];
  schemaId: string;
  today: number;
  registeredBy: number;
  predicates: ({ op: "any" } | { op: "eq" | "gte" | "lte"; value: string })[];
  scope: string;
  limit: number;
  signal: string;
}
```

## Properties

- **`groups` (required)**: `{ groupId: string; root: string; }[]`
- **`schemaId` (required)**: `string`
- **`today` (required)**: `number`
- **`registeredBy` (required)**: `number`
- **`predicates` (required)**: `({ op: "any"; } | { op: "eq" | "gte" | "lte"; value: string; })[]`
- **`scope` (required)**: `string`
- **`limit` (required)**: `number`
- **`signal` (required)**: `string`

[Usage guide](https://toip.tools/toolkit/anon-membership/#usage) · [Error handling](https://toip.tools/toolkit/anon-membership/#errors) · [All exports](https://toip.tools/toolkit/anon-membership/api/)

---

This is the Markdown version of https://toip.tools/toolkit/anon-membership/api/StatementJson/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
