# social.grain.group.item

> A gallery in a group's pool. Written into the group's own repo by whoever is acting as it; the gallery itself stays in its author's repo. Accept a submission by creating one of these, remove from the pool by deleting it.

- 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.item)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.item/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.item/analytics)

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

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `gallery` (string · at-uri, required): The pooled gallery (social.grain.gallery).
- `submission` (string · at-uri): The social.grain.group.submission this accepted, if any.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A gallery in a group's pool. Written into the group's own repo by whoever is acting as it; the gallery itself stays in its author's repo. Accept a submission by creating one of these, remove from the pool by deleting it.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "gallery": {
            "description": "The pooled gallery (social.grain.gallery).",
            "format": "at-uri",
            "type": "string"
          },
          "submission": {
            "description": "The social.grain.group.submission this accepted, if any.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "gallery",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.grain.group.item",
  "lexicon": 1
}
```
