Files
blackroad-os-archive/schemas/repos.schema.json
2025-11-24 04:32:13 -06:00

53 lines
1.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BlackRoad OS Repos Catalog",
"type": "object",
"properties": {
"repos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {"type": "string", "minLength": 1},
"full_name": {"type": "string", "minLength": 1},
"org": {"type": "string", "minLength": 1},
"description": {"type": "string"},
"visibility": {"type": "string", "enum": ["public", "private"]},
"status": {"type": "string", "enum": ["active", "archived", "experimental", "legacy"]},
"primary_domain": {"type": ["string", "null"]},
"home_pack": {"type": "string"},
"created_at": {"type": "string"},
"updated_at": {"type": "string"},
"tags": {
"type": "array",
"items": {"type": "string"},
"default": []
},
"owner_handles": {
"type": "array",
"items": {"type": "string"},
"default": []
}
},
"required": [
"id",
"full_name",
"org",
"description",
"visibility",
"status",
"primary_domain",
"home_pack",
"created_at",
"updated_at",
"tags",
"owner_handles"
],
"additionalProperties": false
}
}
},
"required": ["repos"],
"additionalProperties": false
}