Skip to content

Support matrix parameter value in parameter value JSON schema defintion #418

@yrh012

Description

@yrh012

In order to support matrices, we should also update the parameter value definition to also accept an array of items where items can also be array or primitives (string, bool, int, double)

Image

so I propose changing the JSON schema of the parameter value definition to:

"parameter_value": {
  "type": [
    "null",
    "boolean",
    "integer",
    "number",
    "string",
    "array"
  ],
  "items": {
    "oneOf": [
      { "type": ["boolean", "integer", "number", "string"] },
      {
        "type": "array",
        "items": { "type": ["boolean", "integer", "number", "string"] }
      }
    ]
  }
}

fyi @domire8 @eeberhard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions