Search Response Schema
Search Response Schema for Combined Phone Lookup
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"jobs": {
"type": "array",
"items": { "$ref": "#/definitions/job" }
},
"educations": {
"type": "array",
"items": { "$ref": "#/definitions/education" }
},
"usernames": {
"type": "array",
"items": { "$ref": "#/definitions/simpleItem" }
},
"userIds": {
"type": "array",
"items": { "$ref": "#/definitions/simpleItem" }
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"validSince": { "type": "string", "format": "date-time" },
"url": { "type": "string", "format": "uri" },
"searchable": { "type": "boolean" }
},
"required": ["url"]
}
},
"urls": {
"type": "array",
"items": { "$ref": "#/definitions/url" }
},
"tags": {
"type": "array",
"items": { "$ref": "#/definitions/tag" }
},
"dob": { "$ref": "#/definitions/dob" },
"gender": {
"type": ["string", "null"]
},
"id": {
"type": "string"
},
"category": {
"type": "string"
},
"name": {
"type": "string"
},
"originUrl": {
"type": "string",
"format": "uri"
},
"domain": {
"type": "string"
},
"searchable": {
"type": "boolean"
}
},
"definitions": {
"base": {
"type": "object",
"properties": {
"validSince": { "type": "string", "format": "date-time" },
"lastSeen": { "type": ["string", "null"], "format": "date-time" },
"current": { "type": ["boolean", "null"] },
"inferred": { "type": "boolean" },
"searchable": { "type": "boolean" }
}
},
"job": {
"allOf": [
{ "$ref": "#/definitions/base" },
{
"type": "object",
"properties": {
"title": { "type": "string" },
"organization": { "type": "string" },
"industry": { "type": ["string", "null"] },
"display": { "type": "string" },
"dateRange": { "$ref": "#/definitions/dateRange" }
}
}
]
},
"education": {
"allOf": [
{ "$ref": "#/definitions/base" },
{
"type": "object",
"properties": {
"degree": { "type": ["string", "null"] },
"school": { "type": "string" },
"display": { "type": "string" },
"dateRange": { "$ref": "#/definitions/dateRange" }
}
}
]
},
"simpleItem": {
"allOf": [
{ "$ref": "#/definitions/base" },
{
"type": "object",
"properties": {
"content": { "type": "string" }
}
}
]
},
"url": {
"allOf": [
{ "$ref": "#/definitions/base" },
{
"type": "object",
"properties": {
"url": { "type": "string", "format": "uri" },
"category": { "type": "string" },
"domain": { "type": "string" },
"sponsored": { "type": "boolean" }
}
}
]
},
"tag": {
"allOf": [
{ "$ref": "#/definitions/base" },
{
"type": "object",
"properties": {
"content": { "type": "string" },
"classification": { "type": "string" }
}
}
]
},
"dateRange": {
"type": "object",
"properties": {
"start": { "type": ["string", "null"], "format": "date-time" },
"end": { "type": ["string", "null"], "format": "date-time" },
"exact": { "type": "boolean" }
}
},
"dob": {
"type": "object",
"properties": {
"dateRange": { "$ref": "#/definitions/dateRange" },
"display": { "type": "string" },
"searchable": { "type": "boolean" }
}
}
},
"additionalProperties": true
}Last updated