diff --git a/playground/nutech/spiff-example-1/select_product_and_quantity.json b/playground/nutech/spiff-example-1/select_product_and_quantity.json new file mode 100644 index 00000000..ab5c5abb --- /dev/null +++ b/playground/nutech/spiff-example-1/select_product_and_quantity.json @@ -0,0 +1,48 @@ +{ + "title": "Select Product and Quantity", + "type": "object", + "required": [ + "product_name", + "product_quantity" + ], + "properties": { + "product_name": { + "title": "Product Name", + "type": "string", + "oneOf": [ + { + "const": "product_a", + "title": "A" + }, + { + "const": "product_b", + "title": "B" + }, + { + "const": "product_c", + "title": "C" + }, + { + "const": "product_d", + "title": "D" + }, + { + "const": "product_e", + "title": "E" + }, + { + "const": "product_f", + "title": "F" + }, + { + "const": "product_g", + "title": "G" + } + ] + }, + "product_quantity": { + "title": "Quantity", + "type": "integer" + } + } +}