{
  "$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
}
