camera.swap.listing

swap.camera

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A piece of camera gear the author is offering for swap, lend, or gift. Lives in the author's own repo.",
      "key": "tid",
      "record": {
        "properties": {
          "area": {
            "description": "Coarse metro/region code from the app's fixed area vocabulary (see web/src/lib/areas.ts). City-level only, never coordinates. Match axis.",
            "maxLength": 64,
            "type": "string"
          },
          "category": {
            "description": "Primary match axis.",
            "knownValues": [
              "body",
              "lens",
              "flash",
              "bag",
              "filter",
              "tripod",
              "film",
              "accessory",
              "other"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "condition": {
            "description": "1-10; 9-10 Mint, 7-8 Excellent, 5-6 Good, 3-4 Fair, 1-2 Poor.",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 600,
            "maxLength": 3000,
            "type": "string"
          },
          "exchange": {
            "description": "How the owner wants to part with it. swap = trade for other gear; lend = borrow & return; gift = give away.",
            "knownValues": [
              "swap",
              "lend",
              "gift"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "images": {
            "items": {
              "accept": [
                "image/*"
              ],
              "maxSize": 2000000,
              "type": "blob"
            },
            "maxLength": 4,
            "type": "array"
          },
          "make": {
            "description": "e.g. \"Fujifilm\"",
            "maxLength": 128,
            "type": "string"
          },
          "model": {
            "description": "e.g. \"X-T10\"",
            "maxLength": 128,
            "type": "string"
          },
          "seeking": {
            "description": "Free-text hints of what the owner wants in return. Display-only in v1, not a match axis.",
            "items": {
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 16,
            "type": "array"
          }
        },
        "required": [
          "category",
          "exchange",
          "area",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "camera.swap.listing",
  "lexicon": 1
}

Validate Record

Validate a record against camera.swap.listing

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:37rhok2ls3ltydjh42fjljyc
CID
bafyreiga4l5nzs4wyk7eykbcmk4eeklwlizxuggk42k727mwqsgksnmikm
Indexed At
2026-06-14 06:46 UTC
AT-URI
at://did:plc:37rhok2ls3ltydjh42fjljyc/com.atproto.lexicon.schema/camera.swap.listing

Similar Lexicons

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

  • An "In Search Of" post: gear the author is looking for. Lives in the author's own repo.

  • An offer or request for a free item, discoverable by approximate location.

Lexicon Garden

@