Apideck · Schema

EmployeesSort

IntegrationsUnified API

Properties

Name Type Description
by string The field on which to sort the Employees
direction object
View JSON Schema on GitHub

JSON Schema

apideck-employeessort-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmployeesSort",
  "title": "EmployeesSort",
  "type": "object",
  "x-apideck-schema-id": "EmployeesSort",
  "example": {
    "by": "created_at",
    "direction": "desc"
  },
  "properties": {
    "by": {
      "type": "string",
      "x-apideck-enum-id": "Employees.sort_by",
      "description": "The field on which to sort the Employees",
      "enum": [
        "first_name",
        "last_name",
        "created_at",
        "updated_at"
      ],
      "example": "created_at"
    },
    "direction": {
      "$ref": "#/components/schemas/SortDirection"
    }
  },
  "additionalProperties": false
}