{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-trta-athena-models-api-v4-mappings-mapping-put-request-schema.json",
  "title": "TRTA.Athena.Models.Api.V4.Mappings.MappingPutRequest",
  "description": "Represents the request to add or update entries in an existing mapping.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-tax-account-mappings-api-openapi.yml#/components/schemas/TRTA.Athena.Models.Api.V4.Mappings.MappingPutRequest",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "A list of map entries to add or update.",
      "items": {
        "$ref": "#/$defs/TRTA.Athena.Models.Api.V4.Mappings.MapEntry"
      }
    }
  },
  "$defs": {
    "TRTA.Athena.Models.Api.V4.Mappings.MapEntry": {
      "type": "object",
      "description": "Represents an individual map entry.",
      "properties": {
        "mapTarget": {
          "type": "string",
          "description": "The tax account code to map to."
        },
        "accountCode": {
          "type": "array",
          "description": "A list of chart of accounts account codes to map from.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}