{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-custom-objects-getrecords-response-200-schema.json",
  "title": "Custom Objects_getrecords_Response_200",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-custom-objects-api-openapi.yml#/components/schemas/Custom_Objects_getrecords_Response_200",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of object records for an object type."
    },
    "records": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItems"
      }
    }
  },
  "$defs": {
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItems": {
      "type": "object",
      "properties": {
        "associations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems"
          },
          "description": "List of associations for the object record. If association query param is true it will return 5 associated records per association."
        },
        "attributes": {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAttributes",
          "description": "Key-value pairs of attribute data for the object record. Each key is the attribute **key** (e.g., `company_name`, `engine_type`), not the attribute label (e.g., \"Company Name\", \"Engine Type\"). Only attributes that already exist in the object schema will be present.\nFor `category` or `multiple_category` attributes, the value is the option **key** (not the option label or option ID).\n"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the object record was created"
        },
        "identifiers": {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsIdentifiers",
          "description": "Identifiers for the object record. Supports `id` (singular, not `ids`) or `ext_id`.\n- `ext_id`: Your external system's identifier for this record.\n- `id`: Internal Brevo record ID.\n"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the object record was last updated"
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItems"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems": {
      "oneOf": [
        {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems0"
        },
        {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems1"
        }
      ],
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems0": {
      "type": "object",
      "properties": {
        "object_type": {
          "type": "string",
          "description": "Type of the associated object"
        },
        "records": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems"
          }
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems0"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems1": {
      "type": "object",
      "properties": {
        "object_type": {
          "type": "string",
          "description": "Type of the associated object"
        },
        "records": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems"
          }
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItems1"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems": {
      "oneOf": [
        {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems0"
        },
        {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems1"
        }
      ],
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems0": {
      "type": "object",
      "properties": {
        "identifiers": {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItemsOneOf0Identifiers",
          "description": "Identifiers attached with the associated object record."
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems0"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems1": {
      "type": "object",
      "properties": {
        "identifiers": {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItemsOneOf1Identifiers",
          "description": "Identifiers attached with the associated object record."
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItems1"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItemsOneOf0Identifiers": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Internal ID of the object record generated by Brevo"
        }
      },
      "description": "Identifiers attached with the associated object record.",
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItemsOneOf0Identifiers"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItemsOneOf1Identifiers": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Internal ID of the object record generated by Brevo"
        }
      },
      "description": "Identifiers attached with the associated object record.",
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf0RecordsItemsOneOf1Identifiers"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems": {
      "oneOf": [
        {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems0"
        },
        {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems1"
        }
      ],
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems0": {
      "type": "object",
      "properties": {
        "identifiers": {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItemsOneOf0Identifiers",
          "description": "Identifiers attached with the associated object record. Only includes the internal ID."
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems0"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems1": {
      "type": "object",
      "properties": {
        "identifiers": {
          "$ref": "#/$defs/ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItemsOneOf1Identifiers",
          "description": "Identifiers attached with the associated object record. Only includes the internal ID."
        }
      },
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItems1"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItemsOneOf0Identifiers": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Internal ID of the insurance object record generated by Brevo"
        }
      },
      "description": "Identifiers attached with the associated object record. Only includes the internal ID.",
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItemsOneOf0Identifiers"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItemsOneOf1Identifiers": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Internal ID of the insurance object record generated by Brevo"
        }
      },
      "description": "Identifiers attached with the associated object record. Only includes the internal ID.",
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAssociationsItemsOneOf1RecordsItemsOneOf1Identifiers"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAttributes": {
      "type": "object",
      "properties": {},
      "description": "Key-value pairs of attribute data for the object record. Each key is the attribute **key** (e.g., `company_name`, `engine_type`), not the attribute label (e.g., \"Company Name\", \"Engine Type\"). Only attributes that already exist in the object schema will be present.\nFor `category` or `multiple_category` attributes, the value is the option **key** (not the option label or option ID).\n",
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsAttributes"
    },
    "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsIdentifiers": {
      "type": "object",
      "properties": {
        "ext_id": {
          "type": "string",
          "description": "External ID of the record in your system."
        },
        "id": {
          "type": "integer",
          "description": "Internal ID of the object record generated by Brevo."
        }
      },
      "description": "Identifiers for the object record. Supports `id` (singular, not `ids`) or `ext_id`.\n- `ext_id`: Your external system's identifier for this record.\n- `id`: Internal Brevo record ID.\n",
      "title": "ObjectsObjectTypeRecordsGetResponsesContentApplicationJsonSchemaRecordsItemsIdentifiers"
    }
  }
}