{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/datagalactica-com/json-schema/datagalactica-com-verification-schema.json",
  "title": "Verification",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/datagalactica-com-api-openapi.json#/components/schemas/Verification",
  "type": "object",
  "properties": {
    "verdict": {
      "type": "string",
      "enum": [
        "match",
        "possible_match",
        "no_match",
        "not_found"
      ]
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "operating": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Organisations: true operating, false closed, null unknown"
    },
    "match": {
      "type": [
        "object",
        "null"
      ],
      "description": "The best record (brief): id, name, url, status, quality, place, identifiers"
    },
    "checks": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "given": {
            "type": "string"
          },
          "found": {
            "type": [
              "string",
              "null"
            ]
          },
          "ok": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "null: the record has no value to check against"
          },
          "score": {
            "type": "number"
          }
        }
      }
    },
    "candidates": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "note": {
      "type": "string"
    }
  }
}