# gay.sylv.example.query

> Published by [sylv.gay](https://lexicon.garden/identity/did:plc:fy33mgjzegid56spk6wk7bma)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:fy33mgjzegid56spk6wk7bma/gay.sylv.example.query)
- [Documentation](https://lexicon.garden/lexicon/did:plc:fy33mgjzegid56spk6wk7bma/gay.sylv.example.query/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:fy33mgjzegid56spk6wk7bma/gay.sylv.example.query/examples)

## Definitions

### `gay.sylv.example.query`

**Type**: `query`

This is an example XRPC query.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `data` | `string` | No | Optional data that is returned. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `data` | `string` | No | Optional data. |
| `message` | `string` | Yes | The Hello World message. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "This is an example XRPC query.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "data": {
              "description": "Optional data.",
              "type": "string"
            },
            "message": {
              "description": "The Hello World message.",
              "type": "string"
            }
          },
          "required": [
            "message"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "data": {
            "description": "Optional data that is returned.",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "gay.sylv.example.query",
  "lexicon": 1
}
```
