{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.humancellatlas.org/module/biomaterial/1.4.0/reproductive_history",
  "description": "Reproductive history of the donor.",
  "additionalProperties": false,
  "minProperties": 1,
  "title": "Reproductive history",
  "name": "reproductive_history",
  "type": "object",
  "properties": {
    "describedBy": {
      "description": "The URL reference to the schema.",
      "type": "string",
      "pattern": "^(http|https)://schema.(.*?)humancellatlas.org/module/biomaterial/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/reproductive_history"
    },
    "schema_version": {
      "description": "The version number of the schema in major.minor.patch format.",
      "type": "string",
      "pattern": "^[0-9]{1,}.[0-9]{1,}.[0-9]{1,}$",
      "example": "4.6.1"
    },
    "menarche_age": {
      "description": "Age at menarche, rounded to nearest whole number.",
      "type": "integer",
      "user_friendly": "Menarche age",
      "example": "13; 12; 16",
      "bionetworks": [
        "genetic diversity"
      ]
    },
    "menstrual_cycle_stage": {
      "description": "Menstrual cycle stage of donor at the time of collection.",
      "type": "string",
      "enum": [
        "follicular phase",
        "ovulation",
        "luteal phase",
        "menstruation"
      ],
      "user_friendly": "Menstrual cycle stage",
      "example": "follicular phase; ovulation; luteal phase; menstruation",
      "guidelines": "Should be one of: follicular phase; ovulation; luteal phase; menstruation",
      "bionetworks": [
        "adipose"
      ]
    },
    "menopause_status": {
      "description": "Menopausal status of donor at time of sample collection.",
      "type": "string",
      "enum": [
        "pre-menopausal",
        "peri-menopausal",
        "post-menopausal",
        "post-menopausal (induced)"
      ],
      "user_friendly": "Menopause status",
      "example": "pre-menopausal; peri-menopausal; post-menopausal; post-menopausal (induced)",
      "guidelines": "Should be one of: pre-menopausal; peri-menopausal; post-menopausal; post-menopausal (induced)",
      "bionetworks": [
        "genetic diversity"
      ]
    },
    "parity": {
      "description": "Number of children (full-term pregnancies) the donor has given birth to at time of sample collection.",
      "type": "integer",
      "user_friendly": "Full term pregnancy - parity",
      "example": "0; 2; 3",
      "bionetworks": [
        "genetic diversity"
      ]
    },
    "gravidity": {
      "description": "Number of pregnancies the donor has had at time of sample collection.",
      "type": "integer",
      "user_friendly": "Pregnancy - gravidity",
      "example": "2; 3; 5",
      "bionetworks": [
        "genetic diversity"
      ]
    }
  }
}
