MetaMap · JSON-LD Context

Metamap Context

JSON-LD context defining the semantic vocabulary for Metamap from MetaMap.

0 Classes 10 Properties 5 Namespaces
View Context View on GitHub

Namespaces

metamap: https://api.prod.metamap.com/v2/
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
hydra: http://www.w3.org/ns/hydra/core#

Properties

Property Type Container
Verification
Flow
Identity
DeviceFingerprint
Document
Step
GovCheck
WatchlistHit
RiskScore
Webhook

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "@vocab": "https://schema.org/",
    "metamap": "https://api.prod.metamap.com/v2/",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "hydra": "http://www.w3.org/ns/hydra/core#",

    "Verification": {
      "@id": "metamap:Verification",
      "@context": {
        "id": {
          "@id": "metamap:Verification/id",
          "@type": "xsd:string"
        },
        "identity": {
          "@id": "metamap:Verification/identity",
          "@type": "xsd:string"
        },
        "flow": {
          "@id": "metamap:Verification/flow",
          "@type": "metamap:Flow"
        },
        "expired": {
          "@id": "metamap:Verification/expired",
          "@type": "xsd:boolean"
        },
        "hasProblem": {
          "@id": "metamap:Verification/hasProblem",
          "@type": "xsd:boolean"
        },
        "metadata": {
          "@id": "metamap:Verification/metadata"
        },
        "documents": {
          "@id": "metamap:Verification/documents",
          "@container": "@list"
        },
        "inputs": {
          "@id": "metamap:Verification/inputs",
          "@container": "@list"
        },
        "steps": {
          "@id": "metamap:Verification/steps",
          "@container": "@list"
        },
        "deviceFingerprint": {
          "@id": "metamap:Verification/deviceFingerprint",
          "@type": "metamap:DeviceFingerprint"
        }
      }
    },

    "Flow": {
      "@id": "metamap:Flow",
      "@context": {
        "id": {"@id": "metamap:Flow/id", "@type": "xsd:string"},
        "name": {"@id": "metamap:Flow/name", "@type": "xsd:string"}
      }
    },

    "Identity": {
      "@id": "metamap:Identity",
      "@context": {
        "id": {"@id": "metamap:Identity/id", "@type": "xsd:string"},
        "fullName": {"@id": "schema:name"},
        "givenName": {"@id": "schema:givenName"},
        "familyName": {"@id": "schema:familyName"},
        "dateOfBirth": {"@id": "schema:birthDate", "@type": "xsd:date"},
        "nationality": {"@id": "schema:nationality"},
        "address": {"@id": "schema:address"}
      }
    },

    "DeviceFingerprint": {
      "@id": "metamap:DeviceFingerprint",
      "@context": {
        "ua": {"@id": "metamap:DeviceFingerprint/userAgent", "@type": "xsd:string"},
        "ip": {"@id": "metamap:DeviceFingerprint/ip", "@type": "xsd:string"},
        "vpnDetectionEnabled": {"@id": "metamap:DeviceFingerprint/vpnDetectionEnabled", "@type": "xsd:boolean"}
      }
    },

    "Document": {
      "@id": "metamap:Document",
      "@context": {
        "type": {"@id": "metamap:Document/type", "@type": "xsd:string"},
        "country": {"@id": "metamap:Document/country", "@type": "xsd:string"},
        "region": {"@id": "metamap:Document/region", "@type": "xsd:string"},
        "fields": {"@id": "metamap:Document/fields"},
        "photos": {"@id": "metamap:Document/photos", "@container": "@list"},
        "steps": {"@id": "metamap:Document/steps", "@container": "@list"}
      }
    },

    "Step": {
      "@id": "metamap:Step",
      "@context": {
        "id": {"@id": "metamap:Step/id", "@type": "xsd:string"},
        "status": {"@id": "metamap:Step/status", "@type": "xsd:integer"},
        "error": {"@id": "metamap:Step/error"},
        "data": {"@id": "metamap:Step/data"}
      }
    },

    "GovCheck": {
      "@id": "metamap:GovCheck",
      "@context": {
        "country": {"@id": "metamap:GovCheck/country", "@type": "xsd:string"},
        "dataset": {"@id": "metamap:GovCheck/dataset", "@type": "xsd:string"},
        "personalNumber": {"@id": "metamap:GovCheck/personalNumber", "@type": "xsd:string"},
        "match": {"@id": "metamap:GovCheck/match", "@type": "xsd:boolean"},
        "data": {"@id": "metamap:GovCheck/data"}
      }
    },

    "WatchlistHit": {
      "@id": "metamap:WatchlistHit",
      "@context": {
        "list": {"@id": "metamap:WatchlistHit/list", "@type": "xsd:string"},
        "name": {"@id": "schema:name"},
        "score": {"@id": "metamap:WatchlistHit/score", "@type": "xsd:decimal"},
        "category": {"@id": "metamap:WatchlistHit/category", "@type": "xsd:string"}
      }
    },

    "RiskScore": {
      "@id": "metamap:RiskScore",
      "@context": {
        "score": {"@id": "metamap:RiskScore/score", "@type": "xsd:decimal"},
        "level": {"@id": "metamap:RiskScore/level", "@type": "xsd:string"},
        "signals": {"@id": "metamap:RiskScore/signals", "@container": "@list"}
      }
    },

    "Webhook": {
      "@id": "metamap:Webhook",
      "@context": {
        "eventName": {"@id": "metamap:Webhook/eventName", "@type": "xsd:string"},
        "resource": {"@id": "metamap:Webhook/resource", "@type": "xsd:string"},
        "identity": {"@id": "metamap:Webhook/identity", "@type": "xsd:string"},
        "flow": {"@id": "metamap:Webhook/flow", "@type": "metamap:Flow"},
        "metadata": {"@id": "metamap:Webhook/metadata"}
      }
    }
  }
}