interface · Browser and Node

# LeafJson

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

Import:

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

## Declaration

interface:

```ts
interface LeafJson {
  commitment: string;
  schemaId: string;
  validUntilDay: number;
  registeredDay: number;
  attrs: string[];
}
```

## Properties

- **`commitment` (required)**: `string`
- **`schemaId` (required)**: `string`
- **`validUntilDay` (required)**: `number`
- **`registeredDay` (required)**: `number`
- **`attrs` (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/LeafJson/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
