Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test schema: allow src property to either be a string or array of strings #923

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
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.",
catamorphism marked this conversation as resolved.
Show resolved Hide resolved
"type": "string"
},
{
"description": "The MF2 syntax source, as an array of strings to be concatenated.",
catamorphism marked this conversation as resolved.
Show resolved Hide resolved
"type": "array",
"items": { "type": "string" }
}
]
},
"bidiIsolation": {
"description": "The bidi isolation strategy.",
Expand Down