{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateCodebookForQuestionRequest",
  "required": [
    "codes"
  ],
  "type": "object",
  "properties": {
    "codes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/NewCodeOrNet"
      },
      "description": "The Codes in the Codebook, in the order they appear in the Codebook.\r\n  \r\nCodebooks are tree structured and may be of any depth, although a depth of more than 6 is rare.\r\n  \r\nOnly the leaf nodes may be applied to a response.  These leaf nodes are Codes.\r\n\r\nNets have child codes or nets.  Nets may not be used to code a response.  They serve to provide structure to the Codebook.\r\n\r\nNets typically represent groups of related codes."
    }
  },
  "additionalProperties": false,
  "description": "A codebook presentation to create for specified question"
}