Not getting all parameters details in OpenAPI 3.0 document

Hello,

I’m trying to create one parser on .NET Core, which parses the response parameters from json and store it into one object.

For ex, let’s pick https://api.hubspot.com/api-catalog-public/v1/apis/crm/v3/contacts/ URL and /crm/v3/objects/contacts endpoint.

Now, I want to create a dynamic object with all the peroperties I’ll get from response of this endpoint. for ex. -

{

id: int,

firstName: string,

email: sting,

createdAt: date,

}

But, in URL, I’m not able to find names and types of the properties like firstname, email, etc.. getting in response. createdAt, archived and some others are there, but not all. this is the reponse model described in the URL -

"SimplePublicObjectWithAssociations" : {
 "required" : [ "createdAt", "id", "properties", "updatedAt" ],
 "type" : "object",
 "properties" : {
 "associations" : {
 "type" : "object",
 "additionalProperties" : {
 "$ref" : "#/components/schemas/CollectionResponseAssociatedId"
 }
 },
 "createdAt" : {
 "type" : "string",
 "format" : "date-time"
 },
 "archived" : {
 "type" : "boolean"
 },
 "archivedAt" : {
 "type" : "string",
 "format" : "date-time"
 },
 "propertiesWithHistory" : {
 "type" : "object",
 "additionalProperties" : {
 "type" : "array",
 "items" : {
 "$ref" : "#/components/schemas/ValueWithTimestamp"
 }
 }
 },
 "id" : {
 "type" : "string"
 },
 "properties" : {
 "type" : "object",
 "additionalProperties" : {
 "type" : "string",
 "nullable" : true
 }
 },
 "updatedAt" : {
 "type" : "string",
 "format" : "date-time"
 }
 },
 "example" : {
 "properties" : {
 "company" : "Biglytics",
 "createdate" : "2019-10-30T03:30:17.883Z",
 "email" : "bcooper@biglytics.net",
 "firstname" : "Bryan",
 "lastmodifieddate" : "2019-12-07T16:50:06.678Z",
 "lastname" : "Cooper",
 "phone" : "(877) 929-0687",
 "website" : "biglytics.net"
 }
 }
 }

Can anyone help me with how can I find the name and type of the properties outside this examples?

NOTE: I have tried to parse with other product’s OpenAPI file like BigCommerce, Jira, etc.. and it is working fine as they are giving all the properties on response model.

Thank you.