{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "MappingInOutParameter",
  "type": "object",
  "description": "An in-out parameter defined within a mapping.",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The parameter ID."
    },
    "name": {
      "type": "string",
      "description": "The parameter name."
    },
    "description": {
      "type": "string",
      "description": "A description of the parameter."
    },
    "initialValue": {
      "type": "string",
      "description": "The starting value for the parameter."
    },
    "datatype": {
      "type": "string",
      "description": "The data type of the parameter."
    },
    "precision": {
      "type": "string",
      "description": "The numeric precision."
    },
    "scale": {
      "type": "string",
      "description": "The decimal scale."
    },
    "retentionPolicy": {
      "type": "string",
      "description": "The value retention policy."
    },
    "aggregationType": {
      "type": "string",
      "description": "The method for determining the final value."
    },
    "currentValue": {
      "type": "string",
      "description": "The current parameter value."
    }
  }
}