# fyi.opensocial.listTabOffers

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listTabOffers)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listTabOffers/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listTabOffers/examples)

## Definitions

### `fyi.opensocial.listTabOffers#fromView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `people` | `array` | Yes |  |
| `slug` | `string` | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

### `fyi.opensocial.listTabOffers`

**Type**: `query`

Tabs offered to the group's site and waiting: every one, for whoever may change the site, each with its own page to look at; those from channels you're in, for anyone else.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `group` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `offers` | `array` | Yes |  |

### `fyi.opensocial.listTabOffers#offerView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `by` | `string` (did) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `from` | `ref` → `#fromView` | Yes |  |
| `id` | `string` | Yes |  |
| `mayDecide` | `boolean` | Yes | Whether you may decide on it. |
| `note` | `string` | No |  |
| `page` | `string` | No | The tab's own page, if it has one. |
| `tab` | `ref` → `fyi.opensocial.site#tab` | Yes |  |
| `to` | `string` | No | The slug of the site's channel it was offered to; absent, wherever they think best. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "fromView": {
      "properties": {
        "name": {
          "type": "string"
        },
        "people": {
          "items": {
            "format": "did",
            "type": "string"
          },
          "type": "array"
        },
        "slug": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "slug",
        "name",
        "people"
      ],
      "type": "object"
    },
    "main": {
      "description": "Tabs offered to the group's site and waiting: every one, for whoever may change the site, each with its own page to look at; those from channels you're in, for anyone else.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "offers": {
              "items": {
                "ref": "#offerView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "offers"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "offerView": {
      "properties": {
        "by": {
          "format": "did",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "from": {
          "ref": "#fromView",
          "type": "ref"
        },
        "id": {
          "type": "string"
        },
        "mayDecide": {
          "description": "Whether you may decide on it.",
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "page": {
          "description": "The tab's own page, if it has one.",
          "type": "string"
        },
        "tab": {
          "ref": "fyi.opensocial.site#tab",
          "type": "ref"
        },
        "to": {
          "description": "The slug of the site's channel it was offered to; absent, wherever they think best.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "by",
        "createdAt",
        "from",
        "tab",
        "mayDecide"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.listTabOffers",
  "lexicon": 1
}
```
