{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eightfold-ai/json-schema/eightfold-ai-note-create-request-schema-schema.json",
  "title": "NoteCreateRequestSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eightfold-ai-profile-note-api-openapi.yml#/components/schemas/NoteCreateRequestSchema",
  "type": "object",
  "properties": {
    "profileId": {
      "type": "string",
      "description": "Profile id of candidate"
    },
    "positionId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Position id associated with the note"
    },
    "noteType": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "note",
        "email",
        "other"
      ],
      "description": "Note type of candidate. Valid values: note, email, other. Note: email is intended for internal integrations or callers from allowed domains only — email notes appear in sourcing analytics and recruiter dashboards."
    },
    "note": {
      "type": [
        "string",
        "null"
      ],
      "description": "Note of candidate"
    }
  },
  "required": [
    "profileId"
  ]
}