# PUT /v2/offer

Angebot aktualisieren

Ändert die übergebenen schreibbaren Felder in data für Angebot. Die Ziel-ID muss als id im JSON-Umschlag angegeben werden.

- Operation-ID: put_v2_offer
- Dokumentation: /docs/api/v2/operations/put-v2-offer-cb4e46b184eb/
- OpenAPI-Version: 3.2.1
- Vollständige Spezifikation: /docs/api/v2/openapi.json
- Dokumentationsstatus: reviewed
- Ändert Zustand: ja
- Für Automation freigegeben: nein

## Server

Serverwerte stammen unverändert aus der Datei. Eine lokale Entwicklungsadresse ist keine bestätigte Produktionsadresse. `API_ORIGIN` muss auf die passende Instanz gesetzt werden.

```json
[
  {
    "url": "https://app2.edoobox.com",
    "description": "edoobox API"
  }
]
```

## Authentifizierung

Eine der folgenden Alternativen genügt (ODER). Innerhalb einer Alternative müssen alle Verfahren gemeinsam erfüllt sein (UND).

1. **bearerAuth** (HTTP bearer) — Existing edoobox v2 access token. Never substitute API key/secret headers. **UND** **accountContext** (header: edid) — Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.
2. **sessionCookie** (cookie: _edlogin) — Existing browser login session, with the same permission checks as Bearer authentication. **UND** **accountContext** (header: edid) — Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account.

### Wirksame Security Requirements und vollständige Verfahren

```json
{
  "security": [
    {
      "bearerAuth": [],
      "accountContext": []
    },
    {
      "sessionCookie": [],
      "accountContext": []
    }
  ],
  "securitySchemes": {
    "bearerAuth": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "JWT",
      "description": "Existing edoobox v2 access token. Never substitute API key/secret headers."
    },
    "accountContext": {
      "type": "apiKey",
      "in": "header",
      "name": "edid",
      "description": "Selected login/account context from the JWT, not a database primary key. Required even for a JWT with one account."
    },
    "sessionCookie": {
      "type": "apiKey",
      "in": "cookie",
      "name": "_edlogin",
      "description": "Existing browser login session, with the same permission checks as Bearer authentication."
    }
  }
}
```

## Parameter

| Name | Ort | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| language | header | nein | Account language code, where the resource supports setLanguage(). |
| X-Edoobox-If-Revision | header | nein | Optional account mutation revision from a preceding authenticated auth-context snapshot. The dispatcher compares it while holding the account lock; mismatch409 requires a new review. |

### Vollständige wirksame Parameterdefinitionen

```json
[
  {
    "name": "language",
    "in": "header",
    "required": false,
    "description": "Account language code, where the resource supports setLanguage().",
    "schema": {
      "type": "string",
      "examples": [
        "de"
      ]
    }
  },
  {
    "name": "X-Edoobox-If-Revision",
    "in": "header",
    "required": false,
    "schema": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "examples": [
        "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      ]
    },
    "description": "Optional account mutation revision from a preceding authenticated auth-context snapshot. The dispatcher compares it while holding the account lock; mismatch409 requires a new review."
  }
]
```

## Anfrage

