{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentlayer-com/json-schema/consentlayer-com-post-sites-id-scan-response-schema.json",
  "title": "PostSitesIdScanResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/consentlayer-com-openapi-generated.yml#/components/schemas/PostSitesIdScanResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Scan ID (UUID)"
    },
    "siteId": {
      "type": "string",
      "description": "Parent site ID"
    },
    "url": {
      "type": "string",
      "description": "The URL that was scanned"
    },
    "status": {
      "type": "string",
      "description": "Scan status: pending , running , completed , or failed"
    },
    "detectedServices": {
      "type": "array",
      "description": "Services found (populated when completed)"
    },
    "unrecognizedScripts": {
      "type": "array",
      "description": "Unknown scripts for manual review"
    },
    "errorMessage": {
      "type": "string",
      "description": "Error details if scan failed"
    },
    "createdAt": {
      "type": "string",
      "description": "ISO 8601 timestamp"
    }
  }
}