social.grain.gallery.defs

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · defs
Kinddefs
Authoritygallery.grain.social
Indexed
cid bafyreifjxxz4e5ebsd5yaxlks74vt7vs5op2e72caxpvcgegxxrxm4n45q

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "crossPostInfo": {
      "properties": {
        "url": {
          "description": "URL to the cross-posted Bluesky post.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "galleryView": {
      "properties": {
        "address": {
          "ref": "community.lexicon.location.address",
          "type": "ref"
        },
        "cameras": {
          "description": "List of camera make and models used in this gallery derived from EXIF data.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "commentCount": {
          "type": "integer"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "creator": {
          "ref": "social.grain.actor.defs#profileView",
          "type": "ref"
        },
        "crossPost": {
          "ref": "#crossPostInfo",
          "type": "ref"
        },
        "description": {
          "type": "string"
        },
        "facets": {
          "description": "Annotations of description text (mentions, URLs, hashtags, etc)",
          "items": {
            "ref": "app.bsky.richtext.facet",
            "type": "ref"
          },
          "type": "array"
        },
        "favCount": {
          "type": "integer"
        },
        "favedByFollowing": {
          "description": "Profiles of accounts the viewer follows who favorited this gallery. Capped for display — see favCount for the total. Excludes the viewer.",
          "items": {
            "ref": "social.grain.actor.defs#profileView",
            "type": "ref"
          },
          "type": "array"
        },
        "group": {
          "description": "The group whose pool this gallery is in, if any.",
          "ref": "social.grain.group.defs#groupRef",
          "type": "ref"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "items": {
          "items": {
            "refs": [
              "social.grain.photo.defs#photoView"
            ],
            "type": "union"
          },
          "type": "array"
        },
        "labels": {
          "items": {
            "ref": "com.atproto.label.defs#label",
            "type": "ref"
          },
          "type": "array"
        },
        "location": {
          "ref": "community.lexicon.location.hthree",
          "type": "ref"
        },
        "locationDisplay": {
          "description": "Formatted location label for display.",
          "type": "string"
        },
        "record": {
          "type": "unknown"
        },
        "title": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        }
      },
      "required": [
        "uri",
        "cid",
        "creator",
        "record",
        "indexedAt"
      ],
      "type": "object"
    },
    "viewerState": {
      "description": "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
      "properties": {
        "fav": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "social.grain.gallery.defs",
  "lexicon": 1
}