Skip to content

Instantly share code, notes, and snippets.

@jalotra
Created March 10, 2025 05:16
Show Gist options
  • Save jalotra/c9d0a77069d299bcab7054916b8017ac to your computer and use it in GitHub Desktop.
Save jalotra/c9d0a77069d299bcab7054916b8017ac to your computer and use it in GitHub Desktop.
{
"status": {
"code": "CM000",
"message": "Success"
},
"data": [
{
"jsonSchema": {
"$schema": "http://json-schema.org/draft-06/schema#",
"definitions": {
"AccountProductDto": {
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid"
},
"accountStatus": {
"type": "string"
},
"activityLevel": {
"$ref": "#/definitions/IntentActivityLevel"
},
"buyingStage": {
"$ref": "#/definitions/BuyingStage"
},
"fitScore": {
"$ref": "#/definitions/Integer"
},
"intentScore": {
"$ref": "#/definitions/Integer"
},
"mostSearchedTopics": {
"type": "array",
"items": {
"type": "string"
}
},
"productId": {
"type": "string",
"format": "uuid"
},
"spikes": {
"$ref": "#/definitions/Integer"
},
"totalPageViews": {
"$ref": "#/definitions/Integer"
},
"visitorCount": {
"$ref": "#/definitions/Integer"
}
},
"allOf": [
{
"$ref": "#/definitions/BaseTargetDto"
}
]
},
"Address": {
"type": "object",
"properties": {
"buildingOrStreet": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"zipCode": {
"type": "string"
}
}
},
"BaseDto": {
"type": "object",
"properties": {
"createdAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string",
"format": "uuid"
},
"id": {
"type": "string",
"format": "uuid"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string",
"format": "uuid"
},
"version": {
"$ref": "#/definitions/Integer"
}
}
},
"BaseTargetDto": {
"type": "object",
"properties": {
"dataUpdatedAt": {
"type": "string",
"format": "date-time"
},
"externalId": {
"type": "string"
},
"externalIdSource": {
"type": "string"
}
},
"allOf": [
{
"$ref": "#/definitions/BaseDto"
}
]
},
"BuyingStage": {
"type": "string",
"enum": [
"UNAWARE",
"AWARE",
"CONSIDERATION",
"DECISION",
"PURCHASE"
],
"allOf": [
{
"$ref": "#/definitions/Enum"
}
]
},
"Enum": {
"type": "string"
},
"FundingInfo": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"fundingRound": {
"$ref": "#/definitions/FundingRound"
},
"investors": {
"type": "array",
"items": {
"type": "string"
}
},
"year": {
"type": "string"
}
}
},
"FundingRound": {
"type": "string",
"enum": [
"ANGEL",
"SEED",
"SERIES_A",
"SERIES_B",
"SERIES_C",
"SERIES_D",
"SERIES_E",
"SERIES_F"
],
"allOf": [
{
"$ref": "#/definitions/Enum"
}
]
},
"Integer": {
"type": "integer",
"allOf": [
{
"type": "number"
}
]
},
"IntentActivityLevel": {
"type": "string",
"enum": [
"HIGH",
"MEDIUM",
"LOW"
],
"allOf": [
{
"$ref": "#/definitions/Enum"
}
]
}
},
"type": "object",
"properties": {
"allInvestors": {
"type": "array",
"items": {
"type": "string"
}
},
"annualRevenue": {
"$ref": "#/definitions/Integer"
},
"annualRevenueRange": {
"type": "string"
},
"businessModel": {
"type": "string"
},
"domain": {
"type": "string"
},
"employeeCount": {
"$ref": "#/definitions/Integer"
},
"employeeRange": {
"type": "string"
},
"facebookUrl": {
"type": "string"
},
"foundingYear": {
"type": "string"
},
"fundingHistory": {
"type": "array",
"items": {
"$ref": "#/definitions/FundingInfo"
}
},
"hqLocation": {
"$ref": "#/definitions/Address"
},
"industries": {
"type": "array",
"items": {
"type": "string"
}
},
"industry": {
"type": "string"
},
"linkedinUrl": {
"type": "string"
},
"logoUrl": {
"type": "string"
},
"name": {
"type": "string"
},
"ownershipType": {
"type": "string"
},
"products": {
"type": "array",
"items": {
"$ref": "#/definitions/AccountProductDto"
}
},
"subIndustries": {
"type": "array",
"items": {
"type": "string"
}
},
"subIndustry": {
"type": "string"
},
"summary": {
"type": "string"
},
"totalFunding": {
"$ref": "#/definitions/Integer"
},
"twitterUrl": {
"type": "string"
}
},
"allOf": [
{
"$ref": "#/definitions/BaseTargetDto"
}
]
}
},
{
"flattenedJsonSchemaForJsonPath": {
"createdAt": {
"type": "string"
},
"createdBy": {
"type": "string"
},
"id": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"version": {
"type": "integer"
},
"dataUpdatedAt": {
"type": "string"
},
"externalId": {
"type": "string"
},
"externalIdSource": {
"type": "string"
},
"allInvestors[*]": {
"type": "string"
},
"annualRevenue": {
"type": "integer"
},
"annualRevenueRange": {
"type": "string"
},
"businessModel": {
"type": "string"
},
"domain": {
"type": "string"
},
"employeeCount": {
"type": "integer"
},
"employeeRange": {
"type": "string"
},
"facebookUrl": {
"type": "string"
},
"foundingYear": {
"type": "string"
},
"fundingHistory[*].amount": {
"type": "string"
},
"fundingHistory[*].fundingRound": {
"type": "string",
"enum": [
"ANGEL",
"SEED",
"SERIES_A",
"SERIES_B",
"SERIES_C",
"SERIES_D",
"SERIES_E",
"SERIES_F"
]
},
"fundingHistory[*].investors[*]": {
"type": "string"
},
"fundingHistory[*].year": {
"type": "string"
},
"hqLocation.buildingOrStreet": {
"type": "string"
},
"hqLocation.city": {
"type": "string"
},
"hqLocation.country": {
"type": "string"
},
"hqLocation.state": {
"type": "string"
},
"hqLocation.zipCode": {
"type": "string"
},
"industries[*]": {
"type": "string"
},
"industry": {
"type": "string"
},
"linkedinUrl": {
"type": "string"
},
"logoUrl": {
"type": "string"
},
"name": {
"type": "string"
},
"ownershipType": {
"type": "string"
},
"products[*].createdAt": {
"type": "string"
},
"products[*].createdBy": {
"type": "string"
},
"products[*].id": {
"type": "string"
},
"products[*].updatedAt": {
"type": "string"
},
"products[*].updatedBy": {
"type": "string"
},
"products[*].version": {
"type": "integer"
},
"products[*].dataUpdatedAt": {
"type": "string"
},
"products[*].externalId": {
"type": "string"
},
"products[*].externalIdSource": {
"type": "string"
},
"products[*].accountId": {
"type": "string"
},
"products[*].accountStatus": {
"type": "string"
},
"products[*].activityLevel": {
"type": "string",
"enum": [
"HIGH",
"MEDIUM",
"LOW"
]
},
"products[*].buyingStage": {
"type": "string",
"enum": [
"UNAWARE",
"AWARE",
"CONSIDERATION",
"DECISION",
"PURCHASE"
]
},
"products[*].fitScore": {
"type": "integer"
},
"products[*].intentScore": {
"type": "integer"
},
"products[*].mostSearchedTopics[*]": {
"type": "string"
},
"products[*].productId": {
"type": "string"
},
"products[*].spikes": {
"type": "integer"
},
"products[*].totalPageViews": {
"type": "integer"
},
"products[*].visitorCount": {
"type": "integer"
},
"subIndustries[*]": {
"type": "string"
},
"subIndustry": {
"type": "string"
},
"summary": {
"type": "string"
},
"totalFunding": {
"type": "integer"
},
"twitterUrl": {
"type": "string"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment