{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-account-schema.json",
  "title": "Account",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-accounts-api-openapi.yml#/components/schemas/Account",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the Account"
    },
    "description": {
      "type": "string",
      "description": "Account description"
    },
    "domains": {
      "type": "array",
      "description": "List of domains associated with the Account",
      "items": {
        "type": "string"
      }
    },
    "external_id": {
      "type": "string",
      "description": "ID of the Account in an external system"
    },
    "custom_fields": {
      "description": "Custom fields for this account",
      "$ref": "#/$defs/CustomFieldParameter"
    }
  },
  "$defs": {
    "CustomFieldParameter": {
      "type": "object",
      "description": "An object whose key is the `name` property defined for the custom field in the Front UI. The value of the key must use the same `type` specified for the custom field, as described in https://dev.frontapp.com/reference/custom-fields"
    }
  }
}