{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "CodebookNewCodes", "type": "object", "properties": { "codebookKey": { "type": "integer", "description": "Key of the Codebook", "format": "int32" }, "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.", "nullable": true } }, "additionalProperties": false, "description": "Codebook and its codes or nets tree structure" }