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