{
  "openapi": "3.1.0",
  "info": {
    "title": "Care Tag Lab public guide data",
    "version": "1.0.0",
    "description": "Read-only static JSON files. No login, photo upload, messaging or purchase operations."
  },
  "servers": [
    {
      "url": "https://caretaglab.com"
    }
  ],
  "paths": {
    "/api/v1/stains.json": {
      "get": {
        "operationId": "listStainGuides",
        "summary": "List source-linked stain guide records",
        "responses": {
          "200": {
            "description": "Stain catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/stains/{id}.json": {
      "get": {
        "operationId": "getStainGuide",
        "summary": "Read a guide by an exact catalog ID",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "acne-cream-spots-benzoyl-peroxide",
                "acrylic-paint",
                "animal-blood",
                "antifreeze-and-coolant",
                "antiperspirant-buildup",
                "avocado-and-guacamole",
                "axle-and-bearing-grease",
                "baby-oil-and-lotion",
                "ballpoint-ink",
                "banana",
                "barbecue-sauce",
                "baseball-pants-mud-and-grass",
                "battery-acid",
                "beer",
                "berries",
                "bike-chain-grease",
                "bird-droppings",
                "bleach-spots",
                "bleed-from-new-jeans",
                "blood-from-scrapes",
                "body-spray-and-perfume",
                "breast-milk",
                "bug-splatter",
                "bug-spray-with-deet",
                "butter",
                "campfire-smoke-and-soot",
                "candle-soot-on-curtains",
                "candle-wax",
                "candle-wax-on-a-rug",
                "chainsaw-bar-oil",
                "cheese-sauce-and-orange-snack-dust",
                "chewing-gum",
                "chocolate",
                "coffee",
                "coffee-on-carpet",
                "coffee-with-milk",
                "cola-and-soda",
                "cooking-oil",
                "crayon",
                "crayon-through-the-dryer",
                "curry-and-turmeric",
                "deodorant-white-marks",
                "diaper-blowout",
                "diaper-cream",
                "diesel",
                "dye-transfer-pink-load",
                "egg",
                "energy-drinks",
                "eyeliner-and-eyeshadow",
                "fabric-softener-spots",
                "fast-food-grease",
                "football-field-paint-and-turf",
                "formula",
                "foundation",
                "frosting-and-food-colouring",
                "fruit-punch-and-sports-drinks",
                "fruit-puree",
                "gasoline",
                "gel-and-fountain-pen-ink",
                "glitter-glue",
                "grain-dust",
                "grape-juice",
                "grass-from-mowing",
                "grass-on-the-knees",
                "gravy",
                "green-veggie-puree",
                "hair-dye",
                "hair-gel-and-styling-products",
                "hard-cider-and-cocktails",
                "hot-chips-and-chili-powder",
                "human-vomit",
                "hydraulic-oil",
                "ice-cream",
                "iodine-and-teat-dip",
                "iron-scorch",
                "jam-and-jelly",
                "juice",
                "juice-box-straw-squirt",
                "ketchup",
                "kids-sunscreen",
                "latex-house-paint",
                "lipstick",
                "lipstick-on-a-collar",
                "liquid-medicine-pink-red-purple",
                "livestock-marking-crayon",
                "makeup-on-a-pillowcase",
                "manure",
                "mascara",
                "meconium",
                "mildew-on-towels",
                "motor-oil-and-grease",
                "mud",
                "muddy-paw-prints",
                "mustard",
                "musty-towels",
                "nail-polish",
                "nosebleed-on-a-pillowcase",
                "oil-paint-and-wood-stain",
                "orange-veggie-puree",
                "peanut-butter",
                "pen-through-the-wash",
                "pencil-and-graphite",
                "period-stains",
                "period-stains-on-sheets",
                "permanent-marker",
                "pesticide-and-herbicide-residue",
                "pet-poop-accidents",
                "pet-urine-on-carpet",
                "pet-urine-on-fabric",
                "pet-vomit-and-hairballs",
                "pizza-grease",
                "play-dough",
                "pollen",
                "popsicle",
                "red-clay-and-iron-rich-mud",
                "red-wine",
                "red-wine-on-a-couch",
                "ring-around-the-collar",
                "road-tar",
                "rust",
                "salad-dressing",
                "school-glue",
                "self-tanner",
                "shaving-nick-blood",
                "shoe-polish",
                "sidewalk-chalk",
                "silage-and-hay",
                "slime",
                "slushie",
                "snot-and-boogers",
                "soy-sauce",
                "spit-up",
                "sunscreen-on-towels",
                "sweat-on-a-ball-cap",
                "sweaty-gym-clothes-odour",
                "syrup-and-honey",
                "tea",
                "tomato-sauce",
                "tree-sap-and-pine-pitch",
                "urine-on-a-mattress",
                "vitamin-and-iron-drops",
                "washable-marker",
                "washable-paint",
                "washer-mildew-flecks",
                "water-rings-on-silk",
                "well-water-iron-orange-laundry",
                "white-wine",
                "yellow-armpit-stains",
                "yellowing-in-drawers"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Instructions with safety and original sources",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "No guide with that ID"
          }
        }
      }
    },
    "/api/v1/offers.json": {
      "get": {
        "operationId": "listDigitalKits",
        "summary": "Read current one-time digital offers and verified card-maker capabilities",
        "responses": {
          "200": {
            "description": "Offer catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "schema_version": {
                      "type": "string"
                    },
                    "free_demo_url": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uri"
                    },
                    "offers": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/DigitalOffer"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CardMakerSummary": {
        "type": "object",
        "additionalProperties": false,
        "description": "Actual public capabilities and collection counts; not customer-demand validation. No private download URL or source filename is exposed.",
        "properties": {
          "selections": {
            "type": "integer",
            "minimum": 1
          },
          "reviewed_entries": {
            "type": "integer",
            "minimum": 0
          },
          "stop_guides": {
            "type": "integer",
            "minimum": 0
          },
          "starter_count": {
            "type": "integer",
            "enum": [
              3,
              16
            ]
          },
          "kind": {
            "type": "string"
          },
          "default_layout": {
            "type": "string"
          },
          "persistence": {
            "type": "string"
          },
          "demo_url": {
            "type": "string",
            "format": "uri"
          },
          "offline_use": {
            "type": "string"
          },
          "optional_full_source_plans": {
            "type": "boolean"
          },
          "includes_focused_stain_entries": {
            "type": "boolean"
          }
        }
      },
      "DigitalOffer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "price_usd": {
            "type": "number",
            "minimum": 0
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "available": {
            "type": "boolean"
          },
          "billing": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "card_maker": {
            "$ref": "#/components/schemas/CardMakerSummary"
          }
        }
      }
    }
  }
}
