{"openapi":"3.1.0","info":{"title":"Jovie Public API","version":"1.0.0","description":"Anonymous public resources used by the Jovie CLI and MCP server. The /api/v1 Artist API is read-only. Agent routes support creator lookup, Spotify profile creation, and bug/feedback reports; /api/music/mcp supports public music reads. No login or API key is required. Agent failures use error.code, exposed by the CLI/MCP as apiCode. Profile creation is feature-gated and may return FEATURE_DISABLED. The x-jovie-versioning policy applies to /api/v1: additive changes remain in v1, breaking changes use a new URL version. Unversioned agent routes are documented here without inheriting the Artist API lifecycle or quota. Active v1 does not emit Deprecation or Sunset headers; RFC 9745 Deprecation and RFC 8594 Sunset apply only after a dated retirement decision.","contact":{"url":"https://jov.ie/llms.txt"}},"servers":[{"url":"https://jov.ie","description":"Production API origin"}],"externalDocs":{"description":"API reference, rate limits, and version lifecycle policy","url":"https://docs.jov.ie/docs/developers/api-reference"},"x-jovie-versioning":{"strategy":"url","activeVersion":"v1","additiveChanges":"remain-within-active-version","breakingChanges":"publish-a-new-url-version","policyUrl":"https://jov.ie/api-versioning","lifecycle":{"deprecation":{"header":"Deprecation","standard":"RFC 9745","active":false,"trigger":"Only when a version is genuinely deprecated and migration guidance is published."},"sunset":{"header":"Sunset","standard":"RFC 8594","active":false,"trigger":"Only when a dated retirement window is announced for a deprecated version."}}},"paths":{"/api/mcp":{"post":{"operationId":"callGoldenPathTool","summary":"Golden-path agent tools over the drafts MCP transport","description":"Write transport for the golden path (claim, Mom Test, qualification, setup, publish routing, share, upgrade). Every call is guarded by origin, feature flag and the agent write rate limiter; draft-scoped writes require the private HMAC draft_token from artist.search_or_import / workspace.create_draft. The token never appears in a URL and must never be shared. Tools never claim ownership, publish, or purchase: publish_profile routes the person to claim_url, and start_upgrade returns the existing /claim/start checkout entry where offer truth renders. Domain errors return HTTP 200 with result.structuredContent.status = error and a stable code (DRAFT_UNAVAILABLE, INVALID_INPUT); unknown tools use JSON-RPC -32602. Body size is limited to 16384 bytes and an untrusted Origin is rejected with 403.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenPathRpcRequest"}}}},"responses":{"200":{"description":"MCP tool result or JSON-RPC protocol error","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenPathRpcResponse"}}}},"400":{"description":"Invalid JSON or request body","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenPathHttpError"}}}},"403":{"description":"Origin not allowed; empty response body","content":{}},"429":{"description":"Agent write quota exceeded","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenPathHttpError"}}}},"503":{"description":"Feature disabled or limiter unavailable","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoldenPathHttpError"}}}}}}},"/api/agents/creator-lookup":{"get":{"operationId":"lookupCreator","summary":"Find an existing profile or extract public creator fields","description":"Read-only, anonymous and rate limited by client IP. Accepts YouTube, Instagram, TikTok and Linktree profile URLs. Existing public profiles return exists=true and a Jovie profile URL. Only YouTube supports extraction when no existing profile matches; other sources return SOURCE_UNSUPPORTED. CLI platform:handle inputs are expanded to URLs before this request.","security":[],"parameters":[{"name":"url","in":"query","required":true,"description":"HTTPS creator profile URL without credentials.","schema":{"type":"string","format":"uri","maxLength":2048}}],"responses":{"200":{"description":"Existing profile or extracted creator","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ExistingCreatorProfile"},{"$ref":"#/components/schemas/ExtractedCreator"}]}}}},"400":{"description":"Missing or invalid URL. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["VALIDATION_FAILED"]},"message":{"type":"string"}}}}}}}},"404":{"description":"Creator not found. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATOR_NOT_FOUND"]},"message":{"type":"string"}}}}}}}},"422":{"description":"Unsupported URL or source extraction. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["SOURCE_UNSUPPORTED","UNSUPPORTED_URL"]},"message":{"type":"string"}}}}}}}},"429":{"description":"Client IP quota exceeded. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["RATE_LIMITED"]},"message":{"type":"string"}}}}}}}},"502":{"description":"Source extraction failed. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["LOOKUP_FAILED","SOURCE_EMPTY","SOURCE_LOGIN_WALL"]},"message":{"type":"string"}}}}}}}},"503":{"description":"Source quota or lookup limiter temporarily unavailable. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["SOURCE_RATE_LIMITED","TEMPORARILY_UNAVAILABLE"]},"message":{"type":"string"}}}}}}}},"504":{"description":"Source request timed out. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["SOURCE_TIMEOUT"]},"message":{"type":"string"}}}}}}}}}}},"/api/agents/feedback":{"post":{"operationId":"reportAgentFeedback","summary":"Submit a bug or feedback report","description":"Anonymous, rate limited by client IP. Returns a durable reportId. Only declared context fields are accepted; never send credentials, environment variables or file contents. Writes are not automatically retried by the CLI because they have no idempotency key.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFeedbackRequest"}}}},"responses":{"201":{"description":"Report saved","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFeedbackResponse"}}}},"400":{"description":"Invalid report or context. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["VALIDATION_FAILED"]},"message":{"type":"string"}}}}}}}},"429":{"description":"Client IP quota exceeded. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["RATE_LIMITED"]},"message":{"type":"string"}}}}}}}},"500":{"description":"Report could not be saved. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["INTERNAL"]},"message":{"type":"string"}}}}}}}}}}},"/api/agents/profiles":{"post":{"operationId":"createProfile","summary":"Create or find a Spotify artist profile","description":"Anonymous, feature-gated and rate limited by client IP. Supports Spotify artist URLs only. Returns an existing profile unchanged (200) or creates an unclaimed profile (201). claimUrl leads to human ownership verification and is null for claimed profiles. Writes have no idempotency key and are not automatically retried by the CLI.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProfileRequest"}}}},"responses":{"200":{"description":"Existing profile","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProfileResponse"}}}},"201":{"description":"New unclaimed profile","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProfileResponse"}}}},"400":{"description":"Invalid body or ingestion failure. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATE_FAILED","VALIDATION_FAILED"]},"message":{"type":"string"}}}}}}}},"404":{"description":"Spotify artist not found. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["ARTIST_NOT_FOUND","CREATE_FAILED"]},"message":{"type":"string"}}}}}}}},"422":{"description":"Unsupported artist URL. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATE_FAILED","UNSUPPORTED_URL"]},"message":{"type":"string"}}}}}}}},"429":{"description":"Client IP quota exceeded. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATE_FAILED","RATE_LIMITED"]},"message":{"type":"string"}}}}}}}},"500":{"description":"Creation failed. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATE_FAILED","INTERNAL"]},"message":{"type":"string"}}}}}}}},"503":{"description":"Creation disabled or limiter unavailable. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATE_FAILED","FEATURE_DISABLED","TEMPORARILY_UNAVAILABLE"]},"message":{"type":"string"}}}}}}}},"default":{"description":"Ingestion failure; HTTP status is forwarded from ingestion. Stable error.code is exposed as apiCode by the CLI/MCP.","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["CREATE_FAILED"]},"message":{"type":"string"}}}}}}}}}}},"/api/music/mcp":{"post":{"operationId":"callPublicMusicTool","summary":"Resolve public music through the stateless MCP transport","description":"Public read transport. The CLI calls tools/call with name=resolve, Accept: application/json, text/event-stream and Content-Type: application/json. tools/list advertises the complete resolve/search/fetch schemas. Both media types must be accepted; this server returns JSON. Domain errors are returned at HTTP 200 in result.structuredContent.error.code and become CLI apiCode. SDK JSON-RPC protocol errors use numeric error.code. An untrusted Origin is rejected with an empty 403. Body size is limited to 16384 bytes.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveRpcRequest"}}}},"responses":{"200":{"description":"MCP tool result or JSON-RPC protocol error","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveRpcResponse"}}}},"400":{"description":"Invalid JSON or request body","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MusicHttpError"},{"$ref":"#/components/schemas/MusicParseError"}]}}}},"403":{"description":"Origin not allowed; empty response body","content":{}},"406":{"description":"MCP requires Accept: application/json, text/event-stream","content":{}},"408":{"description":"Body read timed out","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicHttpError"}}}},"413":{"description":"Body exceeds 16384 bytes","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicParseError"}}}},"429":{"description":"Client IP quota exceeded","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicHttpError"}}}},"499":{"description":"Request cancelled","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicHttpError"}}}},"503":{"description":"Limiter unavailable","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicHttpError"}}}}}}},"/api/v1/music/resolve":{"post":{"operationId":"resolvePublicMusicV1","summary":"Resolve public artist, track or album identity","description":"Anonymous read-only music capability, using exactly the MCP resolve schema and resolver. No tenant data, profile creation, claims, publishing or charges. Artist input accepts a name, MusicBrainz artist ID or supported artist HTTPS URL. Track input accepts a URL, ISRC or title with artist; album input accepts a URL, UPC or title with artist. Territory applies to tracks/albums only. Ambiguity returns real candidates; resubmit the selected candidate URL. no_match and ambiguous are successful domain outcomes. Aggregate confidence is legacy heuristic evidence, not calibrated assurance. Canonical persisted revisions, history, batch/jobs, freshness/field selection, spend authorization and tenant credentials are not supported by this resource; unknown request fields are rejected. Body limit is 16384 bytes, body deadline 5 seconds and provider deadline 45 seconds. Cancellation aborts provider work when the server runtime propagates a client disconnect; deployed propagation is separate commissioning evidence. Read retries may repeat upstream work; no durable replay snapshot is promised. Unknown Origin is denied. Response facts and errors match MCP structuredContent; REST additionally maps failures to HTTP statuses. This is not vendor compatibility or full parity certification.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveInput"}}}},"responses":{"200":{"description":"Resolved, ambiguous or no match","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveOutput"}}}},"400":{"description":"Invalid JSON, input or unsupported fields","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"403":{"description":"Origin not allowed","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"408":{"description":"Body read timed out","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"413":{"description":"Body exceeds 16384 bytes","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"415":{"description":"Content-Type must be application/json","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"429":{"description":"Client IP quota exceeded","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"499":{"description":"Request cancelled","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"502":{"description":"Provider failed or returned invalid data","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"503":{"description":"Quota store unavailable","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}},"504":{"description":"Provider deadline exceeded","headers":{"Cache-Control":{"description":"Agent responses are not cached.","schema":{"type":"string","enum":["no-store"]}},"Retry-After":{"description":"Seconds to wait before retrying a temporary failure.","schema":{"type":"string"}},"Link":{"description":"Active v1 lifecycle policy pointer.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"Shared public-artist IP quota: 100 requests per 60 seconds.","schema":{"type":"string"}},"RateLimit":{"description":"Remaining requests and seconds to reset when available.","schema":{"type":"string"}},"X-Request-Id":{"description":"Server-generated request identifier; supplied IDs are ignored.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MusicResolveFailure"}}}}}}},"/api/v1/openapi.json":{"get":{"operationId":"getOpenApi","summary":"Fetch this public OpenAPI contract","responses":{"200":{"description":"OpenAPI 3.1 document","content":{"application/json":{"schema":{"type":"object","required":["openapi","paths","components"],"additionalProperties":true}}}}}}},"/llms-full.txt":{"get":{"operationId":"getFullAgentGuide","summary":"Read the complete agent guide","responses":{"200":{"description":"Machine-readable guide","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/llms.txt":{"get":{"operationId":"getAgentGuide","summary":"Read the agent guide","responses":{"200":{"description":"Machine-readable guide","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/{username}/llms.txt":{"get":{"operationId":"getArtistGuide","summary":"Read a public artist guide","parameters":[{"name":"username","in":"path","required":true,"description":"Public Jovie profile handle.","schema":{"type":"string"}}],"responses":{"200":{"description":"Machine-readable guide","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/api/v1":{"get":{"operationId":"getArtistApiIndex","summary":"Discover public profile API capabilities","description":"Stable, non-enumerating capability document. It identifies the anonymous read-only scope, supported GET resources, profile rate-limit metadata, active version/lifecycle policy, and canonical discovery links without depending on a particular profile handle.","parameters":[{"name":"Accept","in":"header","required":false,"schema":{"type":"string","enum":["application/json"]},"description":"Optional standard media-type preference. This endpoint always returns its capability document as application/json."}],"responses":{"200":{"description":"Public profile API capability document","headers":{"Link":{"description":"RFC 9745 deprecation-policy pointer. v1 is active; this relation advertises where future lifecycle signals will be documented.","schema":{"type":"string"},"example":"<https://jov.ie/api-versioning>; rel=\"deprecation\"; type=\"text/html\""}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtistApiIndex"}}}}}}},"/api/v1/{username}":{"get":{"operationId":"getArtist","summary":"Get profile with releases, events, and merch","description":"Anonymous read-only lookup for one public profile. Returns profile fields, releases, upcoming tour events, merch, and related resource links. The artist-profile bucket is limited by client IP. Responds 404 when the username is unknown or not public. Use the /api/v1 capability index or sitemap to discover a current handle; this contract does not enumerate profiles.","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string","examples":["public-handle"]},"description":"Current public Jovie profile handle. The generic example is intentionally not a provisioned profile."}],"responses":{"200":{"description":"Profile data","headers":{"Link":{"description":"RFC 9745 deprecation-policy pointer. v1 is active; this relation advertises where future lifecycle signals will be documented.","schema":{"type":"string"},"example":"<https://jov.ie/api-versioning>; rel=\"deprecation\"; type=\"text/html\""},"RateLimit-Policy":{"description":"Current IETF HTTPAPI RateLimit draft policy: public-artist permits 100 requests in a 60-second window.","schema":{"type":"string"},"example":"\"public-artist\";q=100;w=60"},"RateLimit":{"description":"Current IETF HTTPAPI RateLimit draft status for the caller, with remaining requests and seconds to reset.","schema":{"type":"string"},"example":"\"public-artist\";r=99;t=60"},"X-RateLimit-Limit":{"description":"Legacy compatibility field for the request limit.","schema":{"type":"string"},"example":"100"},"X-RateLimit-Remaining":{"description":"Legacy compatibility field for remaining requests.","schema":{"type":"string"},"example":"99"},"X-RateLimit-Reset":{"description":"Legacy compatibility field containing the Unix reset time.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtistResponse"}}}},"404":{"description":"Profile not found","headers":{"Link":{"description":"RFC 9745 deprecation-policy pointer. v1 is active; this relation advertises where future lifecycle signals will be documented.","schema":{"type":"string"},"example":"<https://jov.ie/api-versioning>; rel=\"deprecation\"; type=\"text/html\""},"RateLimit-Policy":{"description":"Current IETF HTTPAPI RateLimit draft policy: public-artist permits 100 requests in a 60-second window.","schema":{"type":"string"},"example":"\"public-artist\";q=100;w=60"},"RateLimit":{"description":"Current IETF HTTPAPI RateLimit draft status for the caller, with remaining requests and seconds to reset.","schema":{"type":"string"},"example":"\"public-artist\";r=99;t=60"},"X-RateLimit-Limit":{"description":"Legacy compatibility field for the request limit.","schema":{"type":"string"},"example":"100"},"X-RateLimit-Remaining":{"description":"Legacy compatibility field for remaining requests.","schema":{"type":"string"},"example":"99"},"X-RateLimit-Reset":{"description":"Legacy compatibility field containing the Unix reset time.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Artist-profile rate limit exceeded","headers":{"Link":{"description":"RFC 9745 deprecation-policy pointer. v1 is active; this relation advertises where future lifecycle signals will be documented.","schema":{"type":"string"},"example":"<https://jov.ie/api-versioning>; rel=\"deprecation\"; type=\"text/html\""},"RateLimit-Policy":{"description":"Current IETF HTTPAPI RateLimit draft policy: public-artist permits 100 requests in a 60-second window.","schema":{"type":"string"},"example":"\"public-artist\";q=100;w=60"},"RateLimit":{"description":"Current IETF HTTPAPI RateLimit draft status for the caller, with remaining requests and seconds to reset.","schema":{"type":"string"},"example":"\"public-artist\";r=99;t=60"},"X-RateLimit-Limit":{"description":"Legacy compatibility field for the request limit.","schema":{"type":"string"},"example":"100"},"X-RateLimit-Remaining":{"description":"Legacy compatibility field for remaining requests.","schema":{"type":"string"},"example":"99"},"X-RateLimit-Reset":{"description":"Legacy compatibility field containing the Unix reset time.","schema":{"type":"string"}},"Retry-After":{"description":"Integer seconds before retrying. On a throttled response this is authoritative for retry timing.","schema":{"type":"string"},"example":"60"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimitError"}}}},"503":{"description":"Durable rate-limit service temporarily unavailable","headers":{"Link":{"description":"RFC 9745 deprecation-policy pointer. v1 is active; this relation advertises where future lifecycle signals will be documented.","schema":{"type":"string"},"example":"<https://jov.ie/api-versioning>; rel=\"deprecation\"; type=\"text/html\""},"RateLimit-Policy":{"description":"Configured profile quota policy. RateLimit and legacy remaining/reset fields are omitted while durable limiter state is unavailable.","schema":{"type":"string"},"example":"\"public-artist\";q=100;w=60"},"Retry-After":{"description":"Integer seconds before retrying after a temporary rate-limit backend outage.","schema":{"type":"string"},"example":"30"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailable"}}}}}}}},"components":{"schemas":{"AgentFeedbackContext":{"type":"object","additionalProperties":false,"properties":{"apiCode":{"type":"string","minLength":1,"maxLength":60,"description":"Whitespace is trimmed before validation."},"channel":{"type":"string","enum":["cli","mcp"]},"cliVersion":{"type":"string","minLength":1,"maxLength":40,"description":"Whitespace is trimmed before validation."},"command":{"type":"string","minLength":1,"maxLength":120,"description":"Whitespace is trimmed before validation."},"exitCode":{"type":"integer","minimum":0,"maximum":255},"platform":{"type":"string","minLength":1,"maxLength":40,"description":"Whitespace is trimmed before validation."},"runId":{"type":"string","minLength":1,"maxLength":80,"description":"Whitespace is trimmed before validation."},"runtime":{"type":"string","minLength":1,"maxLength":40,"description":"Whitespace is trimmed before validation."},"scenario":{"type":"string","minLength":1,"maxLength":120,"description":"Whitespace is trimmed before validation."},"status":{"type":"integer","minimum":100,"maximum":599}}},"AgentFeedbackRequest":{"type":"object","required":["kind","title","details"],"properties":{"kind":{"type":"string","enum":["bug","feedback"]},"title":{"type":"string","minLength":1,"maxLength":200,"description":"Whitespace is trimmed before validation."},"details":{"type":"string","minLength":1,"maxLength":4000,"description":"Whitespace is trimmed before validation."},"context":{"$ref":"#/components/schemas/AgentFeedbackContext"}}},"AgentFeedbackResponse":{"type":"object","required":["reportId"],"properties":{"reportId":{"type":"string"}}},"AgentProfileRequest":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":500,"description":"Spotify artist URL."}}},"AgentProfileResponse":{"type":"object","required":["username","profileUrl","claimUrl","claimed","public","created"],"properties":{"username":{"type":"string"},"profileUrl":{"type":"string","format":"uri"},"claimUrl":{"type":["string","null"],"format":"uri"},"claimed":{"type":"boolean"},"public":{"type":"boolean"},"created":{"type":"boolean"}}},"CreatorSource":{"type":"string","enum":["instagram","linktree","tiktok","youtube"]},"ExistingCreatorProfile":{"type":"object","required":["platform","sourceUrl","exists","username","displayName","profileUrl"],"properties":{"platform":{"$ref":"#/components/schemas/CreatorSource"},"sourceUrl":{"type":"string","format":"uri"},"exists":{"type":"boolean","enum":[true]},"username":{"type":"string"},"displayName":{"type":["string","null"]},"profileUrl":{"type":"string","format":"uri"}}},"ExtractedCreator":{"type":"object","required":["platform","sourceUrl","exists","displayName","bio","avatarUrl","links"],"properties":{"platform":{"$ref":"#/components/schemas/CreatorSource"},"sourceUrl":{"type":"string","format":"uri"},"exists":{"type":"boolean","enum":[false]},"displayName":{"type":["string","null"]},"bio":{"type":["string","null"]},"avatarUrl":{"type":["string","null"],"format":"uri"},"links":{"type":"array","items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"platformId":{"type":"string"},"title":{"type":"string"},"sourcePlatform":{"type":"string"},"evidence":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"string"}},"signals":{"type":"array","items":{"type":"string"}}}}}}}}},"MusicHttpError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","retryable"],"properties":{"code":{"type":"string","enum":["BODY_TIMEOUT","CANCELLED","INVALID_BODY","RATE_LIMITED","RATE_LIMIT_UNAVAILABLE"]},"retryable":{"type":"boolean"}}}}},"MusicParseError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"details":{"type":"string"}}},"MusicResolveRpcRequest":{"type":"object","required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":["string","integer"]},"method":{"type":"string","enum":["tools/call"]},"params":{"type":"object","required":["name","arguments"],"properties":{"name":{"type":"string","enum":["resolve"]},"arguments":{"$ref":"#/components/schemas/MusicResolveInput"}}}}},"MusicResolveRpcResponse":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"result":{"type":"object","required":["content"],"properties":{"content":{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"}}}},"isError":{"type":"boolean"},"structuredContent":{"oneOf":[{"$ref":"#/components/schemas/MusicResolveOutput"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","retryable"],"properties":{"code":{"type":"string","enum":["CANCELLED","INVALID_INPUT","UNKNOWN_TOOL","UPSTREAM_FAILURE","UPSTREAM_TIMEOUT"]},"retryable":{"type":"boolean"}}}}}]}}}}},"MusicResolveFailure":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["BODY_TIMEOUT","CANCELLED","FORBIDDEN","INVALID_BODY","INVALID_INPUT","PAYLOAD_TOO_LARGE","RATE_LIMITED","RATE_LIMIT_UNAVAILABLE","UNSUPPORTED_MEDIA_TYPE","UPSTREAM_FAILURE","UPSTREAM_TIMEOUT"]},"retryable":{"type":"boolean"}},"required":["code","retryable"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"MusicResolveInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"kind":{"default":"artist","type":"string","enum":["artist","track","album"]},"input":{"type":"string","minLength":1,"maxLength":500},"artist":{"type":"string","minLength":1,"maxLength":200},"territory":{"type":"string","pattern":"^[A-Za-z]{2}$"}},"required":["input"],"additionalProperties":false},"MusicResolveOutput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["resolved","no_match","ambiguous","upstream_error"]},"kind":{"type":"string","enum":["artist","track","album"]},"title":{"type":["string","null"]},"artist":{"type":["string","null"]},"isrc":{"type":["string","null"]},"upc":{"type":["string","null"]},"mbid":{"type":["string","null"]},"links":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"url":{"type":"string","format":"uri"},"provenance":{"type":"string"},"confidence":{"type":"number","minimum":0,"maximum":1}},"required":["provider","url","provenance","confidence"],"additionalProperties":false}},"candidates":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"artist":{"type":["string","null"]},"url":{"type":"string","format":"uri"}},"required":["title","artist","url"],"additionalProperties":false}},"confidence":{"type":"number","minimum":0,"maximum":1},"provenance":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"candidateCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"artistMetadata":{"type":"object","properties":{"source":{"type":"string","const":"musicbrainz"},"sourceUrl":{"type":"string","format":"uri"},"disambiguation":{"type":["string","null"]},"aliases":{"type":"array","items":{"type":"string"}},"type":{"type":["string","null"]},"country":{"type":["string","null"]},"area":{"type":["string","null"]},"origin":{"type":["string","null"]},"isnis":{"type":"array","items":{"type":"string"}},"ipis":{"type":"array","items":{"type":"string"}},"wikidataIds":{"type":"array","items":{"type":"string"}}},"required":["source","sourceUrl","disambiguation","aliases","type","country","area","origin","isnis","ipis","wikidataIds"],"additionalProperties":false}},"required":["status","kind","title","artist","isrc","upc","mbid","links","candidates","confidence","provenance","candidateCount"],"additionalProperties":false},"GoldenPathRpcRequest":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"anyOf":[{"type":"string","maxLength":200},{"type":"number"}]},"method":{"type":"string","const":"tools/call"},"params":{"type":"object","properties":{"name":{"type":"string","enum":["claim_handle","answer_onboarding_question","get_qualification","build_profile","publish_profile","share_profile","start_upgrade"]},"arguments":{"anyOf":[{"type":"object","properties":{"draft_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"draft_token":{"type":"string","minLength":1,"maxLength":8192},"handle":{"type":"string","minLength":1,"maxLength":100}},"required":["draft_id","draft_token","handle"],"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"draft_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"draft_token":{"type":"string","minLength":1,"maxLength":8192},"question":{"type":"string","const":"lastGrowthAttempt"},"answer":{"type":"string","minLength":1,"maxLength":600}},"required":["draft_id","draft_token","question","answer"],"additionalProperties":false},{"type":"object","properties":{"draft_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"draft_token":{"type":"string","minLength":1,"maxLength":8192},"question":{"type":"string","const":"promoSpend"},"answer":{"type":"string","enum":["none","under_50","50_plus"]}},"required":["draft_id","draft_token","question","answer"],"additionalProperties":false}]},{"type":"object","properties":{"draft_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"draft_token":{"type":"string","minLength":1,"maxLength":8192}},"required":["draft_id","draft_token"],"additionalProperties":false},{"type":"object","properties":{"draft_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"draft_token":{"type":"string","minLength":1,"maxLength":8192},"confirmed":{"type":"boolean"}},"required":["draft_id","draft_token"],"additionalProperties":false},{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":100}},"required":["username"],"additionalProperties":false}]}},"required":["name","arguments"],"additionalProperties":false}},"required":["jsonrpc","id","method","params"],"additionalProperties":false},"GoldenPathRpcResponse":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"type":["string","integer","null"]},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"result":{"type":"object","required":["content"],"properties":{"content":{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"}}}},"isError":{"type":"boolean"},"structuredContent":{"type":"object"}}}}},"GoldenPathHttpError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["FEATURE_DISABLED","INVALID_RESPONSE","RATE_LIMITED","TEMPORARILY_UNAVAILABLE"]},"message":{"type":"string"}}}}},"ArtistApiIndex":{"type":"object","required":["name","version","description","access","scope","methods","versioning","rateLimit","endpoints","_links"],"properties":{"name":{"type":"string","examples":["Jovie Artist API"]},"version":{"type":"string","examples":["1.0.0"]},"description":{"type":"string"},"access":{"type":"string","enum":["anonymous"]},"scope":{"type":"string","enum":["read-only"]},"methods":{"type":"array","items":{"type":"string","enum":["GET"]}},"versioning":{"$ref":"#/components/schemas/VersioningPolicy"},"rateLimit":{"type":"object","required":["appliesTo","policy","limit","windowSeconds","key"],"properties":{"appliesTo":{"type":"string","enum":["artist-profile"]},"policy":{"type":"string","examples":["public-artist"]},"limit":{"type":"integer","examples":[100]},"windowSeconds":{"type":"integer","examples":[60]},"key":{"type":"string","examples":["client-ip"]}}},"endpoints":{"type":"object","required":["index","artistTemplate","openapi","developers","sitemap"],"properties":{"index":{"type":"string","format":"uri","examples":["https://jov.ie/api/v1"]},"artistTemplate":{"type":"string","format":"uri-template","examples":["https://jov.ie/api/v1/{username}"]},"openapi":{"type":"string","format":"uri","examples":["https://jov.ie/api/v1/openapi.json"]},"developers":{"type":"string","format":"uri"},"sitemap":{"type":"string","format":"uri"}}},"_links":{"type":"object","required":["self","policy","openapi","developers","sitemap"],"properties":{"self":{"type":"string","format":"uri"},"policy":{"type":"string","format":"uri"},"openapi":{"type":"string","format":"uri"},"developers":{"type":"string","format":"uri"},"sitemap":{"type":"string","format":"uri"}}}}},"VersioningPolicy":{"type":"object","required":["strategy","activeVersion","additiveChanges","breakingChanges","policyUrl","lifecycle"],"properties":{"strategy":{"type":"string","enum":["url"]},"activeVersion":{"type":"string","examples":["v1"]},"additiveChanges":{"type":"string","enum":["remain-within-active-version"]},"breakingChanges":{"type":"string","enum":["publish-a-new-url-version"]},"policyUrl":{"type":"string","format":"uri"},"lifecycle":{"type":"object","required":["deprecation","sunset"],"properties":{"deprecation":{"type":"object","required":["header","standard","active","trigger"],"properties":{"header":{"type":"string","examples":["Deprecation"]},"standard":{"type":"string","examples":["RFC 9745"]},"active":{"type":"boolean","examples":[false]},"trigger":{"type":"string"}}},"sunset":{"type":"object","required":["header","standard","active","trigger"],"properties":{"header":{"type":"string","examples":["Sunset"]},"standard":{"type":"string","examples":["RFC 8594"]},"active":{"type":"boolean","examples":[false]},"trigger":{"type":"string"}}}}}}},"ArtistResponse":{"type":"object","required":["artist","releases","events","merch","_links"],"properties":{"artist":{"$ref":"#/components/schemas/Artist"},"releases":{"type":"array","items":{"$ref":"#/components/schemas/Release"}},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"merch":{"type":"array","items":{"$ref":"#/components/schemas/MerchItem"}},"_links":{"$ref":"#/components/schemas/Links"}}},"Artist":{"type":"object","required":["id","username","name","profileUrl","creatorType","links","platformIds"],"properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"bio":{"type":"string","nullable":true},"location":{"type":"string","nullable":true},"genres":{"type":"array","items":{"type":"string"}},"avatarUrl":{"type":"string","nullable":true},"profileUrl":{"type":"string","format":"uri"},"spotifyUrl":{"type":"string","format":"uri","nullable":true},"appleMusicUrl":{"type":"string","format":"uri","nullable":true},"youtubeUrl":{"type":"string","format":"uri","nullable":true},"creatorType":{"type":"string","enum":["artist","podcaster","influencer","creator"]},"audience":{"$ref":"#/components/schemas/Audience","nullable":true},"links":{"type":"array","items":{"$ref":"#/components/schemas/ArtistLink"}},"platformIds":{"$ref":"#/components/schemas/PlatformIds"}}},"Audience":{"type":"object","required":["platform","count","countText","observedAt"],"properties":{"platform":{"type":"string","enum":["youtube","spotify"]},"count":{"type":"integer"},"countText":{"type":"string"},"observedAt":{"type":"string","format":"date-time","nullable":true}}},"ArtistLink":{"type":"object","required":["platform","url"],"properties":{"platform":{"type":"string"},"url":{"type":"string","format":"uri"},"displayText":{"type":"string","nullable":true}}},"PlatformIds":{"type":"object","required":["spotify","appleMusic","youtube","deezer","tidal","soundcloud","musicbrainz"],"properties":{"spotify":{"type":"string","nullable":true},"appleMusic":{"type":"string","nullable":true},"youtube":{"type":"string","nullable":true},"deezer":{"type":"string","nullable":true},"tidal":{"type":"string","nullable":true},"soundcloud":{"type":"string","nullable":true},"musicbrainz":{"type":"string","nullable":true}}},"Release":{"type":"object","required":["id","title","url"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"type":{"type":"string","enum":["single","ep","album","compilation"],"nullable":true},"releaseDate":{"type":"string","format":"date","nullable":true},"artworkUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri"}}},"Event":{"type":"object","required":["id","startDate","venue","city","country"],"properties":{"id":{"type":"string"},"title":{"type":"string","nullable":true},"startDate":{"type":"string","format":"date"},"venue":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"ticketUrl":{"type":"string","format":"uri","nullable":true},"ticketStatus":{"type":"string","enum":["available","sold_out","cancelled"]}}},"MerchItem":{"type":"object","required":["id","title","productType","retailPriceCents","url"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"productType":{"type":"string"},"imageUrl":{"type":"string","format":"uri"},"retailPriceCents":{"type":"integer"},"url":{"type":"string","format":"uri"},"available":{"type":"boolean"}}},"Links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"profile":{"type":"string","format":"uri"},"llmsTxt":{"type":"string","format":"uri"},"feed":{"type":"string","format":"uri"},"mcp":{"type":"string","format":"uri"},"openapi":{"type":"string","format":"uri"}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"code":{"type":"string"}}},"RateLimitError":{"type":"object","required":["error","code"],"properties":{"error":{"type":"string","examples":["Too many requests"]},"code":{"type":"string","enum":["RATE_LIMITED"]}}},"ServiceUnavailable":{"type":"object","required":["error","code"],"properties":{"error":{"type":"string"},"code":{"type":"string","enum":["RATE_LIMIT_UNAVAILABLE"]}}}}}}