{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firmoscop-ro/json-schema/firmoscop-ro-verify-report-schema.json",
  "title": "VerifyReport",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/firmoscop-ro-api-openapi.json#/components/schemas/VerifyReport",
  "type": "object",
  "properties": {
    "cui": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "verde",
        "galben",
        "rosu"
      ]
    },
    "recommendation": {
      "type": "string"
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "severity": {
            "type": "string",
            "enum": [
              "critical",
              "warning",
              "info",
              "positive"
            ]
          },
          "label": {
            "type": "string"
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string",
            "description": "sursa oficială"
          },
          "date": {
            "type": [
              "string",
              "null"
            ],
            "description": "data semnalului"
          }
        }
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Ce surse au răspuns și cu ce dată."
    },
    "artifactUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Raport uman partajabil."
    },
    "creditsRemaining": {
      "type": "integer"
    }
  }
}