|
16 | 16 | "description": "Schema for embed topics requests received by RayServe", |
17 | 17 | "additionalProperties": False, |
18 | 18 | "definitions": { |
19 | | - "id": { |
20 | | - "type": "string", |
21 | | - "description": "The ID of the topic content node on Studio", |
22 | | - }, |
23 | 19 | "title": {"type": "string", "description": "The title of the topic"}, |
24 | 20 | "description": { |
25 | 21 | "type": "string", |
|
39 | 35 | "description": "An ancestor in the tree structure", |
40 | 36 | "additionalProperties": False, |
41 | 37 | "properties": { |
42 | | - "id": {"$ref": "#/definitions/id"}, |
| 38 | + "id": { |
| 39 | + "$ref": "/schemas/common_embed_definitions#/definitions/uuid", |
| 40 | + "description": "The ID of the topic content node on Studio", |
| 41 | + }, |
43 | 42 | "title": {"$ref": "#/definitions/title"}, |
44 | 43 | "description": {"$ref": "#/definitions/description"}, |
45 | 44 | "language": {"$ref": "#/definitions/language"}, |
|
57 | 56 | "description": "A topic in the tree structure", |
58 | 57 | "additionalProperties": False, |
59 | 58 | "properties": { |
60 | | - "id": {"$ref": "#/definitions/id"}, |
| 59 | + "id": { |
| 60 | + "$ref": "/schemas/common_embed_definitions#/definitions/uuid", |
| 61 | + "description": "The ID of the topic content node on Studio", |
| 62 | + }, |
| 63 | + "channel_id": { |
| 64 | + "$ref": "/schemas/common_embed_definitions#/definitions/uuid", |
| 65 | + "description": "The UUID of the channel that the topic belongs to", |
| 66 | + }, |
61 | 67 | "title": {"$ref": "#/definitions/title"}, |
62 | 68 | "description": {"$ref": "#/definitions/description"}, |
63 | 69 | "language": {"$ref": "#/definitions/language"}, |
64 | 70 | "ancestors": {"$ref": "#/definitions/ancestors"}, |
65 | 71 | }, |
66 | | - "required": ["id", "title", "description"], |
| 72 | + "required": ["id", "channel_id", "title", "description", "language"], |
67 | 73 | }, |
68 | 74 | }, |
69 | 75 | "properties": { |
|
0 commit comments