Skip to content

Instantly share code, notes, and snippets.

@emirchus
Created September 27, 2024 22:29
Show Gist options
  • Save emirchus/9dbdcce7dc70f3ee4ec39c5a0adb9720 to your computer and use it in GitHub Desktop.
Save emirchus/9dbdcce7dc70f3ee4ec39c5a0adb9720 to your computer and use it in GitHub Desktop.
ShadCn Registry
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"title": {
"type": "string"
},
"searchDescription": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"slug": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date"
},
"registry": {
"type": "object",
"properties": {
"github_markdown": {
"type": "string",
"format": "uri"
},
"github_registry": {
"type": "string",
"format": "uri"
},
"github_repo": {
"type": "string",
"format": "uri"
},
"repo_website": {
"type": "string",
"format": "uri"
}
},
"required": [
"github_markdown",
"github_registry",
"github_repo",
"repo_website"
]
},
"authors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"avatar": {
"type": "string",
"format": "uri"
}
},
"required": [
"name",
"url",
"avatar"
]
}
}
},
"required": [
"title",
"searchDescription",
"tags",
"slug",
"createdAt",
"registry",
"authors"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment