# tools.ozone.verification.grantVerifications

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.verification.grantVerifications)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.verification.grantVerifications/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.verification.grantVerifications/examples)

## Definitions

### `tools.ozone.verification.grantVerifications`

**Type**: `procedure`

Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `verifications` | `array` | Yes | Array of verification requests to process |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `verifications` | `array` | Yes |  |
| `failedVerifications` | `array` | Yes |  |

### `tools.ozone.verification.grantVerifications#grantError`

**Type**: `object`

Error object for failed verifications.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `error` | `string` | Yes | Error message describing the reason for failure. |
| `subject` | `string` (did) | Yes | The did of the subject being verified |

### `tools.ozone.verification.grantVerifications#verificationInput`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `handle` | `string` (handle) | Yes | Handle of the subject the verification applies to at the moment of verifying. |
| `subject` | `string` (did) | Yes | The did of the subject being verified |
| `createdAt` | `string` (datetime) | No | Timestamp for verification record. Defaults to current time when not specified. |
| `displayName` | `string` | Yes | Display name of the subject the verification applies to at the moment of verifying. |

## Raw Schema

```json
{
  "id": "tools.ozone.verification.grantVerifications",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "verifications"
          ],
          "properties": {
            "verifications": {
              "type": "array",
              "items": {
                "ref": "#verificationInput",
                "type": "ref"
              },
              "maxLength": 100,
              "description": "Array of verification requests to process"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "verifications",
            "failedVerifications"
          ],
          "properties": {
            "verifications": {
              "type": "array",
              "items": {
                "ref": "tools.ozone.verification.defs#verificationView",
                "type": "ref"
              }
            },
            "failedVerifications": {
              "type": "array",
              "items": {
                "ref": "#grantError",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once."
    },
    "grantError": {
      "type": "object",
      "required": [
        "error",
        "subject"
      ],
      "properties": {
        "error": {
          "type": "string",
          "description": "Error message describing the reason for failure."
        },
        "subject": {
          "type": "string",
          "format": "did",
          "description": "The did of the subject being verified"
        }
      },
      "description": "Error object for failed verifications."
    },
    "verificationInput": {
      "type": "object",
      "required": [
        "subject",
        "handle",
        "displayName"
      ],
      "properties": {
        "handle": {
          "type": "string",
          "format": "handle",
          "description": "Handle of the subject the verification applies to at the moment of verifying."
        },
        "subject": {
          "type": "string",
          "format": "did",
          "description": "The did of the subject being verified"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "Timestamp for verification record. Defaults to current time when not specified."
        },
        "displayName": {
          "type": "string",
          "description": "Display name of the subject the verification applies to at the moment of verifying."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
