freshworks · Schema

Vendor

Properties

Name Type Description
id integer Unique ID of the vendor.
name string Name of the vendor.
description string Description.
primary_contact string Primary contact person.
email string Vendor email address.
phone string Phone number.
address object Address of the vendor.
created_at string Timestamp when created.
updated_at string Timestamp when last updated.
View JSON Schema on GitHub

JSON Schema

freshworks-vendor-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Vendor",
  "title": "Vendor",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique ID of the vendor."
    },
    "name": {
      "type": "string",
      "description": "Name of the vendor."
    },
    "description": {
      "type": "string",
      "description": "Description."
    },
    "primary_contact": {
      "type": "string",
      "description": "Primary contact person."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Vendor email address."
    },
    "phone": {
      "type": "string",
      "description": "Phone number."
    },
    "address": {
      "type": "object",
      "description": "Address of the vendor.",
      "properties": {
        "line1": {
          "type": "string",
          "description": "Address line 1."
        },
        "line2": {
          "type": "string",
          "description": "Address line 2."
        },
        "city": {
          "type": "string",
          "description": "City."
        },
        "state": {
          "type": "string",
          "description": "State or province."
        },
        "country": {
          "type": "string",
          "description": "Country."
        },
        "zip_code": {
          "type": "string",
          "description": "Postal or ZIP code."
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when last updated."
    }
  }
}