Get albums response

Back to Get albums

Schema

{
    "type": "object",
    "properties": {
        "items": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "albumId": {
                        "type": "string",
                        "nullable": false
                    },
                    "name": {
                        "type": "string",
                        "nullable": false
                    },
                    "creditName": {
                        "type": "string",
                        "nullable": false
                    },
                    "genres": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "name": {
                                    "type": "string",
                                    "nullable": false
                                }
                            },
                            "required": [
                                "name"
                            ]
                        }
                    },
                    "artists": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "artistId": {
                                    "type": "string",
                                    "nullable": false
                                },
                                "name": {
                                    "type": "string",
                                    "nullable": false
                                },
                                "imageUrl": {
                                    "type": "string",
                                    "nullable": false
                                },
                                "webUrl": {
                                    "type": "string",
                                    "nullable": false
                                }
                            },
                            "required": [
                                "artistId",
                                "name"
                            ]
                        }
                    },
                    "upc": {
                        "type": "string",
                        "nullable": false
                    },
                    "releaseDate": {
                        "type": "string",
                        "nullable": false
                    },
                    "totalTracks": {
                        "type": "integer",
                        "nullable": false
                    },
                    "distributor": {
                        "type": "string",
                        "nullable": false
                    },
                    "labels": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {},
                            "required": []
                        }
                    },
                    "generatedWithAi": {
                        "type": "boolean",
                        "nullable": false
                    }
                },
                "required": [
                    "albumId",
                    "name",
                    "creditName",
                    "genres",
                    "releaseDate"
                ]
            }
        },
        "page": {
            "type": "object",
            "properties": {
                "offset": {
                    "type": "integer",
                    "nullable": false
                },
                "limit": {
                    "type": "integer",
                    "nullable": false
                },
                "total": {
                    "type": "integer",
                    "nullable": false
                }
            },
            "required": [
                "offset",
                "limit"
            ]
        },
        "error": {
            "type": "string"
        }
    }
}