awesome-opencode/data/schema.json
Lucas Shamanic 2199d33071 refactor: Rename description to tagline and description
- 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.
2026-01-11 21:29:12 +00:00

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
}