{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-caqh-credentialing-snapshot-response-schema.json",
  "title": "CaqhCredentialingSnapshotResponse",
  "description": "The newest stored CAQH credentialing profile for a provider",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-caqh-credentialing-snapshots-api-openapi.yml#/components/schemas/CaqhCredentialingSnapshotResponse",
  "type": "object",
  "properties": {
    "caqhProviderId": {
      "type": "string",
      "description": "CAQH provider id"
    },
    "npi": {
      "type": "string",
      "description": "Practitioner NPI, when stored"
    },
    "attestationDate": {
      "type": "string",
      "description": "Date the provider attested this version of the profile (YYYY-MM-DD)"
    },
    "retrievedAt": {
      "type": "string",
      "description": "When CertifyOS retrieved this profile from CAQH (ISO-8601, UTC). Null for profiles stored before the retrieval time was recorded."
    },
    "data": {
      "type": "object",
      "description": "The CAQH profile exactly as received from CAQH, field names unchanged. Every value is a string. SSN is masked unless PII view is granted."
    }
  }
}