technology.agave.marketplace.putUses

catalogue.agave.technology

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Replace one instance's use counts with the ones given. Authenticated with a service token of any of the instance's members (aud: the marketplace's DID, lxm: this method); the marketplace keeps the counts under the instance id and never the member.",
      "errors": [
        {
          "description": "The call carries no service token.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "The token is expired, not signed by the key its issuer's DID document names, or not addressed to the marketplace and this method.",
          "name": "InvalidToken"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "instance": {
              "description": "An opaque id the instance draws once from at least 16 random bytes and keeps: letters, digits, dash and underscore. A report replaces the previous one under the same id.",
              "maxLength": 64,
              "minLength": 16,
              "type": "string"
            },
            "uses": {
              "items": {
                "ref": "#use",
                "type": "ref"
              },
              "maxLength": 1000,
              "type": "array"
            }
          },
          "required": [
            "instance",
            "uses"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "accepted": {
              "description": "How many entries name a slug the marketplace indexed; the others are dropped.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "accepted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "use": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "count": {
          "description": "Copies of the slug, any version, across the instance's fleets.",
          "maximum": 10000,
          "minimum": 1,
          "type": "integer"
        },
        "slug": {
          "maxLength": 40,
          "type": "string"
        }
      },
      "required": [
        "author",
        "slug",
        "count"
      ],
      "type": "object"
    }
  },
  "id": "technology.agave.marketplace.putUses",
  "lexicon": 1
}

Validate Record

Validate a record against technology.agave.marketplace.putUses

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:jgjchylj237en76b3hi2xu4g
CID
bafyreid2gxaq4mohehbgkebeowpxv4bxtbzrgymztwuw2qxd2shq5f5yb4
Indexed At
2026-10-27 15:25 UTC
AT-URI
at://did:plc:jgjchylj237en76b3hi2xu4g/com.atproto.lexicon.schema/technology.agave.marketplace.putUses

Lexicon Garden

@