{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-get-service-network-response-schema.json",
  "title": "GetServiceNetworkResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-vpc-lattice-getservicenetwork-api-openapi.yml#/components/schemas/GetServiceNetworkResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the service network."
    },
    "name": {
      "type": "string",
      "description": "The name of the service network."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the service network was created, in ISO-8601 format."
    },
    "lastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time of the last update, in ISO-8601 format."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the service network."
    },
    "authType": {
      "type": "string",
      "description": "The type of IAM policy."
    },
    "sharingConfig": {
      "$ref": "#/$defs/SharingConfig"
    },
    "numberOfAssociatedVPCs": {
      "type": "integer",
      "description": "The number of VPCs associated with the service network."
    },
    "numberOfAssociatedServices": {
      "type": "integer",
      "description": "The number of services associated with the service network."
    }
  },
  "$defs": {
    "SharingConfig": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Specifies if the service network is enabled for sharing."
        }
      }
    }
  }
}