```json
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": false,
              "name": false,
              "number": {
                "x-edoobox-canonicalType": "string",
                "x-edoobox-maxStoredLength": 120,
                "x-edoobox-normalization": "The aP getter trims text, replaces newlines and limits the legacy escaped storage representation to maxStoredLength UTF-8 characters without splitting escape pairs; aQ decodes the stored representation. Non-string input becomes empty text. This getter limit is normalization, not a rejecting input maxLength or proof of a custom action hook or database column capacity.",
                "examples": [
                  "Example"
                ],
                "x-edoobox-sourceLine": 59
              },
              "row_lft": false,
              "row_rgt": false,
              "user_maximum": {
                "x-edoobox-canonicalType": "integer",
                "description": "PHP int cast then clamp to 0..99999. Original out-of-range values are normalized, not rejected.\n\nNormalize/clamp, then verify against runtime subscription maximum.\n\nRuntime preconditions / rejection: Normalized capacity above active subscription maximum emits ED40240.",
                "x-edoobox-schemaStatus": "source-reviewed",
                "examples": [
                  25
                ],
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 88,
                    "lineStart": 88,
                    "lineEnd": 103,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "ef67ec9958d0589d12df524ed964d96f3647cf8176d2f107424bbb6d2715621d",
                    "reason": "Structure getter, output setter and field flags."
                  },
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 72,
                    "lineStart": 72,
                    "lineEnd": 85,
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                    "spanSha256": "b4cc2c675e48a2ddfd8b73a207e8b793140887e1a00f7f3dd8dc5e05ddabbe0e",
                    "reason": "func delegates to _change_user_maximum_Offer"
                  },
                  {
                    "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                    "line": 21,
                    "lineStart": 21,
                    "lineEnd": 71,
                    "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                    "spanSha256": "0a04bfb4c037dc7bd950da50fcbd419c47001d5879a737dff29c10afc183c998",
                    "reason": "Account-specific maximum checked after clamp."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 681,
                    "lineStart": 681,
                    "lineEnd": 705,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 734,
                    "lineStart": 734,
                    "lineEnd": 735,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 805,
                    "lineStart": 805,
                    "lineEnd": 843,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "docs/openapi/reviews/domain-fields.json",
                    "line": 1,
                    "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                    "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                  }
                ]
              },
              "order": false,
              "user_minimal": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 122,
                "x-edoobox-canonicalType": "integer",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  1
                ]
              },
              "date_start": false,
              "date_end": false,
              "date_close": {
                "x-edoobox-canonicalType": "string",
                "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
                "examples": [
                  "2026-10-15T10:00:00+02:00"
                ],
                "x-edoobox-sourceLine": 157
              },
              "date_displayend_reference": {
                "x-edoobox-knownInputs": [
                  "date_start",
                  "date_end",
                  "date_close"
                ],
                "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
                "examples": [
                  "date_start"
                ],
                "x-edoobox-sourceLine": 176,
                "description": "'date_open' => array(\n'db' => $this->tableS.'anmeldeschluss',\n'get' => function ($a, $fid, $insert = false) {\nreturn dP($a);\n},\n'set' => function ($a) {\nreturn dQ($a);\n},\n),"
              },
              "date_displayend": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 203,
                "x-edoobox-canonicalType": "integer",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  1
                ]
              },
              "date_displaystart": {
                "x-edoobox-canonicalType": "string",
                "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
                "examples": [
                  "2026-10-15T10:00:00+02:00"
                ],
                "x-edoobox-sourceLine": 218
              },
              "date_signupstart": {
                "x-edoobox-canonicalType": "string",
                "description": "ISO date-time text is canonical. PHP strtotime accepts broader text; invalid/empty strings normalize to timestamp 0 rather than reject.\n\ndP returns parsed timestamp or 0. Positive timestamp requires offer_signup_start subscription capability.\n\nRuntime preconditions / rejection: Positive timestamp with unavailable feature emits ED40240.",
                "x-edoobox-schemaStatus": "source-reviewed",
                "examples": [
                  "2030-06-01T09:00:00+02:00"
                ],
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 227,
                    "lineStart": 227,
                    "lineEnd": 236,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "a2dbd62e363a822b38cdbc9058263e13bd7e92f70f6fd200e7e4d7435d24b610",
                    "reason": "Structure getter, output setter and field flags."
                  },
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 99,
                    "lineStart": 99,
                    "lineEnd": 113,
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                    "spanSha256": "19794aa7b608b508b4b2987afbce43721e8217056649de45174b7bc3a900507c",
                    "reason": "func delegates to _change_date_signupstart_Offer"
                  },
                  {
                    "file": "application/helpers/edooboxhelp_helper.php",
                    "line": 11613,
                    "lineStart": 11613,
                    "lineEnd": 11639,
                    "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
                    "spanSha256": "29d94d04d092603b477c949772b36e49a438b1550130b4ba4194c882983d8eed",
                    "reason": "dP parse/fallback and dQ date-or-false output."
                  },
                  {
                    "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                    "line": 45,
                    "lineStart": 45,
                    "lineEnd": 71,
                    "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                    "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                    "reason": "Feature gating after successful positive parse."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 681,
                    "lineStart": 681,
                    "lineEnd": 705,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 734,
                    "lineStart": 734,
                    "lineEnd": 735,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 805,
                    "lineStart": 805,
                    "lineEnd": 843,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "docs/openapi/reviews/domain-fields.json",
                    "line": 1,
                    "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                    "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                  }
                ]
              },
              "image": false,
              "place": {
                "type": "string",
                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                "examples": [
                  "place_012345abcdef_123456"
                ],
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 256
              },
              "category": false,
              "offerdef": {
                "type": "string",
                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                "examples": [
                  "offerdef_012345abcdef_123456"
                ],
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 293
              },
              "type": false,
              "mode": {
                "enum": [
                  "Online",
                  "Onsite",
                  "Blended"
                ],
                "x-edoobox-sourceLine": 347
              },
              "status": {
                "x-edoobox-canonicalType": "integer",
                "description": "Cast result must be 0..5. Numeric strings and other PHP int-coercible values can also pass. This is not a strict integer wire validator.\n\nCallback casts itself and rejects out-of-range cast results; unlike getter it does not remap out-of-range to 0.\n\nRuntime preconditions / rejection: Cast result outside 0..5 -> callback false -> ED90100. Missing offer or absent positive capacity/start/close dates -> ED90100. Statuses 1/2 require future registration close date; otherwise date_close_must_be_in_the_future.",
                "x-edoobox-recognizedValues": [
                  0,
                  1,
                  2,
                  3,
                  4,
                  5
                ],
                "x-edoobox-schemaStatus": "source-reviewed",
                "examples": [
                  1
                ],
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 365,
                    "lineStart": 365,
                    "lineEnd": 379,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "d763fc061eef55129445d0ce78b398e566748b018764270c35d41f4bac19281b",
                    "reason": "Structure getter, output setter and field flags."
                  },
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 981,
                    "lineStart": 981,
                    "lineEnd": 1094,
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                    "spanSha256": "b1caf7273b4abd50f432241a4d6ce8f321c70d7eb6a035aa17c88f6ce8e4ab01",
                    "reason": "func delegates to statusOffer"
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 681,
                    "lineStart": 681,
                    "lineEnd": 705,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 734,
                    "lineStart": 734,
                    "lineEnd": 735,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 805,
                    "lineStart": 805,
                    "lineEnd": 843,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "docs/openapi/reviews/domain-fields.json",
                    "line": 1,
                    "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                    "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                  }
                ]
              },
              "archive": false,
              "trash": false,
              "waiting_list": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 404,
                "x-edoobox-canonicalType": "boolean",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  false
                ]
              },
              "mustpay": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 413,
                "x-edoobox-canonicalType": "boolean",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  false
                ]
              },
              "countdown": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 422,
                "x-edoobox-canonicalType": "integer",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  1
                ]
              },
              "lesson_booking": {
                "x-edoobox-canonicalType": "boolean",
                "description": "Canonical JSON booleans supported; PHP loose truth comparison also coerces other JSON values. No strict wire boolean validator.\n\nHook bypasses getter but uses equivalent ==true conversion to y/n.\n\nRuntime preconditions / rejection: Existing bookings cause callback false -> ED90100, including redundant assignments. Enable requires lesson_booking subscription capability (ED40240). Enable with existing offerlist throws offerlist_not_allowed.",
                "x-edoobox-schemaStatus": "source-reviewed",
                "examples": [
                  false,
                  true
                ],
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 437,
                    "lineStart": 437,
                    "lineEnd": 448,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "eda0ddf56bc7ae84e33f342f55baa52a6b54e1bd0241bbc4b19927e8d7db3a42",
                    "reason": "Structure getter, output setter and field flags."
                  },
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 11,
                    "lineStart": 11,
                    "lineEnd": 58,
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                    "spanSha256": "2982272dd02cad7bd8dddc88f941f504b13f74048f866a69ceb2e309ef376c67",
                    "reason": "func delegates to change_lessenbooking_Offer"
                  },
                  {
                    "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                    "line": 45,
                    "lineStart": 45,
                    "lineEnd": 71,
                    "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                    "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                    "reason": "Feature gating on enabling."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 681,
                    "lineStart": 681,
                    "lineEnd": 705,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 734,
                    "lineStart": 734,
                    "lineEnd": 735,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 805,
                    "lineStart": 805,
                    "lineEnd": 843,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "docs/openapi/reviews/domain-fields.json",
                    "line": 1,
                    "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                    "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                  }
                ]
              },
              "multiple_registration": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 449,
                "x-edoobox-canonicalType": "boolean",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  false
                ]
              },
              "multiple_registration_type": {
                "x-edoobox-knownInputs": [
                  "named_users",
                  "participant_count",
                  "named_users_contact"
                ],
                "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
                "examples": [
                  "named_users"
                ],
                "x-edoobox-sourceLine": 459
              },
              "barcode_ticket": {
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 486,
                "x-edoobox-canonicalType": "boolean",
                "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                "examples": [
                  false
                ]
              },
              "design": {
                "type": "string",
                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                "examples": [
                  "design_012345abcdef_123456"
                ],
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 495
              },
              "multi_offer": false,
              "multi_offer_child": false,
              "vat": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                    "description": "Opaque v2 ID returned for a record in the selected account."
                  },
                  {
                    "const": "dynamic"
                  }
                ],
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 534,
                    "reason": "Input accepts the dynamic sentinel before decoding a vat ID.",
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 540,
                    "reason": "Response returns false, dynamic or a public vat ID.",
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                  }
                ]
              },
              "cancellation_condition_group": {
                "type": "string",
                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                "description": "Opaque v2 ID returned for a record in the selected account.",
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 552,
                    "reason": "Write decodes a public cancellationconditiongroup ID and rejects nonpositive results.",
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 559,
                    "reason": "Response uses integer zero when no group is assigned.",
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                  }
                ]
              },
              "country": {
                "type": "string",
                "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                "examples": [
                  "country_012345abcdef_123456"
                ],
                "x-edoobox-schemaStatus": "source-inferred",
                "x-edoobox-sourceLine": 566
              },
              "shortdescription": false,
              "tags": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "tag": {
                      "type": "string",
                      "pattern": "^tag_[a-f0-9]{12}_-?[0-9]+$",
                      "description": "Public tag v2 ID returned for a currently existing record in the selected account; signature, resource type and account ownership are checked by the native hook."
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "normal",
                        "include",
                        "exclude"
                      ]
                    }
                  },
                  "additionalProperties": true,
                  "required": [
                    "tag",
                    "type"
                  ]
                },
                "description": "Replaces normal/include/exclude tag associations. Every supplied tag must be a typed, existing same-account tag and every mode must be recognized before relation writes. Duplicate associations are normalized.",
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 2534,
                    "reason": "Callback consumes an array of {tag,type} records instead of the aP get placeholder.",
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d"
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 605,
                    "reason": "Response builds an array of tag/type objects, not a scalar encoded ID.",
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                  },
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 2557,
                    "lineEnd": 2578,
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                    "reason": "All supplied tag IDs/types and the complete same-account tag existence set are validated before offer tag relation writes; unknown modes are rejected."
                  }
                ]
              },
              "internal_code": {
                "x-edoobox-canonicalType": "string",
                "description": "aP(...,true,40) trims, flattens line breaks, escapes and truncates strings; nonstrings become empty. Longer input is not rejected.\n\nString normalized to at most 40 characters after escaping. Category propagates to descendants; both disable firmaConnect.\n\nRuntime preconditions / rejection: Nonempty code requires subscription internal_function; absence emits ED40240. Missing/wrong-kind resource: category callback false -> ED90100; offer throws offer_not_found.",
                "x-edoobox-schemaStatus": "source-reviewed",
                "examples": [
                  "INTERNAL-SAMPLE",
                  ""
                ],
                "x-edoobox-contractSource": [
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 640,
                    "lineStart": 640,
                    "lineEnd": 649,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "7faaa8f4c54f5252216448518d9f957cb5a06ae067628a2e40462d6b4bec6c75",
                    "reason": "Structure getter, output setter and field flags."
                  },
                  {
                    "file": "application/models/v2/Offerfunc.php",
                    "line": 115,
                    "lineStart": 115,
                    "lineEnd": 152,
                    "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                    "spanSha256": "93f7e04f0ce93ea8b69acb8e721ca2f0ad32d3aec7bd79a4025bb2a920a8078a",
                    "reason": "func delegates to _change_internal_code_Offer"
                  },
                  {
                    "file": "application/helpers/edooboxhelp_helper.php",
                    "line": 11560,
                    "lineStart": 11560,
                    "lineEnd": 11577,
                    "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
                    "spanSha256": "47b45db25b5ed86673fe43c17c7d716427b0d86011b1ba918d19eebc39907fd1",
                    "reason": "Actual aP normalization; no rejecting maxLength. Reviewed aP update preserves legacy encoded storage and aQ read semantics. Truncation removes a dangling final escape backslash rather than creating a broken SQL literal; it remains normalization, not a rejecting raw input maxLength."
                  },
                  {
                    "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                    "line": 45,
                    "lineStart": 45,
                    "lineEnd": 71,
                    "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                    "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                    "reason": "Runtime subscription feature rejection."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 681,
                    "lineStart": 681,
                    "lineEnd": 705,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 734,
                    "lineStart": 734,
                    "lineEnd": 735,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "application/models/v2/Offer.php",
                    "line": 805,
                    "lineStart": 805,
                    "lineEnd": 843,
                    "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                    "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                    "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                  },
                  {
                    "file": "docs/openapi/reviews/domain-fields.json",
                    "line": 1,
                    "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                    "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                  }
                ]
              }
            },
            "additionalProperties": true,
            "description": "Source-declared fields; action-specific and account validation still apply.",
            "minProperties": 1,
            "x-edoobox-readOnlyFields": [
              "name",
              "row_lft",
              "row_rgt",
              "order",
              "date_start",
              "date_end",
              "image",
              "category",
              "type",
              "archive",
              "trash",
              "multi_offer",
              "multi_offer_child",
              "shortdescription"
            ],
            "x-edoobox-clientRestriction": "Read-only fields are forbidden by this client contract to prevent silently ignored writes; the legacy API itself skips them. Explicit source-marked update context fields remain accepted for hook validation without changing their immutable database columns."
          },
          "id": {
            "type": "string",
            "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
            "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
            "examples": [
              "offer_012345abcdef_123456"
            ]
          }
        },
        "additionalProperties": true,
        "required": [
          "data",
          "id"
        ]
      },
      "examples": {
        "request": {
          "summary": "Angebot aktualisieren",
          "value": {
            "data": {
              "number": "EXAMPLE-2026"
            },
            "id": "offer_012345abcdef_123456"
          }
        }
      }
    }
  }
}
```

