Request body for creating a BDD scenario
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://api.example.com/schemas/create-scenario-request.json", "title": "CreateScenarioRequest", "type": "object", "description": "Request body for creating a BDD scenario", "required": [ "storyId", "title", "featureFile", "gherkin" ], "properties": { "storyId": { "type": "string", "description": "ID of the parent user story" }, "criterionId": { "type": "string", "description": "ID of the linked acceptance criterion" }, "title": { "type": "string", "description": "Scenario title" }, "featureFile": { "type": "string", "description": "Feature file path" }, "gherkin": { "type": "string", "description": "Full Gherkin scenario text" } } }