# pub.chive.governance.requestElevation

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.governance.requestElevation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.governance.requestElevation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.governance.requestElevation/examples)

## Definitions

### `pub.chive.governance.requestElevation`

**Type**: `procedure`

Request elevation to trusted editor role. The request is validated against eligibility criteria.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `targetRole` | `string` | Yes | Role to request elevation to |

#### Output

**Encoding**: `application/json`

#### Errors

- **AuthenticationRequired**
- **InvalidRequest**

### `pub.chive.governance.requestElevation#elevationResult`

**Type**: `object`

Result of elevation operation

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `message` | `string` | Yes | Human-readable result message |
| `success` | `boolean` | Yes | Whether the operation succeeded |
| `requestId` | `string` | No | Elevation request ID (if created) |

## Raw Schema

```json
{
  "id": "pub.chive.governance.requestElevation",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "targetRole"
          ],
          "properties": {
            "targetRole": {
              "type": "string",
              "description": "Role to request elevation to",
              "knownValues": [
                "trusted-editor"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "schema": {
          "ref": "#elevationResult",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Request elevation to trusted editor role. The request is validated against eligibility criteria."
    },
    "elevationResult": {
      "type": "object",
      "required": [
        "success",
        "message"
      ],
      "properties": {
        "message": {
          "type": "string",
          "description": "Human-readable result message"
        },
        "success": {
          "type": "boolean",
          "description": "Whether the operation succeeded"
        },
        "requestId": {
          "type": "string",
          "description": "Elevation request ID (if created)"
        }
      },
      "description": "Result of elevation operation"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
