Skip to content

Commit

Permalink
Test schema: allow src property to either be a string or array of s…
Browse files Browse the repository at this point in the history
…trings

This makes the test schema consistent with the schema in
https://github.com/unicode-org/conformance/blob/main/schema/message_fmt2/testgen_schema.json
  • Loading branch information
catamorphism committed Nov 4, 2024
1 parent 24cb113 commit d493191
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions test/schemas/v0/tests.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,17 @@
"type": "string"
},
"src": {
"description": "The MF2 syntax source.",
"type": "string"
"oneOf": [
{
"description": "The MF2 syntax source.",
"type": "string"
},
{
"description": "The MF2 syntax source, as an array of strings to be concatenated.",
"type": "array",
"items": { "type": "string" }
}
]
},
"bidiIsolation": {
"description": "The bidi isolation strategy.",
Expand Down

0 comments on commit d493191

Please sign in to comment.