{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/valjeanspecialty/json-schema/valjeanspecialty-dry-run-schema.json",
  "title": "DryRun",
  "description": "With ?dry_run=1: checked, nothing saved or sent. Other fields describe what would happen (the file's insured and lines, an existing file's id, or the quote and its subjectivities).",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/valjeanspecialty-openapi.yaml#/components/schemas/DryRun",
  "type": "object",
  "properties": {
    "dry_run": {
      "type": "boolean",
      "const": true
    },
    "valid": {
      "type": "boolean",
      "const": true,
      "description": "The request passed every check. A request that fails a check returns the same error it would without dry_run."
    },
    "would": {
      "type": "string",
      "description": "What sending it for real would do.",
      "enum": [
        "create",
        "return_existing",
        "request_bind"
      ]
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "dry_run",
    "valid",
    "would",
    "note"
  ]
}