Acceptance Criteria · JSON Structure

Acceptance Criteria Management Create Scenario Request Structure

Request body for creating a BDD scenario

Type: object Properties: 5 Required: 4
AgileBehavior Driven DevelopmentGherkinQuality AssuranceRequirementsTestingUser Stories

Acceptance Criteria Management Create Scenario Request Structure is a JSON Structure definition published by Acceptance Criteria, describing 5 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

storyId criterionId title featureFile gherkin

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

acceptance-criteria-management-create-scenario-request-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://api.example.com/structures/acceptance-criteria-management-create-scenario-request.json",
  "title": "CreateScenarioRequest",
  "type": "object",
  "description": "Request body for creating a BDD scenario",
  "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"
    }
  },
  "required": [
    "storyId",
    "title",
    "featureFile",
    "gherkin"
  ]
}