{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-create-network-mapping-input-schema.json",
  "title": "CreateNetworkMappingInput",
  "description": "Create network mappings input.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-replicationnetworkmappings-api-openapi.yml#/components/schemas/CreateNetworkMappingInput",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/CreateNetworkMappingInputProperties",
      "description": "Input properties for creating network mapping."
    }
  },
  "required": [
    "properties"
  ],
  "$defs": {
    "CreateNetworkMappingInputProperties": {
      "type": "object",
      "description": "Common input details for network mapping operation.",
      "properties": {
        "recoveryFabricName": {
          "type": "string",
          "description": "Recovery fabric Name."
        },
        "recoveryNetworkId": {
          "type": "string",
          "description": "Recovery network Id."
        },
        "fabricSpecificDetails": {
          "$ref": "#/$defs/FabricSpecificCreateNetworkMappingInput",
          "description": "Fabric specific input properties."
        }
      },
      "required": [
        "recoveryNetworkId"
      ]
    },
    "FabricSpecificCreateNetworkMappingInput": {
      "type": "object",
      "description": "Input details specific to fabrics during Network Mapping.",
      "properties": {
        "instanceType": {
          "type": "string",
          "description": "The instance type."
        }
      },
      "required": [
        "instanceType"
      ]
    }
  }
}