Skip to content

Comments

Add registry.json with OCS challenge seed data#68

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/update-registry-json
Draft

Add registry.json with OCS challenge seed data#68
Copilot wants to merge 2 commits intomasterfrom
copilot/update-registry-json

Conversation

Copy link

Copilot AI commented Feb 20, 2026

Adds registry.json to provide seed data for the OCS registry API endpoints (/api/registry/entries, /api/registry/featured).

Changes

  • Created /apps/web/src/data/registry.json with 6 challenge entries
  • Schema matches ContentTable and OcsChallengeCard types from apps/web/src/utils/datastores/postgres/types.ts
  • Includes entries across categories (defi, nft, infra) and curations (featured, recommended, essential, beginner, advanced, developer)
  • One entry marked is_featured: true for featured endpoint

Structure

Each entry contains:

  • Top-level: id, category, curation, is_featured
  • Nested content object: title, short_description, full_description, image_url, target_url, cta_text, function_signature, contract_address, token_id, token_amount, creator_name, creator_image_url
{
  "id": "base-builder-challenge-1",
  "category": "defi",
  "curation": "featured",
  "is_featured": true,
  "content": {
    "title": "Base Builder Challenge: DeFi Swap",
    "contract_address": "0x1234567890123456789012345678901234567890",
    ...
  }
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Copilot AI changed the title [WIP] Update registry.json file Add registry.json with OCS challenge seed data Feb 20, 2026
Copy link
Member

@Kushmanmb Yaketh (Kushmanmb) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants