{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://artifacts.apis.io/fareharbor/json-schema/fareharbor-create-crew-member-request-json-schema-schema.json",
  "title": "Create Crew Member Request",
  "description": "JSON body for creating a crew member assignment on an availability.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fareharbor-crew-members-endpoints-api-openapi.yml#/components/schemas/CREATE_CREW_MEMBER_REQUEST_JSON_SCHEMA",
  "additionalProperties": false,
  "properties": {
    "note": {
      "description": "Optional note providing additional context, instructions, or information about the crew member's assignment.",
      "type": "string"
    },
    "role": {
      "description": "Optional short name of the role to assign to the crew member. Must match an existing role short_name for the company.",
      "type": "string"
    },
    "username": {
      "description": "Username of the user to add as a crew member. Must be a valid username within the system.",
      "type": "string"
    }
  },
  "required": [
    "username"
  ],
  "type": "object"
}