net.atpix.gallery.createPhoto

lexicon.atpix.net

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a photo record after blob upload. Writes to public repo or permissioned space per visibility.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "albumUris": {
              "items": {
                "format": "at-uri",
                "type": "string"
              },
              "maxLength": 100,
              "type": "array"
            },
            "caption": {
              "maxLength": 2000,
              "type": "string"
            },
            "contributor": {
              "format": "did",
              "type": "string"
            },
            "copyrightHolder": {
              "format": "did",
              "type": "string"
            },
            "description": {
              "maxLength": 5000,
              "type": "string"
            },
            "height": {
              "minimum": 1,
              "type": "integer"
            },
            "image": {
              "accept": [
                "image/*"
              ],
              "type": "blob"
            },
            "inLanguage": {
              "maxLength": 35,
              "type": "string"
            },
            "keywords": {
              "items": {
                "maxLength": 64,
                "type": "string"
              },
              "maxLength": 50,
              "type": "array"
            },
            "license": {
              "format": "uri",
              "type": "string"
            },
            "locationCreated": {
              "ref": "net.atpix.gallery.defs#geoPlace",
              "type": "ref"
            },
            "source": {
              "format": "at-uri",
              "type": "string"
            },
            "spaceUri": {
              "maxLength": 512,
              "type": "string"
            },
            "thumbnail": {
              "accept": [
                "image/*"
              ],
              "type": "blob"
            },
            "title": {
              "maxLength": 500,
              "type": "string"
            },
            "visibility": {
              "ref": "net.atpix.gallery.defs#visibility",
              "type": "ref"
            },
            "width": {
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "image",
            "visibility"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "net.atpix.gallery.createPhoto",
  "lexicon": 1
}

Validate Record

Validate a record against net.atpix.gallery.createPhoto

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:x4crpdfko2d7xrcd5eovpwex
CID
bafyreiddgxp2hnkxor6jwih7eklakvhfgpe6sb2nfj2fzbjyqg6hai32s4
Indexed At
2026-07-25 20:26 UTC
AT-URI
at://did:plc:x4crpdfko2d7xrcd5eovpwex/com.atproto.lexicon.schema/net.atpix.gallery.createPhoto

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Update photo metadata. Does not replace image blob.

  • ATPix photo record. Metadata mapped to Dublin Core and Schema.org ImageObject terms (see docs/lexicon/net.atpix.gallery.md).

  • Create an album. When visibility is permissioned, provisions a HappyView space (type net.atpix.gallery.albumSpace) and links spaceUri.

  • Create an app.didpic.feed.post record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). image must come from a prior app.didpic.write.uploadBl…

  • Subset of schema:Place for schema:locationCreated.

Lexicon Garden

@