changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "checks": {
- "additionalProperties": false,
- "properties": {
- "addressConsistency": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "type": "string"
- },
- "status": {
- "enum": [
- "pass",
- "partial",
- "conflict",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "explanation"
- ],
- "type": "object"
- },
- "businessActivity": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "type": "string"
- },
- "requiredCategories": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "pass",
- "partial",
- "fail",
- "unknown"
- ],
- "type": "string"
- },
- "supplierCategories": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "status",
- "explanation",
- "requiredCategories",
- "supplierCategories"
- ],
- "type": "object"
- },
- "companyIdentity": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "corroborations": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "explanation": {
- "type": "string"
- },
- "status": {
- "enum": [
- "pass",
- "partial",
- "fail",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "confidence",
- "explanation",
- "corroborations"
- ],
- "type": "object"
- },
- "contactConsistency": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "type": "string"
- },
- "status": {
- "enum": [
- "pass",
- "partial",
- "fail",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "explanation"
- ],
- "type": "object"
- },
- "publicRisk": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "type": "string"
- },
- "signals": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "type": "string"
- },
- "evidenceTier": {
- "enum": [
- "public_allegation",
- "automated_indicator"
- ],
- "type": "string"
- },
- "sourceTitle": {
- "type": [
- "string",
- "null"
- ]
- },
- "sourceUrl": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "enum": [
- "public_web_mention",
- "possible_impersonation",
- "contradictory_business_identity"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "description",
- "evidenceTier",
- "sourceUrl",
- "sourceTitle"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "clear",
- "signal_detected",
- "not_checked",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "signals",
- "explanation"
- ],
- "type": "object"
- },
- "sanctions": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "type": "string"
- },
- "listsChecked": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "listsUnavailable": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "matches": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "matchScore": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "matchType": {
- "enum": [
- "exact_normalized_name",
- "fuzzy_name"
- ],
- "type": "string"
- },
- "matchedAlias": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "reference": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- },
- "sourceUrl": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "matchedAlias",
- "source",
- "reference",
- "sourceUrl",
- "matchScore",
- "matchType",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "clear",
- "potential_match",
- "not_checked",
- "unavailable"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "matches",
- "listsChecked",
- "listsUnavailable",
- "explanation"
- ],
- "type": "object"
- },
- "website": {
- "additionalProperties": false,
- "properties": {
- "explanation": {
- "type": "string"
- },
- "signals": {
- "additionalProperties": false,
- "properties": {
- "companyNameOnWebsite": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "corporateEmailOnWebsite": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "domainMatchesCompanyName": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "domainMatchesRegistry": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "https": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "phoneOnWebsite": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "physicalAddressOnWebsite": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "redirectedToDifferentDomain": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "websiteExists": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "websiteExists",
- "https",
- "domainMatchesCompanyName",
- "domainMatchesRegistry",
- "companyNameOnWebsite",
- "corporateEmailOnWebsite",
- "phoneOnWebsite",
- "physicalAddressOnWebsite",
- "redirectedToDifferentDomain"
- ],
- "type": "object"
- },
- "status": {
- "enum": [
- "pass",
- "partial",
- "fail",
- "unknown"
- ],
- "type": "string"
- },
- "url": {
- "type": [
- "string",
- "null"
- ]
- },
- "urlSource": {
- "anyOf": [
- {
- "enum": [
- "supplied",
- "registry"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "status",
- "explanation",
- "url",
- "urlSource",
- "signals"
- ],
- "type": "object"
- }
- },
- "required": [
- "companyIdentity",
- "website",
- "businessActivity",
- "contactConsistency",
- "addressConsistency",
- "sanctions",
- "publicRisk"
- ],
- "type": "object"
- },
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "dataCoverage": {
- "additionalProperties": false,
- "properties": {
- "demoDataOnly": {
- "type": "boolean"
- },
- "liveChecksPerformed": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "registryMatch": {
- "type": "boolean"
- },
- "unavailableSources": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "registryMatch",
- "demoDataOnly",
- "liveChecksPerformed",
- "unavailableSources"
- ],
- "type": "object"
- },
- "limitations": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "normalizedInput": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": [
- "string",
- "null"
- ]
- },
- "companyName": {
- "type": "string"
- },
- "crNumber": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "emailDomain": {
- "type": [
- "string",
- "null"
- ]
- },
- "freeEmailProvider": {
- "type": "boolean"
- },
- "nameVariants": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "normalizedName": {
- "type": "string"
- },
- "phone": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "e164": {
- "type": [
- "string",
- "null"
- ]
- },
- "isOman": {
- "type": "boolean"
- },
- "lineType": {
- "enum": [
- "mobile",
- "landline",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "e164",
- "isOman",
- "lineType"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requiredProductOrService": {
- "type": [
- "string",
- "null"
- ]
- },
- "website": {
- "type": [
- "string",
- "null"
- ]
- },
- "websiteDomain": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "companyName",
- "normalizedName",
- "nameVariants",
- "crNumber",
- "website",
- "websiteDomain",
- "email",
- "emailDomain",
- "freeEmailProvider",
- "phone",
- "address",
- "requiredProductOrService"
- ],
- "type": "object"
- },
- "riskFlags": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "ACTIVITY_MISMATCH",
- "IDENTITY_NOT_CONFIRMED",
- "CR_NUMBER_CONFLICT",
- "COMPANY_NAME_MISMATCH",
- "REGISTRY_IDENTITY_CONFLICT",
- "SUPPLIER_STATUS_NOT_ACTIVE",
- "EMAIL_DOMAIN_MISMATCH",
- "FREE_EMAIL_PROVIDER",
- "WEBSITE_IDENTITY_CONFLICT",
- "WEBSITE_UNREACHABLE",
- "WEBSITE_NO_HTTPS",
- "PHONE_MISMATCH",
- "PHONE_NOT_OMAN",
- "ADDRESS_MISMATCH",
- "ADDRESS_OUTSIDE_OMAN",
- "POTENTIAL_SANCTIONS_MATCH",
- "PUBLIC_RISK_SIGNAL",
- "LOOKALIKE_DOMAIN",
- "DEMO_DATA_ONLY",
- "INSUFFICIENT_PUBLIC_DATA",
- "SOURCE_UNAVAILABLE"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "severity": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "severity",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "riskModel": {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "factor": {
- "type": "string"
- },
- "points": {
- "type": "number"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "factor",
- "points",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "score": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "thresholds": {
- "additionalProperties": false,
- "properties": {
- "high": {
- "type": "number"
- },
- "medium": {
- "type": "number"
- }
- },
- "required": [
- "medium",
- "high"
- ],
- "type": "object"
- }
- },
- "required": [
- "score",
- "thresholds",
- "components"
- ],
- "type": "object"
- },
- "screeningResult": {
- "additionalProperties": false,
- "properties": {
- "activityMatch": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "identityConfirmed": {
- "type": "boolean"
- },
- "procurementSuitability": {
- "enum": [
- "appears_suitable",
- "review_recommended",
- "insufficient_information",
- "potential_risk"
- ],
- "type": "string"
- },
- "risk": {
- "enum": [
- "low",
- "medium",
- "high",
- "insufficient_data"
- ],
- "type": "string"
- },
- "riskScore": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "risk",
- "riskScore",
- "procurementSuitability",
- "identityConfirmed",
- "activityMatch",
- "summary"
- ],
- "type": "object"
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "checkedAt": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "observedAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "enum": [
- "company_registry",
- "company_directory",
- "demo_dataset",
- "company_website",
- "sanctions_list",
- "public_web",
- "derived_consistency_check"
- ],
- "type": "string"
- },
- "url": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "type",
- "name",
- "url",
- "checkedAt",
- "observedAt"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "supplier": {
- "additionalProperties": false,
- "properties": {
- "companyId": {
- "type": [
- "string",
- "null"
- ]
- },
- "country": {
- "const": "OM",
- "type": "string"
- },
- "crNumber": {
- "type": [
- "string",
- "null"
- ]
- },
- "crNumberSupplied": {
- "type": [
- "string",
- "null"
- ]
- },
- "identityMatch": {
- "enum": [
- "strong",
- "moderate",
- "weak",
- "unconfirmed"
- ],
- "type": "string"
- },
- "inputName": {
- "type": "string"
- },
- "matchedName": {
- "type": [
- "string",
- "null"
- ]
- },
- "matchedNameAr": {
- "type": [
- "string",
- "null"
- ]
- },
- "normalizedName": {
- "type": "string"
- }
- },
- "required": [
- "inputName",
- "normalizedName",
- "matchedName",
- "matchedNameAr",
- "companyId",
- "crNumber",
- "crNumberSupplied",
- "country",
- "identityMatch"
- ],
- "type": "object"
- }
- },
- "required": [
- "supplier",
- "screeningResult",
- "checks",
- "riskFlags",
- "riskModel",
- "normalizedInput",
- "sources",
- "dataCoverage",
- "confidence",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "nextAction": {
- "additionalProperties": false,
- "properties": {
- "instruction": {
- "type": "string"
- },
- "target": {
- "const": "x402_endpoint",
- "type": "string"
- },
- "type": {
- "const": "pay_and_retry",
- "type": "string"
- }
- },
- "required": [
- "type",
- "target",
- "instruction"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "endpoint": {
- "type": "string"
- },
- "method": {
- "const": "POST",
- "type": "string"
- },
- "retrySameBody": {
- "const": true,
- "type": "boolean"
- }
- },
- "required": [
- "endpoint",
- "method",
- "retrySameBody"
- ],
- "type": "object"
- },
- "preview": {
- "additionalProperties": false,
- "properties": {
- "fullResultAvailable": {
- "const": true,
- "type": "boolean"
- },
- "inputAccepted": {
- "const": true,
- "type": "boolean"
- },
- "summary": {
- "type": "string"
- },
- "useCases": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "inputAccepted",
- "fullResultAvailable",
- "summary",
- "useCases"
- ],
- "type": "object"
- },
- "price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "protocol": {
- "const": "x402",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency",
- "protocol"
- ],
- "type": "object"
- },
- "requestId": {
- "type": "string"
- },
- "status": {
- "const": "payment_required",
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "tool",
- "requestId",
- "price",
- "preview",
- "payment",
- "nextAction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "checks": {
+ "additionalProperties": false,
+ "properties": {
+ "addressConsistency": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pass",
+ "partial",
+ "conflict",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "explanation"
+ ],
+ "type": "object"
+ },
+ "businessActivity": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "type": "string"
+ },
+ "requiredCategories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "pass",
+ "partial",
+ "fail",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "supplierCategories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "status",
+ "explanation",
+ "requiredCategories",
+ "supplierCategories"
+ ],
+ "type": "object"
+ },
+ "companyIdentity": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "corroborations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "explanation": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pass",
+ "partial",
+ "fail",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "confidence",
+ "explanation",
+ "corroborations"
+ ],
+ "type": "object"
+ },
+ "contactConsistency": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pass",
+ "partial",
+ "fail",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "explanation"
+ ],
+ "type": "object"
+ },
+ "publicRisk": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "type": "string"
+ },
+ "signals": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "evidenceTier": {
+ "enum": [
+ "public_allegation",
+ "automated_indicator"
+ ],
+ "type": "string"
+ },
+ "sourceTitle": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sourceUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "public_web_mention",
+ "possible_impersonation",
+ "contradictory_business_identity"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "description",
+ "evidenceTier",
+ "sourceUrl",
+ "sourceTitle"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "clear",
+ "signal_detected",
+ "not_checked",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "signals",
+ "explanation"
+ ],
+ "type": "object"
+ },
+ "sanctions": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "type": "string"
+ },
+ "listsChecked": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "listsUnavailable": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matches": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "matchScore": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "matchType": {
+ "enum": [
+ "exact_normalized_name",
+ "fuzzy_name"
+ ],
+ "type": "string"
+ },
+ "matchedAlias": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "reference": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "sourceUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "matchedAlias",
+ "source",
+ "reference",
+ "sourceUrl",
+ "matchScore",
+ "matchType",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "clear",
+ "potential_match",
+ "not_checked",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "matches",
+ "listsChecked",
+ "listsUnavailable",
+ "explanation"
+ ],
+ "type": "object"
+ },
+ "website": {
+ "additionalProperties": false,
+ "properties": {
+ "explanation": {
+ "type": "string"
+ },
+ "signals": {
+ "additionalProperties": false,
+ "properties": {
+ "companyNameOnWebsite": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "corporateEmailOnWebsite": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "domainMatchesCompanyName": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "domainMatchesRegistry": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "https": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "phoneOnWebsite": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "physicalAddressOnWebsite": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "redirectedToDifferentDomain": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "websiteExists": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "websiteExists",
+ "https",
+ "domainMatchesCompanyName",
+ "domainMatchesRegistry",
+ "companyNameOnWebsite",
+ "corporateEmailOnWebsite",
+ "phoneOnWebsite",
+ "physicalAddressOnWebsite",
+ "redirectedToDifferentDomain"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "pass",
+ "partial",
+ "fail",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "urlSource": {
+ "anyOf": [
+ {
+ "enum": [
+ "supplied",
+ "registry"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "explanation",
+ "url",
+ "urlSource",
+ "signals"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "companyIdentity",
+ "website",
+ "businessActivity",
+ "contactConsistency",
+ "addressConsistency",
+ "sanctions",
+ "publicRisk"
+ ],
+ "type": "object"
+ },
+ "confidence": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "dataCoverage": {
+ "additionalProperties": false,
+ "properties": {
+ "demoDataOnly": {
+ "type": "boolean"
+ },
+ "liveChecksPerformed": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "registryMatch": {
+ "type": "boolean"
+ },
+ "unavailableSources": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "registryMatch",
+ "demoDataOnly",
+ "liveChecksPerformed",
+ "unavailableSources"
+ ],
+ "type": "object"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "normalizedInput": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "companyName": {
+ "type": "string"
+ },
+ "crNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "emailDomain": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "freeEmailProvider": {
+ "type": "boolean"
+ },
+ "nameVariants": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "normalizedName": {
+ "type": "string"
+ },
+ "phone": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "e164": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isOman": {
+ "type": "boolean"
+ },
+ "lineType": {
+ "enum": [
+ "mobile",
+ "landline",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "e164",
+ "isOman",
+ "lineType"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requiredProductOrService": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "website": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "websiteDomain": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "companyName",
+ "normalizedName",
+ "nameVariants",
+ "crNumber",
+ "website",
+ "websiteDomain",
+ "email",
+ "emailDomain",
+ "freeEmailProvider",
+ "phone",
+ "address",
+ "requiredProductOrService"
+ ],
+ "type": "object"
+ },
+ "riskFlags": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "ACTIVITY_MISMATCH",
+ "IDENTITY_NOT_CONFIRMED",
+ "CR_NUMBER_CONFLICT",
+ "COMPANY_NAME_MISMATCH",
+ "REGISTRY_IDENTITY_CONFLICT",
+ "SUPPLIER_STATUS_NOT_ACTIVE",
+ "EMAIL_DOMAIN_MISMATCH",
+ "FREE_EMAIL_PROVIDER",
+ "WEBSITE_IDENTITY_CONFLICT",
+ "WEBSITE_UNREACHABLE",
+ "WEBSITE_NO_HTTPS",
+ "PHONE_MISMATCH",
+ "PHONE_NOT_OMAN",
+ "ADDRESS_MISMATCH",
+ "ADDRESS_OUTSIDE_OMAN",
+ "POTENTIAL_SANCTIONS_MATCH",
+ "PUBLIC_RISK_SIGNAL",
+ "LOOKALIKE_DOMAIN",
+ "DEMO_DATA_ONLY",
+ "INSUFFICIENT_PUBLIC_DATA",
+ "SOURCE_UNAVAILABLE"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "severity",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "riskModel": {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "factor": {
+ "type": "string"
+ },
+ "points": {
+ "type": "number"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "factor",
+ "points",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "score": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "thresholds": {
+ "additionalProperties": false,
+ "properties": {
+ "high": {
+ "type": "number"
+ },
+ "medium": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "medium",
+ "high"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "score",
+ "thresholds",
+ "components"
+ ],
+ "type": "object"
+ },
+ "screeningResult": {
+ "additionalProperties": false,
+ "properties": {
+ "activityMatch": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "identityConfirmed": {
+ "type": "boolean"
+ },
+ "procurementSuitability": {
+ "enum": [
+ "appears_suitable",
+ "review_recommended",
+ "insufficient_information",
+ "potential_risk"
+ ],
+ "type": "string"
+ },
+ "risk": {
+ "enum": [
+ "low",
+ "medium",
+ "high",
+ "insufficient_data"
+ ],
+ "type": "string"
+ },
+ "riskScore": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "risk",
+ "riskScore",
+ "procurementSuitability",
+ "identityConfirmed",
+ "activityMatch",
+ "summary"
+ ],
+ "type": "object"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "checkedAt": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "observedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "enum": [
+ "company_registry",
+ "company_directory",
+ "demo_dataset",
+ "company_website",
+ "sanctions_list",
+ "public_web",
+ "derived_consistency_check"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "type",
+ "name",
+ "url",
+ "checkedAt",
+ "observedAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "supplier": {
+ "additionalProperties": false,
+ "properties": {
+ "companyId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "const": "OM",
+ "type": "string"
+ },
+ "crNumber": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "crNumberSupplied": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "identityMatch": {
+ "enum": [
+ "strong",
+ "moderate",
+ "weak",
+ "unconfirmed"
+ ],
+ "type": "string"
+ },
+ "inputName": {
+ "type": "string"
+ },
+ "matchedName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "matchedNameAr": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "normalizedName": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "inputName",
+ "normalizedName",
+ "matchedName",
+ "matchedNameAr",
+ "companyId",
+ "crNumber",
+ "crNumberSupplied",
+ "country",
+ "identityMatch"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "supplier",
+ "screeningResult",
+ "checks",
+ "riskFlags",
+ "riskModel",
+ "normalizedInput",
+ "sources",
+ "dataCoverage",
+ "confidence",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nextAction": {
+ "additionalProperties": false,
+ "properties": {
+ "instruction": {
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "x402_endpoint",
+ "mcp_credits_endpoint",
+ "payment_endpoint",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "pay_and_retry",
+ "authorize_and_use_mcp_credits",
+ "payment_unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "target",
+ "instruction"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "endpoint": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "const": "POST",
+ "type": "string"
+ },
+ "retrySameBody": {
+ "const": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "endpoint",
+ "method",
+ "retrySameBody"
+ ],
+ "type": "object"
+ },
+ "paymentGuidance": {},
+ "preview": {
+ "additionalProperties": false,
+ "properties": {
+ "fullResultAvailable": {
+ "const": true,
+ "type": "boolean"
+ },
+ "inputAccepted": {
+ "const": true,
+ "type": "boolean"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "useCases": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "inputAccepted",
+ "fullResultAvailable",
+ "summary",
+ "useCases"
+ ],
+ "type": "object"
+ },
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "x402",
+ "api_credits",
+ "subscription",
+ "l402",
+ "mpp",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "protocol"
+ ],
+ "type": "object"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "status": {
+ "const": "payment_required",
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "tool",
+ "requestId",
+ "price",
+ "preview",
+ "payment",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]