{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-contactdb-custom-field-id2xx-schema.json",
  "title": "ContactDB Custom field schema with ID.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-custom-fields-api-openapi.yml#/components/schemas/ContactdbCustomFieldId2xx",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the field"
    },
    "type": {
      "type": "string",
      "description": "The type of the field.",
      "$ref": "#/$defs/Type"
    },
    "id": {
      "type": "number",
      "description": "The ID of the custom field."
    }
  },
  "$defs": {
    "Type": {
      "type": "string",
      "enum": [
        "date",
        "text",
        "number"
      ]
    }
  }
}