{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/picsee-io/json-schema/picsee-io-links-search-params-schema.json",
  "title": "LinksSearchParams",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/picsee-io-openapi.yml#/components/schemas/LinksSearchParams",
  "type": "object",
  "properties": {
    "encodeId": {
      "type": "string",
      "description": "Search for short links using the slug (requires an exact match to find results). **Priority 1** — when provided, all other search parameters are ignored."
    },
    "authorId": {
      "type": "integer",
      "description": "Search for short links created by a specific link author ID. **Priority 2** — ignored if `encodeId` is provided."
    },
    "tag": {
      "type": "string",
      "description": "Search for short links with the specified tag (limit: 3-30 characters). **Priority 3** — ignored if `encodeId` or `authorId` is provided."
    },
    "keyword": {
      "type": "string",
      "description": "Search for short links with the keyword (limit: 3-30 characters). **Priority 4** — ignored if any higher priority parameter (`encodeId`, `authorId`, or `tag`) is provided."
    }
  }
}