microsoft/hve-core

Public

mirrored fromhttps://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
docs/621-ai-artifacts

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/linting/schemas/collection-manifest.schema.json

74lines · modecode

1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "Collection Manifest",
4 "description": "Schema for hve-core Copilot CLI plugin collection manifests",
5 "type": "object",
6 "required": ["id", "name", "description", "items"],
7 "properties": {
8 "id": {
9 "type": "string",
10 "pattern": "^[a-z0-9-]+$",
11 "description": "Unique identifier for the collection. Lowercase, hyphens only."
12 },
13 "name": {
14 "type": "string",
15 "minLength": 1,
16 "description": "Human-readable display name."
17 },
18 "description": {
19 "type": "string",
20 "minLength": 1,
21 "description": "Brief description of the collection purpose."
22 },
23 "tags": {
24 "type": "array",
25 "items": { "type": "string" },
26 "description": "Discovery tags for filtering and search."
27 },
28 "items": {
29 "type": "array",
30 "minItems": 1,
31 "items": {
32 "type": "object",
33 "required": ["path", "kind"],
34 "properties": {
35 "path": {
36 "type": "string",
37 "description": "Relative path from repo root to the source file."
38 },
39 "kind": {
40 "type": "string",
41 "enum": ["prompt", "agent", "instruction", "skill", "hook"],
42 "description": "Artifact type."
43 },
44 "usage": {
45 "type": "string",
46 "description": "Optional usage guidance for the item."
47 },
48 "maturity": {
49 "type": "string",
50 "enum": ["stable", "preview", "experimental", "deprecated"],
51 "description": "Optional release maturity for this item. Defaults to stable when omitted."
52 }
53 },
54 "additionalProperties": false
55 }
56 },
57 "display": {
58 "type": "object",
59 "properties": {
60 "ordering": {
61 "type": "string",
62 "enum": ["alpha", "manual"],
63 "default": "alpha"
64 },
65 "featured": {
66 "type": "boolean",
67 "default": false
68 }
69 },
70 "additionalProperties": false
71 }
72 },
73 "additionalProperties": false
74}
75