microsoft/hve-core

Public

mirrored from https://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feat/docs-new-user

Branches

Tags

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

Clone

HTTPS

Download ZIP

scripts/linting/schemas/model-catalog.schema.json

90lines · modecode

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "model-catalog.schema.json",
4 "title": "Model Catalog",
5 "description": "Schema for the Copilot model catalog used by model reference validation",
6 "type": "object",
7 "required": [
8 "lastUpdated",
9 "source",
10 "models",
11 "providerAllowlist"
12 ],
13 "properties": {
14 "$schema": {
15 "type": "string"
16 },
17 "providerAllowlist": {
18 "type": "array",
19 "items": {
20 "type": "string"
21 },
22 "description": "Providers permitted for use in agent/prompt model references. Add entries here to allow additional providers in the future."
23 },
24 "lastUpdated": {
25 "type": "string",
26 "format": "date",
27 "description": "ISO 8601 date when the catalog was last updated"
28 },
29 "source": {
30 "type": "string",
31 "format": "uri",
32 "description": "URL of the authoritative model list"
33 },
34 "models": {
35 "type": "array",
36 "items": {
37 "type": "object",
38 "required": [
39 "name",
40 "tier",
41 "multiplier",
42 "status",
43 "provider"
44 ],
45 "properties": {
46 "name": {
47 "type": "string",
48 "description": "VS Code display name with vendor suffix"
49 },
50 "tier": {
51 "type": "string",
52 "enum": [
53 "free",
54 "fast",
55 "standard",
56 "premium",
57 "ultra"
58 ],
59 "description": "Cost tier classification"
60 },
61 "multiplier": {
62 "type": "number",
63 "minimum": 0,
64 "description": "Request multiplier relative to standard tier"
65 },
66 "status": {
67 "type": "string",
68 "enum": [
69 "ga",
70 "preview",
71 "retiring"
72 ],
73 "description": "Availability status"
74 },
75 "retiredDate": {
76 "type": "string",
77 "format": "date",
78 "description": "Date when model will be retired (only for retiring status)"
79 },
80 "provider": {
81 "type": "string",
82 "description": "Model provider name (e.g., Anthropic, OpenAI, Google, xAI)"
83 }
84 },
85 "additionalProperties": false
86 }
87 }
88 },
89 "additionalProperties": false
90}