## Antworten

HTTP-Status und Antwortinhalt gemeinsam auswerten. Die folgenden Beschreibungen und Schemata sind die Angaben der Quelldatei.

```json
{
  "200": {
    "description": "Ergebnis in data mit den beschriebenen Feldern; error und die Ergebniskennzeichen müssen ausgewertet werden.",
    "content": {
      "application/json": {
        "example": {
          "success": true,
          "error": false,
          "data": {
            "id": "offer_012345abcdef_123456",
            "update": true
          }
        },
        "schema": {
          "type": "object",
          "properties": {
            "success": {
              "type": "boolean"
            },
            "error": {
              "type": [
                "boolean",
                "string"
              ]
            },
            "error_code": {
              "type": "string"
            },
            "data": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^offer_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Öffentliche v2-ID im gewählten Konto; Beispiel ist synthetisch.",
                  "examples": [
                    "offer_012345abcdef_123456"
                  ]
                },
                "update": {
                  "type": "boolean"
                }
              },
              "additionalProperties": true,
              "required": [
                "id",
                "update"
              ]
            },
            "type": {
              "type": "string"
            }
          },
          "additionalProperties": true
        }
      }
    },
    "headers": {
      "X-Edoobox-Revision": {
        "schema": {
          "type": "string",
          "pattern": "^[a-f0-9]{32}$"
        },
        "description": "Rotated account revision supplied for the next action in one reviewed sequence."
      }
    }
  },
  "400": {
    "description": "Invalid request.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED40006"
        }
      }
    }
  },
  "401": {
    "description": "Missing/expired token, missing account context, account paused or model-specific authorization failure.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED40103"
        }
      }
    }
  },
  "402": {
    "description": "Missing/invalid action data or subscription/operation restriction.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED80100"
        }
      }
    }
  },
  "403": {
    "description": "Permission denied. Browser CORS rejection may have an empty body.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED40340"
        }
      }
    }
  },
  "404": {
    "description": "Unknown resource/action or unsupported method.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED80019"
        }
      }
    }
  },
  "409": {
    "description": "The account changed after the reviewed read. No domain operation is dispatched; obtain fresh state and review again.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": true
        },
        "example": {
          "error": "ED40901",
          "error_code": "mutation_revision_conflict"
        }
      }
    }
  },
  "422": {
    "description": "Validation failed.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED80020"
        }
      }
    }
  },
  "429": {
    "description": "Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED42902"
        }
      }
    },
    "headers": {
      "Retry-After": {
        "description": "Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.",
        "schema": {
          "type": "string",
          "examples": [
            "30"
          ]
        }
      }
    }
  },
  "502": {
    "description": "Server-side operation failed.",
    "content": {
      "application/json": {
        "example": {
          "success": false,
          "error": "ED50201"
        }
      }
    }
  },
  "503": {
    "description": "The account mutation lock or revision store is unavailable. No unprotected fallback is executed.",
    "headers": {
      "Retry-After": {
        "schema": {
          "type": "integer",
          "const": 1
        }
      }
    },
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": true
        },
        "example": {
          "error": "ED50301",
          "error_code": "mutation_revision_busy"
        }
      }
    }
  }
}
```

