001/*
002 * Licensed under the Apache License, Version 2.0 (the "License");
003 * you may not use this file except in compliance with the License.
004 * You may obtain a copy of the License at
005 *
006 *     http://www.apache.org/licenses/LICENSE-2.0
007 *
008 * Unless required by applicable law or agreed to in writing, software
009 * distributed under the License is distributed on an "AS IS" BASIS,
010 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
011 * See the License for the specific language governing permissions and
012 * limitations under the License.
013 */
014package org.gbif.api.vocabulary;
015
016import io.swagger.v3.oas.annotations.ExternalDocumentation;
017import io.swagger.v3.oas.annotations.media.Schema;
018
019/**
020 * Vocabulary for the sex of an organism.
021 *
022 * @see <a href="http://rs.gbif.org/vocabulary/gbif/sex">rs.gbif.org vocabulary</a>
023 */
024@Schema(
025  description = "The sex of the biological individual(s) represented in the Occurrence.\n\n" +
026    "For definitions, see the [GBIF sex vocabulary](http://rs.gbif.org/vocabulary/gbif/sex)",
027  externalDocs = @ExternalDocumentation(
028    description = "Darwin Core definition",
029    url = "https://rs.tdwg.org/dwc/terms/sex"
030  )
031)
032public enum Sex {
033
034  /**
035   * No sex determination ever has been observed, for example the Fungi Imperfecti:
036   * http://en.wikipedia.org/wiki/Fungi_Imperfecti
037   */
038  NONE,
039
040  MALE,
041
042  FEMALE,
043
044  /**
045   * Being male and female at the same time.
046   */
047  HERMAPHRODITE
048
049}