{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thanks-io/json-schema/thanks-io-giftcard-group-list-schema.json",
  "title": "giftcard-group-list",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thanks-io-giftcards-api-openapi.yml#/components/schemas/giftcard-group-list",
  "type": "object",
  "properties": {
    "brands": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "brand_code": {
            "type": "string",
            "description": "Code to send to the API to use this brand"
          },
          "title": {
            "type": "string",
            "description": "Giftcard Brand Title to display to users"
          },
          "image": {
            "type": "string",
            "description": "Image URL for the brand to display to users"
          },
          "available_amounts": {
            "type": "array",
            "description": "Available amounts for this brand in cents",
            "items": {
              "type": "integer"
            }
          },
          "group": {
            "type": "string",
            "description": "Giftcard Brand Grouping Title"
          }
        }
      }
    }
  }
}