## Aufrufbeispiele

Anpassen vor dem Ausführen. Platzhalter und veröffentlichte Beispiele sind synthetisch. Die Beispiele senden hier keine Anfrage; sie ergänzen keine unbekannten Pflichtfelder.

### cURL

```sh
# Zeigt Authentifizierungsalternative 1; alle Verfahren dieser Alternative sind gemeinsam erforderlich.
# Request Body: synthetisches Beispiel aus der Spezifikation; Werte und Vollständigkeit vor Verwendung prüfen.
: "${API_ORIGIN:?API_ORIGIN setzen}"
: "${AUTH_BEARERAUTH:?AUTH_BEARERAUTH setzen}"
: "${AUTH_ACCOUNTCONTEXT:?AUTH_ACCOUNTCONTEXT setzen}"
cat > payload.json <<'EDOOBOX_JSON_EXAMPLE'
{
  "data": {
    "number": "EXAMPLE-2026"
  },
  "id": "offer_012345abcdef_123456"
}
EDOOBOX_JSON_EXAMPLE
curl --request 'PUT' \
  --url "${API_ORIGIN%/}"'/v2/offer' \
  --header 'Authorization: Bearer '"${AUTH_BEARERAUTH}" \
  --header 'edid: '"${AUTH_ACCOUNTCONTEXT}" \
  --header 'Content-Type: application/json' \
  --data-binary '@payload.json'
```

