{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fairvalid-com/json-schema/fairvalid-com-results-schema.json",
  "title": "Results",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fairvalid-com-openapi.json#/components/schemas/Results",
  "type": "object",
  "required": [
    "version",
    "brand",
    "mode",
    "job_id",
    "items",
    "matching_count",
    "next_cursor"
  ],
  "properties": {
    "version": {
      "const": "v1"
    },
    "brand": {
      "const": "FairValid"
    },
    "mode": {
      "type": "string",
      "enum": [
        "live",
        "sandbox"
      ]
    },
    "job_id": {
      "type": "string",
      "format": "uuid"
    },
    "items": {
      "type": "array",
      "maxItems": 50,
      "items": {
        "type": "object",
        "required": [
          "email",
          "result"
        ],
        "properties": {
          "email": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "credit_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "checked_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        }
      }
    },
    "matching_count": {
      "type": "integer"
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}