{
  "$schema": "https://raw.githubusercontent.com/jina-ai/ard-spec/main/schema/1.0.0/manifest.json",
  "name": "Kitchen Records",
  "description": "Underground electronic music label showcasing releases with interactive album grid interface. Specializing in techno, minimal, and experimental electronic music.",
  "version": "1.0.0",
  "author": {
    "name": "Kitchen Records",
    "uri": "https://kitchenrecords.nl"
  },
  "license": "MIT",
  "homepage": "https://kitchenrecords.nl",
  "resources": {
    "releases": {
      "description": "Browse and filter all music releases by tags, artists, and dates. Features an interactive album grid with animated transitions.",
      "uri": "/",
      "mimeType": "text/html",
      "capabilities": ["browse", "search", "filter"],
      "tags": ["music", "releases", "catalog", "electronic", "techno", "minimal"]
    },
    "llms": {
      "description": "Machine-readable catalog of all releases for LLM training and crawling. Contains structured information about artists, release dates, tags, and external links.",
      "uri": "/llms.txt",
      "mimeType": "text/markdown",
      "capabilities": ["index", "crawl", "train"],
      "tags": ["llms.txt", "machine-readable", "catalog", "training-data"]
    },
    "sitemap": {
      "description": "XML sitemap for search engine and AI agent discovery of all site pages and releases.",
      "uri": "/sitemap.xml",
      "mimeType": "application/xml",
      "capabilities": ["index", "crawl"],
      "tags": ["sitemap", "seo", "discovery"]
    }
  },
  "tools": {
    "get_releases": {
      "description": "Retrieve all music releases from Kitchen Records catalog",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "description": "Maximum number of releases to return",
            "minimum": 1,
            "maximum": 100,
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Pagination offset",
            "minimum": 0,
            "default": 0
          },
          "sort": {
            "type": "string",
            "description": "Sort order",
            "enum": ["newest", "oldest", "title", "artist"],
            "default": "newest"
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "releases": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/Release"
            }
          },
          "total": {
            "type": "integer",
            "description": "Total number of releases"
          },
          "limit": {
            "type": "integer",
            "description": "Number of releases returned"
          },
          "offset": {
            "type": "integer",
            "description": "Current offset"
          }
        }
      }
    },
    "search_releases": {
      "description": "Search releases by artist, title, or tags",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search term to match against artist names and release titles"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Filter by one or more tags (AND logic)"
          },
          "artist": {
            "type": "string",
            "description": "Filter by specific artist name"
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of results",
            "minimum": 1,
            "maximum": 50,
            "default": 20
          }
        },
        "required": ["query"]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/Release"
            }
          },
          "total": {
            "type": "integer",
            "description": "Total number of matching releases"
          }
        }
      }
    },
    "get_release": {
      "description": "Get detailed information about a specific release by ID",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Release ID/slug",
            "pattern": "^[a-z0-9-]+$"
          }
        },
        "required": ["id"]
      },
      "outputSchema": {
        "$ref": "#/$defs/Release"
      }
    },
    "get_tags": {
      "description": "Get all available tags for filtering releases",
      "outputSchema": {
        "type": "object",
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of all unique tags"
          },
          "count": {
            "type": "integer",
            "description": "Total number of tags"
          }
        }
      }
    }
  },
  "$defs": {
    "Release": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique release identifier"
        },
        "title": {
          "type": "string",
          "description": "Release title"
        },
        "artist": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of artist names"
        },
        "date": {
          "type": "string",
          "format": "date",
          "description": "Release date in YYYY-MM-DD format"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of tags/categories"
        },
        "description": {
          "type": "string",
          "description": "Release description in HTML format"
        },
        "links": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "format": "uri"
          },
          "description": "External links to streaming platforms"
        },
        "coverTile": {
          "type": "object",
          "properties": {
            "src": {
              "type": "string",
              "format": "uri"
            },
            "srcSet": {
              "type": "string"
            }
          }
        },
        "coverFull": {
          "type": "object",
          "properties": {
            "src": {
              "type": "string",
              "format": "uri"
            },
            "srcSet": {
              "type": "string"
            }
          }
        }
      },
      "required": ["id", "title", "artist", "date", "tags"]
    }
  }
}