### JavaScript (Node.js)

```javascript
// Zeigt Authentifizierungsalternative 1; alle Verfahren dieser Alternative sind gemeinsam erforderlich.
// Request Body: synthetisches Beispiel aus der Spezifikation; Werte und Vollständigkeit vor Verwendung prüfen.
const required = (name) => {
  const value = process.env[name];
  if (!value) throw new Error(`Set ${name}`);
  return value;
};
let path = "/v2/offer";
const origin = required('API_ORIGIN');
const url = new URL((origin.endsWith('/') ? origin.slice(0, -1) : origin) + path);
const headers = {};
headers["Authorization"] = "Bearer " + required("AUTH_BEARERAUTH");
headers["edid"] = "" + required("AUTH_ACCOUNTCONTEXT");
headers['Content-Type'] = "application/json";
const body = JSON.stringify({
  "data": {
    "number": "EXAMPLE-2026"
  },
  "id": "offer_012345abcdef_123456"
});
const response = await fetch(url, { method: "PUT", headers, body, redirect: 'manual' });
const text = await response.text();
console.log(response.status, text);
// HTTP-Status und dokumentierte error/success-Felder gemeinsam prüfen.
```

### Python

```python
# Zeigt Authentifizierungsalternative 1; alle Verfahren dieser Alternative sind gemeinsam erforderlich.
# Request Body: synthetisches Beispiel aus der Spezifikation; Werte und Vollständigkeit vor Verwendung prüfen.
import os
import urllib.parse
import urllib.request
import urllib.error

path = "/v2/offer"
url = os.environ["API_ORIGIN"].rstrip("/") + path
headers = {}
headers["Authorization"] = "Bearer " + os.environ["AUTH_BEARERAUTH"]
headers["edid"] = "" + os.environ["AUTH_ACCOUNTCONTEXT"]
headers["Content-Type"] = "application/json"
body = "{\"data\":{\"number\":\"EXAMPLE-2026\"},\"id\":\"offer_012345abcdef_123456\"}".encode("utf-8")

# Redirects nicht automatisch verfolgen.
class NoRedirect(urllib.request.HTTPRedirectHandler):
    def redirect_request(self, req, fp, code, msg, headers, newurl):
        return None
request = urllib.request.Request(url, headers=headers, method="PUT", data=body)
try:
    response = urllib.request.build_opener(NoRedirect).open(request, timeout=30)
except urllib.error.HTTPError as error:
    response = error
print(response.status, response.read().decode("utf-8", errors="replace"))
# HTTP-Status und dokumentierte error/success-Felder gemeinsam prüfen.
```

## Vollständige Operationsdefinition und edoobox-Hinweise

Alle Originalfelder einschliesslich `x-edoobox-*`, requestBody und responses bleiben erhalten. Teilweise dokumentierte Schemata sind kein vollständiger Validierungsvertrag.

