{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/formFieldValue", "title": "Generic Form Field Value", "type": "object", "required": [ "name", "value" ], "properties": { "name": { "type": "string", "description": "The form field name.", "example": "color" }, "value": { "oneOf": [ { "type": "string", "example": "blue" }, { "type": "number", "format": "double", "example": 12.345 }, { "type": "array", "example": [ "red", "green", "black" ], "items": { "type": "string" } } ] } } }