{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OpenAgentWorks conformance_test",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "title": {
      "type": "string",
      "minLength": 1
    },
    "base_example": {
      "type": "string",
      "minLength": 1
    },
    "mutation": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1
        },
        "path": {
          "type": "string",
          "minLength": 1
        },
        "pointer": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {}
      },
      "required": [
        "kind",
        "path",
        "pointer",
        "value"
      ],
      "additionalProperties": false
    },
    "expected_valid": {
      "type": "boolean"
    },
    "expected_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "clause_refs": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "id",
    "title",
    "base_example",
    "mutation",
    "expected_valid",
    "expected_code",
    "clause_refs"
  ],
  "additionalProperties": false
}
