{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FieldMappingApiInstance",
  "title": "FieldMappingApiInstance",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "is_integration_wide": {
      "type": "boolean"
    },
    "target_field": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/FieldMappingApiInstanceTargetField"
        },
        {
          "type": "null"
        }
      ]
    },
    "remote_field": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/FieldMappingApiInstanceRemoteField"
        },
        {
          "type": "null"
        }
      ]
    },
    "jmes_path": {
      "type": [
        "string",
        "null"
      ]
    },
    "advanced_mapping_expression": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}