{
  "openapi": "3.1.0",
  "info": {
    "title": "GTA6Cronus Bandit Catalog",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://gta6cronus.com"
    }
  ],
  "paths": {
    "/api/v1/catalog.json": {
      "get": {
        "summary": "List products",
        "responses": {
          "200": {
            "description": "Public metadata",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "version",
                    "products"
                  ],
                  "properties": {
                    "version": {
                      "type": "string"
                    },
                    "products": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Bandit"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/catalog/bandit.json": {
      "get": {
        "summary": "Get Bandit",
        "responses": {
          "200": {
            "description": "Public metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Bandit"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Bandit": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publisher": {
            "type": "string"
          },
          "game": {
            "type": "string"
          },
          "hardware": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "price": {
            "type": "object",
            "properties": {
              "amount": {
                "type": "integer"
              },
              "currency": {
                "type": "string"
              },
              "billing": {
                "type": "string"
              }
            },
            "required": [
              "amount",
              "currency",
              "billing"
            ]
          },
          "fileName": {
            "type": "string"
          },
          "settingsLocation": {
            "type": "string"
          },
          "asOf": {
            "type": "string"
          },
          "mods": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "number": {
                  "type": "integer"
                },
                "menu": {
                  "type": "string"
                },
                "editable": {
                  "type": "boolean"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [
                "number",
                "menu",
                "editable",
                "description"
              ]
            }
          },
          "guides": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "slug",
          "name",
          "publisher",
          "game",
          "hardware",
          "url",
          "price",
          "fileName",
          "settingsLocation",
          "asOf",
          "mods",
          "guides"
        ]
      }
    }
  }
}
