Skip to content

Commit d493191

Browse files
committed
Test schema: allow src property to either be a string or array of strings
This makes the test schema consistent with the schema in https://github.com/unicode-org/conformance/blob/main/schema/message_fmt2/testgen_schema.json
1 parent 24cb113 commit d493191

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

test/schemas/v0/tests.schema.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,17 @@
175175
"type": "string"
176176
},
177177
"src": {
178-
"description": "The MF2 syntax source.",
179-
"type": "string"
178+
"oneOf": [
179+
{
180+
"description": "The MF2 syntax source.",
181+
"type": "string"
182+
},
183+
{
184+
"description": "The MF2 syntax source, as an array of strings to be concatenated.",
185+
"type": "array",
186+
"items": { "type": "string" }
187+
}
188+
]
180189
},
181190
"bidiIsolation": {
182191
"description": "The bidi isolation strategy.",

0 commit comments

Comments
 (0)