microsoft/hve-core

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
hve-core-v3.3.41

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

108lines · 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": [
7 "id",
8 "name",
9 "description",
10 "items"
11 ],
12 "properties": {
13 "id": {
14 "type": "string",
15 "pattern": "^[a-z0-9-]+$",
16 "description": "Unique identifier for the collection. Lowercase, hyphens only."
17 },
18 "name": {
19 "type": "string",
20 "minLength": 1,
21 "description": "Human-readable display name."
22 },
23 "description": {
24 "type": "string",
25 "minLength": 1,
26 "description": "Brief description of the collection purpose."
27 },
28 "maturity": {
29 "type": "string",
30 "enum": [
31 "stable",
32 "preview",
33 "experimental",
34 "deprecated"
35 ],
36 "description": "Optional release channel eligibility. Defaults to stable when omitted. Experimental collections are excluded from Stable (Release) channel."
37 },
38 "tags": {
39 "type": "array",
40 "items": {
41 "type": "string"
42 },
43 "description": "Discovery tags for filtering and search."
44 },
45 "items": {
46 "type": "array",
47 "minItems": 1,
48 "items": {
49 "type": "object",
50 "required": [
51 "path",
52 "kind"
53 ],
54 "properties": {
55 "path": {
56 "type": "string",
57 "description": "Relative path from repo root to the source file."
58 },
59 "kind": {
60 "type": "string",
61 "enum": [
62 "prompt",
63 "agent",
64 "instruction",
65 "skill",
66 "hook"
67 ],
68 "description": "Artifact type."
69 },
70 "usage": {
71 "type": "string",
72 "description": "Optional usage guidance for the item."
73 },
74 "maturity": {
75 "type": "string",
76 "enum": [
77 "stable",
78 "preview",
79 "experimental",
80 "deprecated"
81 ],
82 "description": "Optional release maturity for this item. Defaults to stable when omitted."
83 }
84 },
85 "additionalProperties": false
86 }
87 },
88 "display": {
89 "type": "object",
90 "properties": {
91 "ordering": {
92 "type": "string",
93 "enum": [
94 "alpha",
95 "manual"
96 ],
97 "default": "alpha"
98 },
99 "featured": {
100 "type": "boolean",
101 "default": false
102 }
103 },
104 "additionalProperties": false
105 }
106 },
107 "additionalProperties": false
108}