{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/findyourrolefirst-click/json-schema/findyourrolefirst-click-checkout-consent-schema.json",
  "title": "CheckoutConsent",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/findyourrolefirst-click-openapi.json#/components/schemas/CheckoutConsent",
  "properties": {
    "accepted": {
      "type": "boolean",
      "title": "Accepted"
    },
    "terms_version": {
      "type": "string",
      "maxLength": 30,
      "minLength": 1,
      "title": "Terms Version"
    },
    "code": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40,
          "minLength": 3,
          "pattern": "^[A-Za-z0-9_-]+$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Code"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "accepted",
    "terms_version"
  ]
}