```json
{
  "operationId": "put_v2_offer",
  "summary": "Angebot aktualisieren",
  "description": "Ändert die übergebenen schreibbaren Felder in data für Angebot. Die Ziel-ID muss als id im JSON-Umschlag angegeben werden.",
  "tags": [
    "offer"
  ],
  "security": [
    {
      "bearerAuth": [],
      "accountContext": []
    },
    {
      "sessionCookie": [],
      "accountContext": []
    }
  ],
  "parameters": [
    {
      "name": "language",
      "in": "header",
      "required": false,
      "description": "Account language code, where the resource supports setLanguage().",
      "schema": {
        "type": "string",
        "examples": [
          "de"
        ]
      }
    },
    {
      "name": "X-Edoobox-If-Revision",
      "in": "header",
      "required": false,
      "schema": {
        "type": "string",
        "pattern": "^[a-f0-9]{32}$",
        "examples": [
          "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
        ]
      },
      "description": "Optional account mutation revision from a preceding authenticated auth-context snapshot. The dispatcher compares it while holding the account lock; mismatch409 requires a new review."
    }
  ],
  "responses": {
    "200": {
      "description": "Ergebnis in data mit den beschriebenen Feldern; error und die Ergebniskennzeichen müssen ausgewertet werden.",
      "content": {
        "application/json": {
          "example": {
            "success": true,
            "error": false,
            "data": {
              "id": "offer_012345abcdef_123456",
              "update": true
            }
          },
          "schema": {
            "type": "object",
            "properties": {
              "success": {
                "type": "boolean"
              },
              "error": {
                "type": [
                  "boolean",
                  "string"
                ]
              },
              "error_code": {
                "type": "string"
              },
              "data": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^offer_[a-f0-9]{12}_-?[0-9]+$",
                    "description": "Öffentliche v2-ID im gewählten Konto; Beispiel ist synthetisch.",
                    "examples": [
                      "offer_012345abcdef_123456"
                    ]
                  },
                  "update": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true,
                "required": [
                  "id",
                  "update"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "headers": {
        "X-Edoobox-Revision": {
          "schema": {
            "type": "string",
            "pattern": "^[a-f0-9]{32}$"
          },
          "description": "Rotated account revision supplied for the next action in one reviewed sequence."
        }
      }
    },
    "400": {
      "description": "Invalid request.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40006"
          }
        }
      }
    },
    "401": {
      "description": "Missing/expired token, missing account context, account paused or model-specific authorization failure.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40103"
          }
        }
      }
    },
    "402": {
      "description": "Missing/invalid action data or subscription/operation restriction.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80100"
          }
        }
      }
    },
    "403": {
      "description": "Permission denied. Browser CORS rejection may have an empty body.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED40340"
          }
        }
      }
    },
    "404": {
      "description": "Unknown resource/action or unsupported method.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80019"
          }
        }
      }
    },
    "409": {
      "description": "The account changed after the reviewed read. No domain operation is dispatched; obtain fresh state and review again.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": true
          },
          "example": {
            "error": "ED40901",
            "error_code": "mutation_revision_conflict"
          }
        }
      }
    },
    "422": {
      "description": "Validation failed.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED80020"
          }
        }
      }
    },
    "429": {
      "description": "Request/login rate limit exceeded. Honor Retry-After when supplied; legacy rate-limit paths may omit it. Retry only proven reads within a bounded deadline; a mutation is never automatically replayed after an ambiguous response.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED42902"
          }
        }
      },
      "headers": {
        "Retry-After": {
          "description": "Optional server delay in whole seconds or an HTTP date. Absence is not permission for an immediate retry.",
          "schema": {
            "type": "string",
            "examples": [
              "30"
            ]
          }
        }
      }
    },
    "502": {
      "description": "Server-side operation failed.",
      "content": {
        "application/json": {
          "example": {
            "success": false,
            "error": "ED50201"
          }
        }
      }
    },
    "503": {
      "description": "The account mutation lock or revision store is unavailable. No unprotected fallback is executed.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "const": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": true
          },
          "example": {
            "error": "ED50301",
            "error_code": "mutation_revision_busy"
          }
        }
      }
    }
  },
  "x-edoobox-mutates-state": true,
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "id": false,
                "name": false,
                "number": {
                  "x-edoobox-canonicalType": "string",
                  "x-edoobox-maxStoredLength": 120,
                  "x-edoobox-normalization": "The aP getter trims text, replaces newlines and limits the legacy escaped storage representation to maxStoredLength UTF-8 characters without splitting escape pairs; aQ decodes the stored representation. Non-string input becomes empty text. This getter limit is normalization, not a rejecting input maxLength or proof of a custom action hook or database column capacity.",
                  "examples": [
                    "Example"
                  ],
                  "x-edoobox-sourceLine": 59
                },
                "row_lft": false,
                "row_rgt": false,
                "user_maximum": {
                  "x-edoobox-canonicalType": "integer",
                  "description": "PHP int cast then clamp to 0..99999. Original out-of-range values are normalized, not rejected.\n\nNormalize/clamp, then verify against runtime subscription maximum.\n\nRuntime preconditions / rejection: Normalized capacity above active subscription maximum emits ED40240.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    25
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 88,
                      "lineStart": 88,
                      "lineEnd": 103,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "ef67ec9958d0589d12df524ed964d96f3647cf8176d2f107424bbb6d2715621d",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 72,
                      "lineStart": 72,
                      "lineEnd": 85,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "b4cc2c675e48a2ddfd8b73a207e8b793140887e1a00f7f3dd8dc5e05ddabbe0e",
                      "reason": "func delegates to _change_user_maximum_Offer"
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 21,
                      "lineStart": 21,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "0a04bfb4c037dc7bd950da50fcbd419c47001d5879a737dff29c10afc183c998",
                      "reason": "Account-specific maximum checked after clamp."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                    }
                  ]
                },
                "order": false,
                "user_minimal": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 122,
                  "x-edoobox-canonicalType": "integer",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    1
                  ]
                },
                "date_start": false,
                "date_end": false,
                "date_close": {
                  "x-edoobox-canonicalType": "string",
                  "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
                  "examples": [
                    "2026-10-15T10:00:00+02:00"
                  ],
                  "x-edoobox-sourceLine": 157
                },
                "date_displayend_reference": {
                  "x-edoobox-knownInputs": [
                    "date_start",
                    "date_end",
                    "date_close"
                  ],
                  "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
                  "examples": [
                    "date_start"
                  ],
                  "x-edoobox-sourceLine": 176,
                  "description": "'date_open' => array(\n'db' => $this->tableS.'anmeldeschluss',\n'get' => function ($a, $fid, $insert = false) {\nreturn dP($a);\n},\n'set' => function ($a) {\nreturn dQ($a);\n},\n),"
                },
                "date_displayend": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 203,
                  "x-edoobox-canonicalType": "integer",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    1
                  ]
                },
                "date_displaystart": {
                  "x-edoobox-canonicalType": "string",
                  "description": "dP uses PHP strtotime(); unparseable/falsy results normalize to zero. ISO 8601 text is the canonical client input; no rejecting JSON date-time format assertion is established here. Account/action hooks may add preconditions.",
                  "examples": [
                    "2026-10-15T10:00:00+02:00"
                  ],
                  "x-edoobox-sourceLine": 218
                },
                "date_signupstart": {
                  "x-edoobox-canonicalType": "string",
                  "description": "ISO date-time text is canonical. PHP strtotime accepts broader text; invalid/empty strings normalize to timestamp 0 rather than reject.\n\ndP returns parsed timestamp or 0. Positive timestamp requires offer_signup_start subscription capability.\n\nRuntime preconditions / rejection: Positive timestamp with unavailable feature emits ED40240.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    "2030-06-01T09:00:00+02:00"
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 227,
                      "lineStart": 227,
                      "lineEnd": 236,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "a2dbd62e363a822b38cdbc9058263e13bd7e92f70f6fd200e7e4d7435d24b610",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 99,
                      "lineStart": 99,
                      "lineEnd": 113,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "19794aa7b608b508b4b2987afbce43721e8217056649de45174b7bc3a900507c",
                      "reason": "func delegates to _change_date_signupstart_Offer"
                    },
                    {
                      "file": "application/helpers/edooboxhelp_helper.php",
                      "line": 11613,
                      "lineStart": 11613,
                      "lineEnd": 11639,
                      "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
                      "spanSha256": "29d94d04d092603b477c949772b36e49a438b1550130b4ba4194c882983d8eed",
                      "reason": "dP parse/fallback and dQ date-or-false output."
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 45,
                      "lineStart": 45,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                      "reason": "Feature gating after successful positive parse."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                    }
                  ]
                },
                "image": false,
                "place": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "place_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 256
                },
                "category": false,
                "offerdef": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "offerdef_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 293
                },
                "type": false,
                "mode": {
                  "enum": [
                    "Online",
                    "Onsite",
                    "Blended"
                  ],
                  "x-edoobox-sourceLine": 347
                },
                "status": {
                  "x-edoobox-canonicalType": "integer",
                  "description": "Cast result must be 0..5. Numeric strings and other PHP int-coercible values can also pass. This is not a strict integer wire validator.\n\nCallback casts itself and rejects out-of-range cast results; unlike getter it does not remap out-of-range to 0.\n\nRuntime preconditions / rejection: Cast result outside 0..5 -> callback false -> ED90100. Missing offer or absent positive capacity/start/close dates -> ED90100. Statuses 1/2 require future registration close date; otherwise date_close_must_be_in_the_future.",
                  "x-edoobox-recognizedValues": [
                    0,
                    1,
                    2,
                    3,
                    4,
                    5
                  ],
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    1
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 365,
                      "lineStart": 365,
                      "lineEnd": 379,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "d763fc061eef55129445d0ce78b398e566748b018764270c35d41f4bac19281b",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 981,
                      "lineStart": 981,
                      "lineEnd": 1094,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "b1caf7273b4abd50f432241a4d6ce8f321c70d7eb6a035aa17c88f6ce8e4ab01",
                      "reason": "func delegates to statusOffer"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                    }
                  ]
                },
                "archive": false,
                "trash": false,
                "waiting_list": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 404,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "mustpay": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 413,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "countdown": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 422,
                  "x-edoobox-canonicalType": "integer",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    1
                  ]
                },
                "lesson_booking": {
                  "x-edoobox-canonicalType": "boolean",
                  "description": "Canonical JSON booleans supported; PHP loose truth comparison also coerces other JSON values. No strict wire boolean validator.\n\nHook bypasses getter but uses equivalent ==true conversion to y/n.\n\nRuntime preconditions / rejection: Existing bookings cause callback false -> ED90100, including redundant assignments. Enable requires lesson_booking subscription capability (ED40240). Enable with existing offerlist throws offerlist_not_allowed.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    false,
                    true
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 437,
                      "lineStart": 437,
                      "lineEnd": 448,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "eda0ddf56bc7ae84e33f342f55baa52a6b54e1bd0241bbc4b19927e8d7db3a42",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 11,
                      "lineStart": 11,
                      "lineEnd": 58,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "2982272dd02cad7bd8dddc88f941f504b13f74048f866a69ceb2e309ef376c67",
                      "reason": "func delegates to change_lessenbooking_Offer"
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 45,
                      "lineStart": 45,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                      "reason": "Feature gating on enabling."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                    }
                  ]
                },
                "multiple_registration": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 449,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "multiple_registration_type": {
                  "x-edoobox-knownInputs": [
                    "named_users",
                    "participant_count",
                    "named_users_contact"
                  ],
                  "x-edoobox-normalization": "Switch default normalizes other input values; case labels are not an exhaustive accepted-input enum.",
                  "examples": [
                    "named_users"
                  ],
                  "x-edoobox-sourceLine": 459
                },
                "barcode_ticket": {
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 486,
                  "x-edoobox-canonicalType": "boolean",
                  "x-edoobox-normalization": "PHP coercion/normalization is applied by the Structure getter; its return type is not a rejecting wire-input type restriction.",
                  "examples": [
                    false
                  ]
                },
                "design": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "design_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 495
                },
                "multi_offer": false,
                "multi_offer_child": false,
                "vat": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                      "description": "Opaque v2 ID returned for a record in the selected account."
                    },
                    {
                      "const": "dynamic"
                    }
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 534,
                      "reason": "Input accepts the dynamic sentinel before decoding a vat ID.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 540,
                      "reason": "Response returns false, dynamic or a public vat ID.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    }
                  ]
                },
                "cancellation_condition_group": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque v2 ID returned for a record in the selected account.",
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 552,
                      "reason": "Write decodes a public cancellationconditiongroup ID and rejects nonpositive results.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 559,
                      "reason": "Response uses integer zero when no group is assigned.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    }
                  ]
                },
                "country": {
                  "type": "string",
                  "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
                  "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
                  "examples": [
                    "country_012345abcdef_123456"
                  ],
                  "x-edoobox-schemaStatus": "source-inferred",
                  "x-edoobox-sourceLine": 566
                },
                "shortdescription": false,
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "tag": {
                        "type": "string",
                        "pattern": "^tag_[a-f0-9]{12}_-?[0-9]+$",
                        "description": "Public tag v2 ID returned for a currently existing record in the selected account; signature, resource type and account ownership are checked by the native hook."
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "normal",
                          "include",
                          "exclude"
                        ]
                      }
                    },
                    "additionalProperties": true,
                    "required": [
                      "tag",
                      "type"
                    ]
                  },
                  "description": "Replaces normal/include/exclude tag associations. Every supplied tag must be a typed, existing same-account tag and every mode must be recognized before relation writes. Duplicate associations are normalized.",
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 2534,
                      "reason": "Callback consumes an array of {tag,type} records instead of the aP get placeholder.",
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d"
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 605,
                      "reason": "Response builds an array of tag/type objects, not a scalar encoded ID.",
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5"
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 2557,
                      "lineEnd": 2578,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "reason": "All supplied tag IDs/types and the complete same-account tag existence set are validated before offer tag relation writes; unknown modes are rejected."
                    }
                  ]
                },
                "internal_code": {
                  "x-edoobox-canonicalType": "string",
                  "description": "aP(...,true,40) trims, flattens line breaks, escapes and truncates strings; nonstrings become empty. Longer input is not rejected.\n\nString normalized to at most 40 characters after escaping. Category propagates to descendants; both disable firmaConnect.\n\nRuntime preconditions / rejection: Nonempty code requires subscription internal_function; absence emits ED40240. Missing/wrong-kind resource: category callback false -> ED90100; offer throws offer_not_found.",
                  "x-edoobox-schemaStatus": "source-reviewed",
                  "examples": [
                    "INTERNAL-SAMPLE",
                    ""
                  ],
                  "x-edoobox-contractSource": [
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 640,
                      "lineStart": 640,
                      "lineEnd": 649,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "7faaa8f4c54f5252216448518d9f957cb5a06ae067628a2e40462d6b4bec6c75",
                      "reason": "Structure getter, output setter and field flags."
                    },
                    {
                      "file": "application/models/v2/Offerfunc.php",
                      "line": 115,
                      "lineStart": 115,
                      "lineEnd": 152,
                      "sha256": "0efa50df0d95a6e96901b30e045e68b43f00529f73fcccaf864d23d02c27e63d",
                      "spanSha256": "93f7e04f0ce93ea8b69acb8e721ca2f0ad32d3aec7bd79a4025bb2a920a8078a",
                      "reason": "func delegates to _change_internal_code_Offer"
                    },
                    {
                      "file": "application/helpers/edooboxhelp_helper.php",
                      "line": 11560,
                      "lineStart": 11560,
                      "lineEnd": 11577,
                      "sha256": "090d351b5bde81813c7a829bedf2f1f9f978fce5765f246989779f996198934e",
                      "spanSha256": "47b45db25b5ed86673fe43c17c7d716427b0d86011b1ba918d19eebc39907fd1",
                      "reason": "Actual aP normalization; no rejecting maxLength. Reviewed aP update preserves legacy encoded storage and aQ read semantics. Truncation removes a dangling final escape backslash rather than creating a broken SQL literal; it remains normalization, not a rejecting raw input maxLength."
                    },
                    {
                      "file": "application/models/v2/Edsubscription/Edsubscriptionverification.php",
                      "line": 45,
                      "lineStart": 45,
                      "lineEnd": 71,
                      "sha256": "723114d7051c7917de61d4cc28f26acef144a985b6077ccaefb0052f4c4b78dd",
                      "spanSha256": "c9425ad19c85e68c6bc57eacc00cebd71d4e624b76013e116afd1cadcd87b7e8",
                      "reason": "Runtime subscription feature rejection."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 681,
                      "lineStart": 681,
                      "lineEnd": 705,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "226a81690573780762b7f4f9d79c4b4e00cd8c6e0b85d3a51ca5600c85b98e05",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 734,
                      "lineStart": 734,
                      "lineEnd": 735,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "3df2a38722a4fef1389fcc1049532ef37f0e37cfea45b5e550c72e79d46687ae",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "application/models/v2/Offer.php",
                      "line": 805,
                      "lineStart": 805,
                      "lineEnd": 843,
                      "sha256": "abb1c24b2f0d1773a83a689708ab5d7db2a474d05122eb89050e9a941ba8efb5",
                      "spanSha256": "68bdbbf1d36aa5a89930b605bcdd68e1dd4dee314cba249bde700958ee6b6ae7",
                      "reason": "Actual resource dispatch and generic writer reachability; action branches are distinct."
                    },
                    {
                      "file": "docs/openapi/reviews/domain-fields.json",
                      "line": 1,
                      "reason": "Independent field-level source review, direction applicability, examples and explicit runtime limitations.",
                      "sha256": "0da1cbbf108a5871b54204c3c76aaf59dabf85a6886bfb38210136885cfc1667"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "Source-declared fields; action-specific and account validation still apply.",
              "minProperties": 1,
              "x-edoobox-readOnlyFields": [
                "name",
                "row_lft",
                "row_rgt",
                "order",
                "date_start",
                "date_end",
                "image",
                "category",
                "type",
                "archive",
                "trash",
                "multi_offer",
                "multi_offer_child",
                "shortdescription"
              ],
              "x-edoobox-clientRestriction": "Read-only fields are forbidden by this client contract to prevent silently ignored writes; the legacy API itself skips them. Explicit source-marked update context fields remain accepted for hook validation without changing their immutable database columns."
            },
            "id": {
              "type": "string",
              "pattern": "^[a-z0-9]+_[a-f0-9]{12}_-?[0-9]+$",
              "description": "Opaque edoobox v2 object ID returned by this account. Never send a raw database ID. The synthetic example is illustrative and is not a real record.",
              "examples": [
                "offer_012345abcdef_123456"
              ]
            }
          },
          "additionalProperties": true,
          "required": [
            "data",
            "id"
          ]
        },
        "examples": {
          "request": {
            "summary": "Angebot aktualisieren",
            "value": {
              "data": {
                "number": "EXAMPLE-2026"
              },
              "id": "offer_012345abcdef_123456"
            }
          }
        }
      }
    }
  },
  "x-edoobox-runtimeMutationGuard": true,
  "x-edoobox-documentationReview": {
    "file": "docs/openapi/operation-contracts/03-offers-places.json",
    "notes": []
  },
  "x-edoobox-source": {
    "file": "application/models/v2/Offer.php",
    "method": "updateOffer",
    "line": 805
  },
  "x-edoobox-documentationStatus": "reviewed",
  "x-edoobox-readOnly": false,
  "x-edoobox-safeForAutomation": false,
  "x-edoobox-permission": {
    "resource": "offer",
    "short": "offe",
    "checkedByDispatcher": true,
    "levels": [
      3,
      4
    ],
    "description": "Resource permission mapping from APIPermissions(), Authfunc::_getCheckJWT. Additional model/admin/plugin checks may apply; resources absent from api_permission do not acquire a fictitious scope."
  }
}
```
