{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telenor-sverige/json-schema/telenor-sverige-core-api-invoices-update-single-invoice-models-update-single-invoice-input-schema.json",
  "title": "CoreApi.Invoices.UpdateSingleInvoice.Models.UpdateSingleInvoiceInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telenor-sverige-invoice-api-openapi.yml#/components/schemas/CoreApi.Invoices.UpdateSingleInvoice.Models.UpdateSingleInvoiceInput",
  "required": [
    "InvoiceAddress"
  ],
  "type": "object",
  "properties": {
    "InvoiceAddress": {
      "$ref": "#/$defs/CoreApi.Invoices.Invoice.Models.InvoiceAddressInput"
    },
    "EventLogCharacteristics": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CoreApi.Invoices.Invoice.Models.InvoiceAddressInput": {
      "required": [
        "City",
        "CountryCode",
        "Zip"
      ],
      "type": "object",
      "properties": {
        "Address1": {
          "maxLength": 30,
          "type": [
            "string",
            "null"
          ]
        },
        "Address2": {
          "maxLength": 30,
          "type": [
            "string",
            "null"
          ]
        },
        "Reference": {
          "maxLength": 20,
          "type": [
            "string",
            "null"
          ]
        },
        "City": {
          "maxLength": 20,
          "minLength": 1,
          "type": "string"
        },
        "Zip": {
          "maxLength": 9,
          "minLength": 1,
          "type": "string"
        },
        "CountryCode": {
          "maxLength": 3,
          "minLength": 2,
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  }
}