{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-list-source-endpoints-response-schema.json",
  "title": "ListSourceEndpointsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-sourceendpoint-api-openapi.yml#/components/schemas/ListSourceEndpointsResponse",
  "type": "object",
  "properties": {
    "SourceEndpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedSourceEndpoint"
      },
      "description": "The source endpoints that match the request."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use in the next request to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "required": [
    "SourceEndpoints"
  ],
  "$defs": {
    "ListedSourceEndpoint": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the source endpoint."
        },
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the source endpoint."
        },
        "Id": {
          "type": "string",
          "description": "The unique identifier of the source endpoint."
        },
        "SourceType": {
          "type": "string",
          "enum": [
            "STANDARD",
            "ROUTER_OUTPUT"
          ],
          "description": "The type of the source endpoint. Valid values include the following: STANDARD – A source endpoint that represents an external source over a standard protocol, such as RTP, RIST, or SRT. ROUTER_OUTPUT – A source endpoint that represents a router output."
        },
        "RegionName": {
          "type": "string",
          "description": "The name of the Amazon Web Services Region in which the source endpoint is located."
        },
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone in which the source endpoint is located."
        },
        "AvailabilityZoneId": {
          "type": "string",
          "description": "The ID of the Availability Zone in which the source endpoint is located."
        },
        "CreatedAt": {
          "type": "string",
          "description": "The date and time when the source endpoint was created."
        },
        "UpdatedAt": {
          "type": "string",
          "description": "The date and time when the source endpoint was last updated."
        },
        "LifecycleManagement": {
          "type": "string",
          "enum": [
            "MANAGED",
            "UNMANAGED"
          ],
          "description": "The entity that manages the lifecycle of the source endpoint."
        },
        "MessageCount": {
          "type": "integer",
          "description": "The number of status messages for the source endpoint."
        },
        "ResourceShareOwnership": {
          "type": "string",
          "enum": [
            "OWNED",
            "CONSUMED"
          ],
          "description": "Indicates whether this account owns the source endpoint or consumes it from another account through RAM."
        },
        "ResourceShareState": {
          "type": "string",
          "enum": [
            "SHARED",
            "UNSHARED"
          ],
          "description": "The sharing state of the source endpoint."
        },
        "RegistrationState": {
          "type": "string",
          "enum": [
            "REGISTERED",
            "REGISTERING",
            "DEREGISTERING",
            "REGISTRATION_FAILED"
          ],
          "description": "The registration state of the source endpoint. Valid values include the following: REGISTERED – The source endpoint is registered and ready to use. REGISTERING – MediaConnect is registering the source endpoint. DEREGISTERING – MediaConnect is deregistering the source endpoint. REGISTRATION_FAILED – MediaConnect couldn't register the source endpoint."
        },
        "ConnectionState": {
          "type": "string",
          "enum": [
            "CONNECTED",
            "DISCONNECTED",
            "CONNECTING",
            "DISCONNECTING"
          ],
          "description": "The connection state of the source endpoint. Valid values include the following: CONNECTED – The source endpoint is connected to a destination endpoint. DISCONNECTED – The source endpoint isn't connected to a destination endpoint. CONNECTING – The source endpoint is connecting to a destination endpoint. DISCONNECTING – The source endpoint is disconnecting from a destination endpoint."
        },
        "EncryptionType": {
          "type": "string",
          "enum": [
            "SECRETS_MANAGER",
            "AUTOMATIC"
          ],
          "description": "The type of encryption used for the source endpoint connection."
        },
        "ConnectedDestinationCount": {
          "type": "integer",
          "description": "The number of destination endpoints that are connected to the source endpoint."
        },
        "AssociatedResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource that is associated with the source endpoint."
        }
      },
      "required": [
        "Name",
        "Arn",
        "Id",
        "SourceType",
        "RegionName",
        "CreatedAt",
        "UpdatedAt",
        "LifecycleManagement",
        "MessageCount",
        "ResourceShareOwnership",
        "ResourceShareState",
        "RegistrationState",
        "ConnectionState",
        "ConnectedDestinationCount"
      ]
    }
  }
}