Acceptance Criteria · JSON Structure

Acceptance Criteria Management Create Acceptance Criterion Request Structure

Request body for adding an acceptance criterion to a story

Type: object Properties: 6 Required: 1
AgileBehavior Driven DevelopmentGherkinQuality AssuranceRequirementsTestingUser Stories

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

Properties

description format given when then order

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

JSON Structure

acceptance-criteria-management-create-acceptance-criterion-request-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://api.example.com/structures/acceptance-criteria-management-create-acceptance-criterion-request.json",
  "title": "CreateAcceptanceCriterionRequest",
  "type": "object",
  "description": "Request body for adding an acceptance criterion to a story",
  "properties": {
    "description": {
      "type": "string",
      "description": "Plain-language description of the acceptance condition"
    },
    "format": {
      "type": "string",
      "description": "Format of the criterion",
      "enum": [
        "plain-text",
        "gherkin",
        "checklist"
      ]
    },
    "given": {
      "type": "string",
      "description": "Gherkin Given clause"
    },
    "when": {
      "type": "string",
      "description": "Gherkin When clause"
    },
    "then": {
      "type": "string",
      "description": "Gherkin Then clause"
    },
    "order": {
      "type": "integer",
      "description": "Display order position"
    }
  },
  "required": [
    "description"
  ]
}