{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-list-flows-response-schema.json",
  "title": "ListFlowsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-flows-api-openapi.yml#/components/schemas/ListFlowsResponse",
  "type": "object",
  "properties": {
    "Flows": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedFlow"
      },
      "description": "A list of flow summaries."
    },
    "NextToken": {
      "type": "string",
      "description": "The token that identifies the batch of results that you want to see. For example, you submit a ListFlows request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListFlows request a second time and specify the NextToken value."
    }
  },
  "$defs": {
    "ListedFlow": {
      "type": "object",
      "properties": {
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone that the flow was created in."
        },
        "Description": {
          "type": "string",
          "description": "A description of the flow."
        },
        "FlowArn": {
          "type": "string",
          "description": "The ARN of the flow."
        },
        "Name": {
          "type": "string",
          "description": "The name of the flow."
        },
        "SourceType": {
          "type": "string",
          "enum": [
            "OWNED",
            "ENTITLED"
          ],
          "description": "The type of source. This value is either owned (originated somewhere other than an MediaConnect flow owned by another Amazon Web Services account) or entitled (originated at a MediaConnect flow owned by another Amazon Web Services account)."
        },
        "Status": {
          "type": "string",
          "enum": [
            "STANDBY",
            "ACTIVE",
            "UPDATING",
            "DELETING",
            "STARTING",
            "STOPPING",
            "ERROR"
          ],
          "description": "The current status of the flow."
        },
        "Maintenance": {
          "$ref": "#/$defs/Maintenance"
        }
      },
      "required": [
        "AvailabilityZone",
        "Description",
        "FlowArn",
        "Name",
        "SourceType",
        "Status"
      ]
    },
    "Maintenance": {
      "type": "object",
      "properties": {
        "MaintenanceDay": {
          "type": "string",
          "enum": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
            "Saturday",
            "Sunday"
          ],
          "description": "A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday."
        },
        "MaintenanceDeadline": {
          "type": "string",
          "description": "The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z."
        },
        "MaintenanceScheduledDate": {
          "type": "string",
          "description": "A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30."
        },
        "MaintenanceStartHour": {
          "type": "string",
          "description": "UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00."
        }
      }
    }
  }
}