mirror of
https://github.com/awesome-opencode/awesome-opencode.git
synced 2026-04-28 12:29:29 +00:00
- Renames the `description` field to `tagline` in schema and data files. - Renames the `full_description` field to `description` in schema and data files. - Updates all relevant YAML data files, documentation, and templates to reflect these changes. - Adjusts character limits and descriptions for the new fields.
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "https://github.com/awesome-opencode/awesome-opencode/data/schema.json",
|
|
"title": "Awesome Opencode Entry",
|
|
"description": "Schema for validating YAML entries in the awesome-opencode list",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Name of the project or tool"
|
|
},
|
|
"repo": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"description": "URL to the repository"
|
|
},
|
|
"tagline": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 120,
|
|
"description": "Short punchy summary of the project (shown in collapsed view)"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Full description of the project (shown when expanded)"
|
|
},
|
|
"install": {
|
|
"type": "object",
|
|
"description": "Installation instructions",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["config", "npm", "pip", "go", "script", "manual"],
|
|
"description": "Type of installation method"
|
|
}
|
|
},
|
|
"required": ["type"],
|
|
"additionalProperties": false
|
|
},
|
|
"compatibility": {
|
|
"type": "object",
|
|
"description": "Compatibility information",
|
|
"properties": {
|
|
"platforms": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Supported platforms"
|
|
},
|
|
"opencode": {
|
|
"type": "string",
|
|
"description": "Compatible Opencode version"
|
|
}
|
|
},
|
|
"required": ["platforms", "opencode"],
|
|
"additionalProperties": false
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Tags for categorization"
|
|
}
|
|
},
|
|
"required": ["name", "repo", "tagline", "description"],
|
|
"additionalProperties": false
|
|
}
|