{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-application-migration-service/json-schema/amazon-application-migration-service-network-migration-mapper-segment-schema.json",
  "title": "NetworkMigrationMapperSegment",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-application-migration-service-network-migration-api-openapi.yml#/components/schemas/NetworkMigrationMapperSegment",
  "type": "object",
  "properties": {
    "jobID": {
      "type": "string",
      "description": "The unique identifier of the job that created this segment."
    },
    "networkMigrationExecutionID": {
      "type": "string",
      "description": "The unique identifier of the network migration execution."
    },
    "networkMigrationDefinitionID": {
      "type": "string",
      "description": "The unique identifier of the network migration definition."
    },
    "segmentID": {
      "type": "string",
      "description": "The unique identifier of the segment."
    },
    "segmentType": {
      "type": "string",
      "description": "The category of the network migration segment. A segment groups the network constructs (such as VPCs, subnets, and security groups) that are migrated together. Valid values: WORKLOAD, APPLIANCE."
    },
    "name": {
      "type": "string",
      "description": "The name of the segment."
    },
    "description": {
      "type": "string",
      "description": "A description of the segment."
    },
    "logicalID": {
      "type": "string",
      "description": "The logical identifier for the segment in the infrastructure code."
    },
    "checksum": {
      "$ref": "#/$defs/Checksum"
    },
    "outputS3Configuration": {
      "$ref": "#/$defs/S3Configuration"
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the segment was created."
    },
    "updatedAt": {
      "type": "string",
      "description": "The timestamp when the segment was last updated."
    },
    "scopeTags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Scope tags for the segment."
    },
    "targetAccount": {
      "type": "string",
      "description": "The target AWS account where this segment will be deployed."
    },
    "referencedSegments": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of other segments that this segment depends on or references."
    }
  },
  "$defs": {
    "Checksum": {
      "type": "object",
      "properties": {
        "encryptionAlgorithm": {
          "type": "string",
          "description": "The encryption algorithm used to generate the checksum."
        },
        "hash": {
          "type": "string",
          "description": "The hash value of the checksum."
        }
      }
    },
    "S3Configuration": {
      "type": "object",
      "properties": {
        "s3Bucket": {
          "type": "string",
          "description": "The name of the S3 bucket."
        },
        "s3BucketOwner": {
          "type": "string",
          "description": "The AWS account ID of the S3 bucket owner."
        },
        "s3Key": {
          "type": "string",
          "description": "The S3 key (path) for the object."
        }
      }
    }
  }
}