# social.grain.group.submission

> A member offering one of their own galleries to a group's pool. Lives in the member's repo; the group answers with a social.grain.group.item.

- Kind: record
- Record key: tid
- Authority: group.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.submission)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.submission/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.submission/analytics)

## Record (`social.grain.group.submission`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `gallery` (string · at-uri, required): One of the submitter's galleries.
- `group` (string · did, required): The group (a group DID).

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A member offering one of their own galleries to a group's pool. Lives in the member's repo; the group answers with a social.grain.group.item.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "gallery": {
            "description": "One of the submitter's galleries.",
            "format": "at-uri",
            "type": "string"
          },
          "group": {
            "description": "The group (a group DID).",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group",
          "gallery",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.grain.group.submission",
  "lexicon": 1
}
```
