|
20 | 20 | "$defs": { |
21 | 21 | "collectionSection": { |
22 | 22 | "type": "object", |
23 | | - "description": "A collection section containing title, description, i18n, and cards", |
| 23 | + "description": "A collection section containing title, description, translations, and cards", |
24 | 24 | "properties": { |
25 | 25 | "title": { |
26 | 26 | "type": "string", |
|
30 | 30 | "type": "string", |
31 | 31 | "description": "Section description" |
32 | 32 | }, |
33 | | - "i18n": { |
34 | | - "$ref": "./ref/i18n.schema.json", |
| 33 | + "translations": { |
| 34 | + "$ref": "./ref/translations.schema.json", |
35 | 35 | "description": "Internationalization translations for section fields" |
36 | 36 | }, |
37 | 37 | "cards": { |
|
43 | 43 | "minItems": 1 |
44 | 44 | } |
45 | 45 | }, |
46 | | - "required": ["title", "description", "i18n", "cards"], |
| 46 | + "required": ["title", "description", "translations", "cards"], |
47 | 47 | "additionalProperties": false |
48 | 48 | }, |
49 | 49 | "collectionCard": { |
50 | 50 | "type": "object", |
51 | | - "description": "A card containing a title, i18n, and items", |
| 51 | + "description": "A card containing a title, translations, and items", |
52 | 52 | "properties": { |
53 | 53 | "title": { |
54 | 54 | "type": "string", |
55 | 55 | "description": "Card title" |
56 | 56 | }, |
57 | | - "i18n": { |
58 | | - "$ref": "./ref/i18n.schema.json", |
| 57 | + "translations": { |
| 58 | + "$ref": "./ref/translations.schema.json", |
59 | 59 | "description": "Internationalization translations for card fields" |
60 | 60 | }, |
61 | 61 | "items": { |
|
67 | 67 | "minItems": 0 |
68 | 68 | } |
69 | 69 | }, |
70 | | - "required": ["title", "i18n", "items"], |
| 70 | + "required": ["title", "translations", "items"], |
71 | 71 | "additionalProperties": false |
72 | 72 | }, |
73 | 73 | "collectionItem": { |
|
88 | 88 | "type": "string", |
89 | 89 | "description": "Item description" |
90 | 90 | }, |
91 | | - "i18n": { |
92 | | - "$ref": "./ref/i18n.schema.json", |
| 91 | + "translations": { |
| 92 | + "$ref": "./ref/translations.schema.json", |
93 | 93 | "description": "Internationalization translations for item fields" |
94 | 94 | } |
95 | 95 | }, |
96 | | - "required": ["name", "url", "description", "i18n"], |
| 96 | + "required": ["name", "url", "description", "translations"], |
97 | 97 | "additionalProperties": false |
98 | 98 | } |
99 | 99 | } |
|
0 commit comments