{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniffy-com/json-schema/geniffy-com-partners-response-schema.json",
  "title": "PartnersResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geniffy-com-admin-api-openapi.yml#/components/schemas/PartnersResponse",
  "properties": {
    "count": {
      "type": "integer",
      "title": "Count"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/PartnerRow"
      },
      "type": "array",
      "title": "Results"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Generated At"
    }
  },
  "type": "object",
  "required": [
    "count",
    "results",
    "generated_at"
  ],
  "$defs": {
    "PartnerRow": {
      "properties": {
        "code": {
          "type": "string",
          "title": "Code"
        },
        "partner_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Partner Name"
        },
        "partner_email": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Partner Email"
        },
        "is_active": {
          "type": "boolean",
          "title": "Is Active"
        },
        "clicks": {
          "type": "integer",
          "title": "Clicks"
        },
        "signups": {
          "type": "integer",
          "title": "Signups"
        },
        "last_signup_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Signup At"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "code",
        "is_active",
        "clicks",
        "signups"
      ],
      "title": "PartnerRow"
    }
  }
}