{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jsonpad-io/json-schema/jsonpad-io-post-lists-list-rules-test-request-schema.json",
  "title": "PostListsListRulesTestRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/jsonpad-io-openapi-generated.yml#/components/schemas/PostListsListRulesTestRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the test"
    },
    "action": {
      "type": "string",
      "description": "The write action being tested (create, update, delete)"
    },
    "identity": {
      "type": "object",
      "description": "The identity making the write"
    },
    "old": {
      "type": "object",
      "description": "The item's data before the write"
    },
    "new": {
      "type": "object",
      "description": "The data after the write"
    },
    "expect": {
      "type": "string",
      "description": "Expected result (allow or deny)"
    }
  },
  "required": [
    "action"
  ]
}