changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "replacedBy": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Invoice UUID.",
+ "type": "string"
+ },
+ "invoice_number": {
+ "description": "Human-readable invoice number.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "invoice_number"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Rectificative that superseded this invoice, null when not rectified."
+ },
+ "replaces": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Invoice UUID.",
+ "type": "string"
+ },
+ "invoice_number": {
+ "description": "Human-readable invoice number.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "invoice_number"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Original invoice this one rectifies, null when not a rectificative."
+ }
+ },
+ "required": [
+ "replaces",
+ "replacedBy"
+ ],
+ "type": "object"
+}