{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intentdocs-com/json-schema/intentdocs-com-acceptance-criterion-schema.json",
  "title": "AcceptanceCriterion",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intentdocs-com-openapi.json#/components/schemas/AcceptanceCriterion",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "done": {
      "type": "boolean"
    },
    "given": {
      "type": [
        "string",
        "null"
      ]
    },
    "when": {
      "type": [
        "string",
        "null"
      ]
    },
    "then": {
      "type": [
        "string",
        "null"
      ]
    },
    "priority": {
      "type": [
        "string",
        "null"
      ]
    },
    "verification": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_result": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}