Skip to content

Commit 76abe9a

Browse files
committed
Regenerate JSON Schema
1 parent 58f4e25 commit 76abe9a

File tree

1 file changed

+47
-46
lines changed

1 file changed

+47
-46
lines changed

schema/schema.json

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,24 @@
77
"annotations": {
88
"properties": {
99
"audience": {
10-
"description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]",
10+
"description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).",
1111
"items": {
12-
"$ref": "#/definitions/Audience"
12+
"$ref": "#/definitions/Role"
1313
},
1414
"type": "array"
1515
},
1616
"priority": {
17-
"description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance",
18-
"type": "integer"
17+
"description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.",
18+
"maximum": 1,
19+
"minimum": 0,
20+
"type": "number"
1921
}
2022
},
2123
"type": "object"
2224
}
2325
},
2426
"type": "object"
2527
},
26-
"Audience": {
27-
"enum": [
28-
"assistant",
29-
"user"
30-
],
31-
"type": "string"
32-
},
3328
"BlobResourceContents": {
3429
"properties": {
3530
"blob": {
@@ -422,11 +417,7 @@
422417
"type": "string"
423418
},
424419
"role": {
425-
"enum": [
426-
"assistant",
427-
"user"
428-
],
429-
"type": "string"
420+
"$ref": "#/definitions/Role"
430421
},
431422
"stopReason": {
432423
"description": "The reason why sampling stopped, if known.",
@@ -450,15 +441,17 @@
450441
"annotations": {
451442
"properties": {
452443
"audience": {
453-
"description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]",
444+
"description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).",
454445
"items": {
455-
"$ref": "#/definitions/Audience"
446+
"$ref": "#/definitions/Role"
456447
},
457448
"type": "array"
458449
},
459450
"priority": {
460-
"description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance",
461-
"type": "integer"
451+
"description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.",
452+
"maximum": 1,
453+
"minimum": 0,
454+
"type": "number"
462455
}
463456
},
464457
"type": "object"
@@ -550,15 +543,17 @@
550543
"annotations": {
551544
"properties": {
552545
"audience": {
553-
"description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]",
546+
"description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).",
554547
"items": {
555-
"$ref": "#/definitions/Audience"
548+
"$ref": "#/definitions/Role"
556549
},
557550
"type": "array"
558551
},
559552
"priority": {
560-
"description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance",
561-
"type": "integer"
553+
"description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.",
554+
"maximum": 1,
555+
"minimum": 0,
556+
"type": "number"
562557
}
563558
},
564559
"type": "object"
@@ -1360,11 +1355,7 @@
13601355
]
13611356
},
13621357
"role": {
1363-
"enum": [
1364-
"assistant",
1365-
"user"
1366-
],
1367-
"type": "string"
1358+
"$ref": "#/definitions/Role"
13681359
}
13691360
},
13701361
"required": [
@@ -1484,15 +1475,17 @@
14841475
"annotations": {
14851476
"properties": {
14861477
"audience": {
1487-
"description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]",
1478+
"description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).",
14881479
"items": {
1489-
"$ref": "#/definitions/Audience"
1480+
"$ref": "#/definitions/Role"
14901481
},
14911482
"type": "array"
14921483
},
14931484
"priority": {
1494-
"description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance",
1495-
"type": "integer"
1485+
"description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.",
1486+
"maximum": 1,
1487+
"minimum": 0,
1488+
"type": "number"
14961489
}
14971490
},
14981491
"type": "object"
@@ -1588,15 +1581,17 @@
15881581
"annotations": {
15891582
"properties": {
15901583
"audience": {
1591-
"description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]",
1584+
"description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).",
15921585
"items": {
1593-
"$ref": "#/definitions/Audience"
1586+
"$ref": "#/definitions/Role"
15941587
},
15951588
"type": "array"
15961589
},
15971590
"priority": {
1598-
"description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance",
1599-
"type": "integer"
1591+
"description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.",
1592+
"maximum": 1,
1593+
"minimum": 0,
1594+
"type": "number"
16001595
}
16011596
},
16021597
"type": "object"
@@ -1663,6 +1658,14 @@
16631658
},
16641659
"type": "object"
16651660
},
1661+
"Role": {
1662+
"description": "The sender or recipient of messages and data in a conversation.",
1663+
"enum": [
1664+
"assistant",
1665+
"user"
1666+
],
1667+
"type": "string"
1668+
},
16661669
"Root": {
16671670
"description": "Represents a root directory or file that the server can operate on.",
16681671
"properties": {
@@ -1719,11 +1722,7 @@
17191722
]
17201723
},
17211724
"role": {
1722-
"enum": [
1723-
"assistant",
1724-
"user"
1725-
],
1726-
"type": "string"
1725+
"$ref": "#/definitions/Role"
17271726
}
17281727
},
17291728
"required": [
@@ -1915,15 +1914,17 @@
19151914
"annotations": {
19161915
"properties": {
19171916
"audience": {
1918-
"description": "Describes who the intended customer of this object or data is\nIt can include multiple entries to indicate content useful for multiple audiences [\"user\", \"assistant\"]",
1917+
"description": "Describes who the intended customer of this object or data is.\n\nIt can include multiple entries to indicate content useful for multiple audiences (e.g., `[\"user\", \"assistant\"]`).",
19191918
"items": {
1920-
"$ref": "#/definitions/Audience"
1919+
"$ref": "#/definitions/Role"
19211920
},
19221921
"type": "array"
19231922
},
19241923
"priority": {
1925-
"description": "Describes how important this data is for operating the server.\n\"0\" is most important and indicates that the data is effectively required\n\"1\" and beyond indicate decreasing importance",
1926-
"type": "integer"
1924+
"description": "Describes how important this data is for operating the server.\n\nA value of 1 means \"most important,\" and indicates that the data is\neffectively required, while 0 means \"least important,\" and indicates that\nthe data is entirely optional.",
1925+
"maximum": 1,
1926+
"minimum": 0,
1927+
"type": "number"
19271928
}
19281929
},
19291930
"type": "object"

0 commit comments

Comments
 (0)