changedInput schema / additionalProperties
Previous value: -trueNew value: +false
removedInput schema / description
Removed value: -"The existing product POST body. Supply its documented mode, arguments, and required signed authority or grant. The product validates its full contract."
removedInput schema / maxProperties
Removed value: -64
removedInput schema / minProperties
Removed value: -1
addedInput schema / oneOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount_atomic": {
+ "pattern": "^[1-9][0-9]{0,11}(?![\\s\\S])",
+ "type": "string"
+ },
+ "buyer_reference": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ },
+ "buyer_wallet": {
+ "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
+ "type": "string"
+ },
+ "description": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])",
+ "type": "string"
+ },
+ "expires_at": {
+ "maximum": 4102444800,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "idempotency_key": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "mode": {
+ "const": "create_invoice_reference"
+ },
+ "rail_key": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ },
+ "usage": {
+ "enum": [
+ "synthetic",
+ "operational"
+ ]
+ }
+ },
+ "required": [
+ "schema_version",
+ "mode",
+ "idempotency_key",
+ "buyer_reference",
+ "buyer_wallet",
+ "rail_key",
+ "amount_atomic",
+ "expires_at",
+ "description",
+ "usage"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "invoice_id": {
+ "pattern": "^inv_[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "mode": {
+ "const": "read_invoice"
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ }
+ },
+ "required": [
+ "schema_version",
+ "mode",
+ "invoice_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expected_version": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "idempotency_key": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "invoice_id": {
+ "pattern": "^inv_[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "mode": {
+ "const": "bind_invoice_to_run"
+ },
+ "run_binding": {
+ "additionalProperties": false,
+ "properties": {
+ "receipt_reference": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ },
+ "receipt_sha256": {
+ "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "return_package_reference": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ },
+ "return_package_sha256": {
+ "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "run_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ }
+ },
+ "required": [
+ "run_id",
+ "receipt_reference",
+ "return_package_reference",
+ "receipt_sha256",
+ "return_package_sha256"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ }
+ },
+ "required": [
+ "schema_version",
+ "mode",
+ "idempotency_key",
+ "invoice_id",
+ "expected_version",
+ "run_binding"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "decision": {
+ "enum": [
+ "approve",
+ "reject"
+ ]
+ },
+ "expected_version": {
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "idempotency_key": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+ },
+ "invoice_id": {
+ "pattern": "^inv_[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "mode": {
+ "const": "review_invoice"
+ },
+ "note": {
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])",
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ }
+ },
+ "required": [
+ "schema_version",
+ "mode",
+ "idempotency_key",
+ "invoice_id",
+ "expected_version",
+ "decision",
+ "note"
+ ],
+ "type": "object"
+ }
+]
addedInput schema / properties / amount_atomic
Added value: +{
+ "pattern": "^[1-9][0-9]{0,11}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / buyer_reference
Added value: +{
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / buyer_wallet
Added value: +{
+ "pattern": "^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / decision
Added value: +{
+ "enum": [
+ "approve",
+ "reject"
+ ]
+}
addedInput schema / properties / description
Added value: +{
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / expected_version
Added value: +{
+ "maximum": 3,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / expires_at
Added value: +{
+ "maximum": 4102444800,
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / idempotency_key
Added value: +{
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / invoice_id
Added value: +{
+ "pattern": "^inv_[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / mode / enum
Added value: +[
+ "create_invoice_reference",
+ "read_invoice",
+ "bind_invoice_to_run",
+ "review_invoice"
+]
removedInput schema / properties / mode / maxLength
Removed value: -128
removedInput schema / properties / mode / minLength
Removed value: -1
addedInput schema / properties / note
Added value: +{
+ "maxLength": 500,
+ "minLength": 1,
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / rail_key
Added value: +{
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])",
+ "type": "string"
+}
addedInput schema / properties / run_binding
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "receipt_reference": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ },
+ "receipt_sha256": {
+ "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "return_package_reference": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ },
+ "return_package_sha256": {
+ "pattern": "^[a-f0-9]{64}(?![\\s\\S])",
+ "type": "string"
+ },
+ "run_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])",
+ "type": "string"
+ }
+ },
+ "required": [
+ "run_id",
+ "receipt_reference",
+ "return_package_reference",
+ "receipt_sha256",
+ "return_package_sha256"
+ ],
+ "type": "object"
+}
addedInput schema / properties / schema_version
Added value: +{
+ "const": "1.0.0"
+}
addedInput schema / properties / usage
Added value: +{
+ "enum": [
+ "synthetic",
+ "operational"
+ ]
+}
addedInput schema / required
Added value: +[
+ "schema_version",
+ "mode"
+]