blob: 3d1de3a55736ecb597ad5841d6c3162d51ecbb28 [file] [edit]
{
"description": "Schema for //docs/sphinx/module_metadata.json.",
"type": "object",
"patternProperties": {
"^pw_.*": {
"description": "The metadata for each module must match this schema.",
"type": "object",
"properties": {
"languages": {
"description": "Supported languages, build systems, etc. TODO: https://pwbug.dev/345534064 - Refactor this.",
"type": "array",
"items": {
"type": "string",
"enum": [
"Bazel",
"C",
"C++",
"CLI",
"CMake",
"GN",
"Go",
"Java",
"JavaScript",
"Python",
"Rust",
"Starlark",
"TypeScript",
"VS Code"
]
}
},
"size": {
"description": "A summary of the code size impact of the module.",
"type": "string"
},
"status": {
"description": "The status of the module.",
"type": "string",
"enum": [
"stable",
"unstable",
"experimental",
"deprecated"
]
},
"tagline": {
"description": "A concise summary of the module's value proposition.",
"type": "string"
}
},
"required": [
"status"
],
"additionalProperties": false
}
},
"additionalProperties": false
}