Actually, Just after I posted the previous message when I had shut off my computer and was going to sleep I realized that it could be done in a convoluted way. I'm going to write off my slow arrival to this solution as being tired. Anyway, this would be ridiculous to do but it would work. One type for each possible combination of picks placed in a union type. Horrible I know. X-D
{
type: [
{
type: "array",
items: [
{type: "string", enum: ["a", "b", "c"]},
{type: "string", enum: ["b", "c"]},
{type: "string", enum: ["c"]}
],
additionalProperties: false
},
{
type: "array",
items: [
{type: "string", enum: ["a", "b", "c"]},
{type: "string", enum: ["b", "c"]},
{type: "string", enum: ["b"]}
],
additionalProperties: false
},
{
type: "array",
items: [
{type: "string", enum: ["a", "b", "c"]},
{type: "string", enum: ["a", "c"]},
{type: "string", enum: ["c"]}
],
additionalProperties: false
},
{
type: "array",
items: [
{type: "string", enum: ["a", "b", "c"]},
{type: "string", enum: ["a", "c"]},
{type: "string", enum: ["a"]}
],
additionalProperties: false
},
{
type: "array",
items: [
{type: "string", enum: ["a", "b", "c"]},
{type: "string", enum: ["a", "b"]},
{type: "string", enum: ["b"]}
],
additionalProperties: false
},
{
type: "array",
items: [
{type: "string", enum: ["a", "b", "c"]},
{type: "string", enum: ["a", "b"]},
{type: "string", enum: ["a"]}
],
additionalProperties: false
},
]
}
Seth C. Wessitsh
se...@wessitsh.com