{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fastaf/main/json-schema/fastaf-request-log-entry-schema.json",
  "title": "RequestLogEntry",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fastaf-openapi.json#/components/schemas/RequestLogEntry",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "endpoint",
    "status",
    "credits",
    "duration_ms",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "endpoint": {
      "type": "string",
      "enum": [
        "serp",
        "maps",
        "amazon",
        "linkedin",
        "youtube",
        "scrape",
        "news",
        "shopping",
        "scholar",
        "jobs",
        "ai",
        "walmart",
        "zillow",
        "ebay",
        "x",
        "screenshot"
      ]
    },
    "status": {
      "type": "integer"
    },
    "credits": {
      "type": "integer",
      "minimum": 0
    },
    "duration_ms": {
      "type": "integer",
      "minimum": 0
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}