# app.userinput.space

> Published by [userinput.app](https://lexicon.garden/identity/did:plc:uyixj57k6nmxrdj7pjs2ss5s)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uyixj57k6nmxrdj7pjs2ss5s/app.userinput.space)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uyixj57k6nmxrdj7pjs2ss5s/app.userinput.space/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uyixj57k6nmxrdj7pjs2ss5s/app.userinput.space/examples)

## Definitions

### `app.userinput.space#tag`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `label` | `string` | Yes | Human-readable display label. |
| `value` | `string` | Yes | Stable machine value stored on discussions. |

### `app.userinput.space`

**Type**: `record`

A feedback space created by an organization. Lives in the owner's repo; the owner DID is the repo it is stored in.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `icon` | `blob` | No | Optional space icon/logo. |
| `name` | `string` | Yes |  |
| `tags` | `array` | No | The set of categories feedback in this space may be filed under. |
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |

## Raw Schema

```json
{
  "id": "app.userinput.space",
  "defs": {
    "tag": {
      "type": "object",
      "required": [
        "value",
        "label"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 64,
          "description": "Human-readable display label."
        },
        "value": {
          "type": "string",
          "maxLength": 64,
          "description": "Stable machine value stored on discussions."
        }
      }
    },
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "icon": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Optional space icon/logo."
          },
          "name": {
            "type": "string",
            "maxLength": 200,
            "maxGraphemes": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "ref": "#tag",
              "type": "ref"
            },
            "maxLength": 24,
            "description": "The set of categories feedback in this space may be filed under."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 1500
          }
        }
      },
      "description": "A feedback space created by an organization. Lives in the owner's repo; the owner DID is the repo it is stored in."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
