{
    "info": {
        "description": "Inventory Groups Public API",
        "title": "Inventory Groups",
        "version": "3.0"
    },
    "paths": {
        "/dsp/v1/inventory/inventoryGroups/list": {
            "post": {
                "summary": "Gets a list of inventory groups.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ListInventoryGroupsRequestV1"
                            }
                        }
                    }
                },
                "description": "Gets a list of inventory groups based on the sorting and filtering criteria provided in the request.",
                "operationId": "DspApiListInventoryGroupsV1",
                "responses": {
                    "200": {
                        "description": "Successful operation.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ListInventoryGroupsResponseV1"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/DspBadRequestExceptionV1"
                    },
                    "401": {
                        "$ref": "#/components/responses/DspUnauthorizedExceptionV1"
                    },
                    "500": {
                        "$ref": "#/components/responses/DspInternalServerExceptionV1"
                    },
                    "403": {
                        "$ref": "#/components/responses/DspForbiddenExceptionV1"
                    },
                    "415": {
                        "$ref": "#/components/responses/DspUnsupportedMediaTypeExceptionV1"
                    },
                    "503": {
                        "$ref": "#/components/responses/DspServiceUnavailableExceptionV1"
                    },
                    "429": {
                        "$ref": "#/components/responses/DspTooManyRequestsExceptionV1"
                    }
                },
                "parameters": [
                    {
                        "$ref": "#/components/parameters/clientHeader"
                    },
                    {
                        "$ref": "#/components/parameters/accountHeader"
                    },
                    {
                        "$ref": "#/components/parameters/profileHeader"
                    }
                ],
                "tags": [
                    "Inventory Group"
                ]
            }
        },
        "/dsp/v1/inventory/inventoryGroups": {
            "post": {
                "summary": "Creates a new inventory group.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateInventoryGroupRequestV1"
                            }
                        }
                    }
                },
                "description": "Creates a new inventory group with the configuration provided in the request body.",
                "operationId": "DspApiCreateInventoryGroupV1",
                "responses": {
                    "201": {
                        "description": "Created.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CreateInventoryGroupResponseV1"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/DspBadRequestExceptionV1"
                    },
                    "401": {
                        "$ref": "#/components/responses/DspUnauthorizedExceptionV1"
                    },
                    "500": {
                        "$ref": "#/components/responses/DspInternalServerExceptionV1"
                    },
                    "403": {
                        "$ref": "#/components/responses/DspForbiddenExceptionV1"
                    },
                    "415": {
                        "$ref": "#/components/responses/DspUnsupportedMediaTypeExceptionV1"
                    },
                    "503": {
                        "$ref": "#/components/responses/DspServiceUnavailableExceptionV1"
                    },
                    "429": {
                        "$ref": "#/components/responses/DspTooManyRequestsExceptionV1"
                    }
                },
                "parameters": [
                    {
                        "$ref": "#/components/parameters/clientHeader"
                    },
                    {
                        "$ref": "#/components/parameters/accountHeader"
                    },
                    {
                        "$ref": "#/components/parameters/profileHeader"
                    }
                ],
                "tags": [
                    "Inventory Group"
                ]
            },
            "put": {
                "summary": "Updates an inventory group.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateInventoryGroupRequestV1"
                            }
                        }
                    }
                },
                "description": "Updates an inventory group by overwriting the existing metadata with the content in the request object.",
                "operationId": "DspApiUpdateInventoryGroupV1",
                "responses": {
                    "400": {
                        "$ref": "#/components/responses/DspBadRequestExceptionV1"
                    },
                    "401": {
                        "$ref": "#/components/responses/DspUnauthorizedExceptionV1"
                    },
                    "500": {
                        "$ref": "#/components/responses/DspInternalServerExceptionV1"
                    },
                    "204": {
                        "description": "No content."
                    },
                    "403": {
                        "$ref": "#/components/responses/DspForbiddenExceptionV1"
                    },
                    "404": {
                        "$ref": "#/components/responses/DspNotFoundExceptionV1"
                    },
                    "415": {
                        "$ref": "#/components/responses/DspUnsupportedMediaTypeExceptionV1"
                    },
                    "503": {
                        "$ref": "#/components/responses/DspServiceUnavailableExceptionV1"
                    },
                    "429": {
                        "$ref": "#/components/responses/DspTooManyRequestsExceptionV1"
                    }
                },
                "parameters": [
                    {
                        "$ref": "#/components/parameters/clientHeader"
                    },
                    {
                        "$ref": "#/components/parameters/accountHeader"
                    },
                    {
                        "$ref": "#/components/parameters/profileHeader"
                    }
                ],
                "tags": [
                    "Inventory Group"
                ]
            }
        },
        "/dsp/v1/inventory/eligibility/inventoryGroups/list": {
            "post": {
                "summary": "Gets the eligible inventory groups for the specified inventory type.",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ListEligibleInventoryGroupsRequestV1"
                            }
                        }
                    }
                },
                "description": "Gets the eligible inventory groups for the specified inventory type.",
                "operationId": "DspApiListEligibleInventoryGroupsV1",
                "responses": {
                    "200": {
                        "description": "Successful operation.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ListEligibleInventoryGroupsResponseV1"
                                }
                            }
                        }
                    },
                    "400": {
                        "$ref": "#/components/responses/DspBadRequestExceptionV1"
                    },
                    "401": {
                        "$ref": "#/components/responses/DspUnauthorizedExceptionV1"
                    },
                    "500": {
                        "$ref": "#/components/responses/DspInternalServerExceptionV1"
                    },
                    "403": {
                        "$ref": "#/components/responses/DspForbiddenExceptionV1"
                    },
                    "415": {
                        "$ref": "#/components/responses/DspUnsupportedMediaTypeExceptionV1"
                    },
                    "503": {
                        "$ref": "#/components/responses/DspServiceUnavailableExceptionV1"
                    },
                    "429": {
                        "$ref": "#/components/responses/DspTooManyRequestsExceptionV1"
                    }
                },
                "parameters": [
                    {
                        "$ref": "#/components/parameters/accountHeader"
                    },
                    {
                        "$ref": "#/components/parameters/clientHeader"
                    },
                    {
                        "$ref": "#/components/parameters/profileHeader"
                    }
                ],
                "tags": [
                    "Inventory Group"
                ]
            }
        }
    },
    "components": {
        "headers": {},
        "examples": {},
        "schemas": {
            "DateTimeStringV1": {
                "format": "date-time",
                "type": "string"
            },
            "ListInventoryGroupsSortFieldV1": {
                "description": "The field by which to sort the results. Defaults to `CREATION_DATE_TIME` if unspecified.",
                "type": "string",
                "enum": [
                    "INVENTORY_GROUP_ID",
                    "INVENTORY_GROUP_NAME",
                    "INVENTORY_TYPE",
                    "CREATION_DATE_TIME"
                ]
            },
            "ListInventoryGroupSortField": {
                "description": "The field by which to sort the results. Defaults to `INVENTORY_GROUP_NAME` if unspecified.",
                "type": "string",
                "enum": [
                    "INVENTORY_GROUP_ID",
                    "INVENTORY_GROUP_NAME",
                    "INVENTORY_TYPE",
                    "CREATED_DATE"
                ]
            },
            "FieldError": {
                "description": "The field error object.",
                "type": "object",
                "properties": {
                    "fieldName": {
                        "type": "string"
                    },
                    "errorType": {
                        "type": "string"
                    },
                    "message": {
                        "type": "string"
                    }
                },
                "required": [
                    "errorType",
                    "message"
                ]
            },
            "IsAmazonCuratedV1": {
                "nullable": true,
                "description": "If true, the inventory group was created by Amazon.",
                "type": "boolean"
            },
            "SortOrderV1": {
                "description": "The direction by which to sort the results.",
                "type": "string",
                "enum": [
                    "ASCENDING",
                    "DESCENDING"
                ]
            },
            "InventoryTypeFilter": {
                "type": "object",
                "properties": {
                    "include": {
                        "description": "Indicates whether results that match the filter value should be included or excluded from the response.",
                        "type": "boolean"
                    },
                    "field": {
                        "description": "Filters the inventory groups in the response by inventory type.",
                        "type": "string",
                        "enum": [
                            "INVENTORY_TYPE"
                        ]
                    },
                    "value": {
                        "$ref": "#/components/schemas/InventoryType"
                    }
                }
            },
            "UpdateInventoryGroupRequestV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/UpdateInventoryGroupObjectV1"
                    }
                ],
                "type": "object"
            },
            "InventoryGroupIdV1": {
                "minLength": 1,
                "description": "Unique ID of the inventory group.",
                "type": "string",
                "maxLength": 75
            },
            "PaginationRequestV1": {
                "type": "object",
                "properties": {
                    "maxResults": {
                        "default": "50",
                        "description": "Sets the maximum number of results in the response. Used in conjunction with `nextToken` to control pagination.",
                        "maximum": 100,
                        "type": "integer",
                        "minimum": 1
                    },
                    "nextToken": {
                        "description": "To retrieve the next page of paginated results, specify this token in the request.",
                        "type": "string"
                    }
                }
            },
            "InventoryGroupNameFilter": {
                "type": "object",
                "properties": {
                    "include": {
                        "description": "Indicates whether results that match the filter value should be included or excluded from the response.",
                        "type": "boolean"
                    },
                    "field": {
                        "description": "Filters the inventory groups in the response by name.",
                        "type": "string",
                        "enum": [
                            "INVENTORY_GROUP_NAME"
                        ]
                    },
                    "value": {
                        "description": "A list of values that the Inventory Group names will be matched against.",
                        "type": "string"
                    }
                }
            },
            "DspErrorV1": {
                "type": "object",
                "properties": {
                    "requestId": {
                        "type": "string"
                    },
                    "errors": {
                        "$ref": "#/components/schemas/DspErrorListV1"
                    }
                }
            },
            "PaginationResponseV1": {
                "type": "object",
                "properties": {
                    "totalResults": {
                        "description": "The total number of results across all pages.",
                        "type": "integer",
                        "minimum": 0
                    },
                    "nextToken": {
                        "description": "Used for pagination, a string that can be sent in the next request to get the next page of results.",
                        "type": "string"
                    }
                }
            },
            "InventoryGroupFilterField": {
                "type": "string",
                "enum": [
                    "INVENTORY_GROUP_NAME",
                    "INVENTORY_TYPE"
                ]
            },
            "MediaType": {
                "description": "Inventory group media type.",
                "type": "string",
                "enum": [
                    "DISPLAY",
                    "VIDEO",
                    "AUDIO"
                ]
            },
            "DealIdV1": {
                "type": "string"
            },
            "InventoryGroupNameV1": {
                "minLength": 1,
                "description": "The name of the inventory group.",
                "type": "string",
                "maxLength": 250
            },
            "InventoryType": {
                "description": "Inventory group's inventory type.  Note - DISPLAY is a new consolidated type that includes all display ad groups (STANDARD_DISPLAY, AAP_MOBILE_APP, AMAZON_MOBILE_DISPLAY). Do not use this type until we announce the launch of consolidation in our release notes.",
                "type": "string",
                "enum": [
                    "STANDARD_DISPLAY",
                    "AMAZON_MOBILE_DISPLAY",
                    "AAP_MOBILE_APP",
                    "DISPLAY",
                    "VIDEO"
                ]
            },
            "DspErrorListV1": {
                "type": "object",
                "properties": {
                    "errors": {
                        "minItems": 1,
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/DspSubErrorV1"
                        }
                    }
                }
            },
            "CreateInventoryGroupRequestV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/CreateInventoryGroupObjectV1"
                    }
                ],
                "type": "object"
            },
            "CreateInventoryGroupResponseV1": {
                "type": "object",
                "properties": {
                    "inventoryGroupId": {
                        "$ref": "#/components/schemas/InventoryGroupIdV1"
                    }
                }
            },
            "ListEligibleInventoryGroupsFilterObjectV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/BaseListInventoryGroupsFilterObjectV1"
                    }
                ],
                "type": "object",
                "properties": {
                    "inventoryTypeFilter": {
                        "minItems": 1,
                        "maxItems": 6,
                        "uniqueItems": true,
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InventoryTypeV1"
                        }
                    }
                },
                "required": [
                    "inventoryTypeFilter"
                ]
            },
            "PagingRequest": {
                "type": "object",
                "properties": {
                    "maxResults": {
                        "default": "1000",
                        "description": "Sets the maximum number of results in the response. Used in conjunction with `nextToken` to control pagination.",
                        "maximum": 1000,
                        "type": "integer",
                        "minimum": 0
                    },
                    "nextToken": {
                        "description": "Token from a previous request. Used in conjunction with the `pageSize` parameter to control pagination.",
                        "type": "string"
                    },
                    "pageSize": {
                        "description": "Sets the maximum number of results in the response. Used in conjunction with `nextToken` to control pagination.",
                        "maximum": 1000,
                        "type": "integer",
                        "minimum": 0
                    }
                }
            },
            "ListInventoryGroupsResponseV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginationResponseV1"
                    }
                ],
                "type": "object",
                "properties": {
                    "inventoryGroups": {
                        "minItems": 0,
                        "maxItems": 100,
                        "description": "The inventory groups returned.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ListInventoryGroupObjectV1"
                        }
                    }
                }
            },
            "ApiError": {
                "description": "The error response object.",
                "type": "object",
                "properties": {
                    "longRequestId": {
                        "description": "A value created by an Amazon Service that uniquely identifies your request.",
                        "type": "string"
                    },
                    "contextId": {
                        "description": "An identifier generated by Inventory Hub that is used for tracing workflows and triaging issues.",
                        "type": "string"
                    },
                    "message": {
                        "description": "A human-readable description of the response.",
                        "type": "string"
                    },
                    "shortRequestId": {
                        "description": "A value created by Amazon API Gateway that uniquely identifies your request.",
                        "type": "string"
                    },
                    "errors": {
                        "minItems": 0,
                        "maxItems": 1000,
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/FieldError"
                        }
                    }
                }
            },
            "ListInventoryGroupsRequestV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginationRequestV1"
                    },
                    {
                        "$ref": "#/components/schemas/ListInventoryGroupsSortObjectV1"
                    },
                    {
                        "$ref": "#/components/schemas/ListInventoryGroupsFilterObjectV1"
                    }
                ],
                "type": "object"
            },
            "DspSubErrorV1": {
                "type": "object",
                "properties": {
                    "errorMessage": {
                        "type": "string"
                    },
                    "errorCode": {
                        "type": "string"
                    },
                    "errorId": {
                        "type": "string"
                    }
                }
            },
            "BaseListInventoryGroupsFilterObjectV1": {
                "type": "object",
                "properties": {
                    "isAmazonCuratedFilter": {
                        "$ref": "#/components/schemas/IsAmazonCuratedV1"
                    },
                    "inventoryGroupIdFilter": {
                        "minItems": 0,
                        "maxItems": 100,
                        "uniqueItems": true,
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InventoryGroupIdV1"
                        }
                    },
                    "inventoryGroupNameFilter": {
                        "$ref": "#/components/schemas/InventoryGroupNameV1"
                    },
                    "inventoryTypeFilter": {
                        "minItems": 0,
                        "maxItems": 6,
                        "uniqueItems": true,
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InventoryTypeV1"
                        }
                    }
                }
            },
            "ListEligibleInventoryGroupsSortObjectV1": {
                "description": "Field by which to sort the results.",
                "type": "object",
                "properties": {
                    "sortOrder": {
                        "$ref": "#/components/schemas/SortOrderV1"
                    },
                    "sortField": {
                        "$ref": "#/components/schemas/ListEligibleInventoryGroupsSortFieldV1"
                    }
                }
            },
            "PagingRequestV2": {
                "type": "object",
                "properties": {
                    "maxResults": {
                        "default": "1000",
                        "description": "Sets the maximum number of results in the response. Used in conjunction with `nextToken` to control pagination.",
                        "maximum": 3500,
                        "type": "integer",
                        "minimum": 0
                    },
                    "nextToken": {
                        "description": "Token from a previous request. Used in conjunction with the `pageSize` parameter to control pagination.",
                        "type": "string"
                    }
                }
            },
            "ListInventoryGroupsSortObjectV1": {
                "description": "Field by which to sort the results.",
                "type": "object",
                "properties": {
                    "sortOrder": {
                        "$ref": "#/components/schemas/SortOrderV1"
                    },
                    "sortField": {
                        "$ref": "#/components/schemas/ListInventoryGroupsSortFieldV1"
                    }
                }
            },
            "ListEligibleInventoryGroupsSortFieldV1": {
                "description": "The field by which to sort the results. Defaults to `CREATION_DATE_TIME` if unspecified.",
                "type": "string",
                "enum": [
                    "INVENTORY_GROUP_ID",
                    "INVENTORY_GROUP_NAME",
                    "INVENTORY_TYPE",
                    "CREATION_DATE_TIME"
                ]
            },
            "UpdateInventoryGroupObjectV1": {
                "type": "object",
                "properties": {
                    "inventoryGroupName": {
                        "$ref": "#/components/schemas/InventoryGroupNameV1"
                    },
                    "inventoryGroupId": {
                        "$ref": "#/components/schemas/InventoryGroupIdV1"
                    },
                    "dealIds": {
                        "minItems": 0,
                        "maxItems": 100,
                        "description": "The IDs of the deals included in the inventory group.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/DealIdV1"
                        }
                    }
                }
            },
            "InventoryGroup": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/BaseInventoryGroup"
                    }
                ],
                "type": "object",
                "properties": {
                    "inventoryGroupId": {
                        "description": "Unique ID of the supply package.",
                        "type": "string"
                    },
                    "createDateTime": {
                        "format": "date-time",
                        "description": "The date and time the supply package was created.",
                        "type": "string"
                    }
                },
                "required": [
                    "inventoryGroupId",
                    "createDateTime"
                ]
            },
            "ListInventoryGroupsFilterObjectV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/BaseListInventoryGroupsFilterObjectV1"
                    }
                ],
                "type": "object",
                "properties": {
                    "inventoryTypeFilter": {
                        "minItems": 0,
                        "maxItems": 6,
                        "uniqueItems": true,
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/InventoryTypeV1"
                        }
                    }
                }
            },
            "BaseInventoryGroup": {
                "type": "object",
                "properties": {
                    "inventoryType": {
                        "$ref": "#/components/schemas/InventoryType"
                    },
                    "inventoryGroupName": {
                        "description": "The name of the supply package.",
                        "type": "string"
                    },
                    "dealIds": {
                        "minItems": 0,
                        "maxItems": 100,
                        "description": "The IDs of the deals included in the supply package.",
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "inventoryGroupName",
                    "dealIds",
                    "inventoryType"
                ]
            },
            "ListInventoryGroupObjectV1": {
                "type": "object",
                "properties": {
                    "inventoryType": {
                        "$ref": "#/components/schemas/InventoryTypeV1"
                    },
                    "inventoryGroupName": {
                        "$ref": "#/components/schemas/InventoryGroupNameV1"
                    },
                    "inventoryGroupId": {
                        "$ref": "#/components/schemas/InventoryGroupIdV1"
                    },
                    "dealIds": {
                        "minItems": 0,
                        "maxItems": 100,
                        "description": "The IDs of the deals included in the inventory group.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/DealIdV1"
                        }
                    },
                    "isAmazonCurated": {
                        "$ref": "#/components/schemas/IsAmazonCuratedV1"
                    },
                    "creationDateTime": {
                        "$ref": "#/components/schemas/DateTimeStringV1"
                    }
                },
                "required": [
                    "inventoryGroupId",
                    "inventoryGroupName",
                    "dealIds",
                    "creationDateTime"
                ]
            },
            "CreateInventoryGroupObjectV1": {
                "type": "object",
                "properties": {
                    "inventoryType": {
                        "$ref": "#/components/schemas/InventoryTypeV1"
                    },
                    "inventoryGroupName": {
                        "$ref": "#/components/schemas/InventoryGroupNameV1"
                    },
                    "dealIds": {
                        "minItems": 0,
                        "maxItems": 100,
                        "description": "The IDs of the deals included in the inventory group.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/DealIdV1"
                        }
                    }
                },
                "required": [
                    "inventoryGroupName",
                    "dealIds",
                    "inventoryType"
                ]
            },
            "ListEligibleInventoryGroupsRequestV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginationRequestV1"
                    },
                    {
                        "$ref": "#/components/schemas/ListEligibleInventoryGroupsSortObjectV1"
                    },
                    {
                        "$ref": "#/components/schemas/ListEligibleInventoryGroupsFilterObjectV1"
                    }
                ],
                "type": "object"
            },
            "ListEligibleInventoryGroupsResponseV1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaginationResponseV1"
                    }
                ],
                "type": "object",
                "properties": {
                    "inventoryGroups": {
                        "minItems": 0,
                        "maxItems": 100,
                        "description": "The inventory groups returned.",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ListInventoryGroupObjectV1"
                        }
                    }
                }
            },
            "InventoryGroupSortingRequest": {
                "description": "Field by which to sort the results.",
                "type": "object",
                "properties": {
                    "sortOrder": {
                        "$ref": "#/components/schemas/SortOrder"
                    },
                    "sortField": {
                        "$ref": "#/components/schemas/ListInventoryGroupSortField"
                    }
                }
            },
            "SortOrder": {
                "description": "The direction by which to sort the results, either 'ASCENDING' or 'DESCENDING'.",
                "type": "string",
                "enum": [
                    "ASCENDING",
                    "DESCENDING"
                ]
            },
            "InventoryGroupFilter": {
                "type": "object",
                "properties": {
                    "include": {
                        "type": "boolean"
                    },
                    "field": {
                        "$ref": "#/components/schemas/InventoryGroupFilterField"
                    },
                    "value": {
                        "type": "string"
                    }
                }
            },
            "PagingResponse": {
                "type": "object",
                "properties": {
                    "totalResults": {
                        "description": "The total number of results across all pages.",
                        "type": "integer"
                    },
                    "maxResults": {
                        "default": "1000",
                        "description": "Represents the maximum number of results in the response. Used in conjunction with `nextToken` to control pagination.",
                        "maximum": 1000,
                        "type": "integer",
                        "minimum": 0
                    },
                    "nextToken": {
                        "description": "Used for pagination, a string that can be sent in the next request to get the next page of results.",
                        "type": "string"
                    }
                }
            },
            "InventoryGroupFilters": {
                "minItems": 0,
                "maxItems": 2,
                "description": "A list of filters that can be applied to the result set.",
                "type": "array",
                "items": {
                    "oneOf": [
                        {
                            "$ref": "#/components/schemas/InventoryGroupNameFilter"
                        },
                        {
                            "$ref": "#/components/schemas/InventoryTypeFilter"
                        }
                    ]
                }
            },
            "InventoryTypeV1": {
                "description": "Inventory group inventory type.",
                "type": "string",
                "enum": [
                    "AUDIO",
                    "DISPLAY",
                    "VIDEO"
                ]
            }
        },
        "requestBodies": {},
        "responses": {
            "DspConflictExceptionV1": {
                "description": "Conflict with the current state of the target resource.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspUnauthorizedExceptionV1": {
                "description": "Unauthenticated request.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspTooManyRequestsExceptionV1": {
                "description": "Too Many Requests.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspBadRequestExceptionV1": {
                "description": "Bad Request.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspForbiddenExceptionV1": {
                "description": "Forbidden.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspNotFoundExceptionV1": {
                "description": "Resource Not Found.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspServiceUnavailableExceptionV1": {
                "description": "Service Unavailable.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspUnsupportedMediaTypeExceptionV1": {
                "description": "Unsupported Media Type.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            },
            "DspInternalServerExceptionV1": {
                "description": "Internal Service Failure.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/DspErrorV1"
                        }
                    }
                }
            }
        },
        "callbacks": {},
        "links": {},
        "securitySchemes": {},
        "parameters": {
            "clientHeader": {
                "schema": {
                    "type": "string"
                },
                "in": "header",
                "name": "Amazon-Advertising-API-ClientId",
                "description": "The identifier of a client associated with a &quot;Login with Amazon&quot; account.",
                "required": true
            },
            "accountHeader": {
                "schema": {
                    "description": "Account identifier you use to access the DSP. This is your Amazon DSP Advertiser ID.",
                    "type": "string"
                },
                "in": "header",
                "name": "Amazon-Ads-AccountId",
                "description": "Account identifier you use to access the DSP. This is your Amazon DSP Advertiser ID.",
                "required": true
            },
            "profileHeader": {
                "schema": {
                    "type": "string"
                },
                "in": "header",
                "name": "Amazon-Advertising-API-Scope",
                "description": "The identifier of a profile associated with the advertiser account. Use `GET` method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header and choose profile id `profileId` from the response to pass it as input.",
                "required": false
            }
        }
    },
    "openapi": "3.0.1"
}
