prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Adding domain fails on unselectable "sensitive"
  Client side
  
  ![screenshot_2017-05-12_11-06-54](https://cloud.githubusercontent.com/assets/445200/25991405/528d417a-3703-11e7-9e6c-d70beb6d38e2.png)
  
  
  Server side
  
  ```
  May 12 09:05:48 lemur supervisord: lemur-web [2017-05-12 09:05:48,892] ERROR in schema: 'sensitive'
  May 12 09:05:48 lemur supervisord: lemur-web Traceback (most recent call last):
  May 12 09:05:48 lemur supervisord: lemur-web   File "/var/www/lemur/lemur/common/schema.py", line 158, in decorated_function
  May 12 09:05:48 lemur supervisord: lemur-web     resp = f(*args, **kwargs)
  May 12 09:05:48 lemur supervisord: lemur-web   File "/var/www/lemur/lemur/domains/views.py", line 126, in post
  May 12 09:05:48 lemur supervisord: lemur-web     return service.create(data['name'], data['sensitive'])
  May 12 09:05:48 lemur supervisord: lemur-web KeyError: 'sensitive'
  May 12 09:05:48 lemur supervisord: lemur-web
  May 12 09:05:48 lemur supervisord: lemur-web 'sensitive'
  May 12 09:05:48 lemur supervisord: lemur-web Traceback (most recent call last):
  May 12 09:05:48 lemur supervisord: lemur-web   File "/var/www/lemur/lemur/common/schema.py", line 158, in decorated_function
  May 12 09:05:48 lemur supervisord: lemur-web     resp = f(*args, **kwargs)
  May 12 09:05:48 lemur supervisord: lemur-web   File "/var/www/lemur/lemur/domains/views.py", line 126, in post
  May 12 09:05:48 lemur supervisord: lemur-web     return service.create(data['name'], data['sensitive'])
  May 12 09:05:48 lemur supervisord: lemur-web KeyError: 'sensitive'
  ```
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `lemur/domains/schemas.py`
  Content:
  ```
  1 """
  2 .. module: lemur.domains.schemas
  3     :platform: unix
  4     :copyright: (c) 2015 by Netflix Inc., see AUTHORS for more
  5     :license: Apache, see LICENSE for more details.
  6 .. moduleauthor:: Kevin Glisson <kglisson@netflix.com>
  7 """
  8 from marshmallow import fields
  9 from lemur.common.schema import LemurInputSchema, LemurOutputSchema
  10 from lemur.schemas import AssociatedCertificateSchema
  11 
  12 # from lemur.certificates.schemas import CertificateNestedOutputSchema
  13 
  14 
  15 class DomainInputSchema(LemurInputSchema):
  16     id = fields.Integer()
  17     name = fields.String(required=True)
  18     sensitive = fields.Boolean()
  19     certificates = fields.Nested(AssociatedCertificateSchema, many=True, missing=[])
  20 
  21 
  22 class DomainOutputSchema(LemurOutputSchema):
  23     id = fields.Integer()
  24     name = fields.String()
  25     sensitive = fields.Boolean()
  26     # certificates = fields.Nested(CertificateNestedOutputSchema, many=True, missing=[])
  27 
  28 
  29 class DomainNestedOutputSchema(DomainOutputSchema):
  30     __envelope__ = False
  31 
  32 
  33 domain_input_schema = DomainInputSchema()
  34 domain_output_schema = DomainOutputSchema()
  35 domains_output_schema = DomainOutputSchema(many=True)
  36
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/lemur/domains/schemas.py b/lemur/domains/schemas.py
  --- a/lemur/domains/schemas.py
  +++ b/lemur/domains/schemas.py
  @@ -15,7 +15,7 @@
   class DomainInputSchema(LemurInputSchema):
       id = fields.Integer()
       name = fields.String(required=True)
  -    sensitive = fields.Boolean()
  +    sensitive = fields.Boolean(missing=False)
       certificates = fields.Nested(AssociatedCertificateSchema, many=True, missing=[])
  
verification_info: {"golden_diff": "diff --git a/lemur/domains/schemas.py b/lemur/domains/schemas.py\n--- a/lemur/domains/schemas.py\n+++ b/lemur/domains/schemas.py\n@@ -15,7 +15,7 @@\n class DomainInputSchema(LemurInputSchema):\n     id = fields.Integer()\n     name = fields.String(required=True)\n-    sensitive = fields.Boolean()\n+    sensitive = fields.Boolean(missing=False)\n     certificates = fields.Nested(AssociatedCertificateSchema, many=True, missing=[])\n", "issue": "Adding domain fails on unselectable \"sensitive\"\nClient side\r\n\r\n![screenshot_2017-05-12_11-06-54](https://cloud.githubusercontent.com/assets/445200/25991405/528d417a-3703-11e7-9e6c-d70beb6d38e2.png)\r\n\r\n\r\nServer side\r\n\r\n```\r\nMay 12 09:05:48 lemur supervisord: lemur-web [2017-05-12 09:05:48,892] ERROR in schema: 'sensitive'\r\nMay 12 09:05:48 lemur supervisord: lemur-web Traceback (most recent call last):\r\nMay 12 09:05:48 lemur supervisord: lemur-web   File \"/var/www/lemur/lemur/common/schema.py\", line 158, in decorated_function\r\nMay 12 09:05:48 lemur supervisord: lemur-web     resp = f(*args, **kwargs)\r\nMay 12 09:05:48 lemur supervisord: lemur-web   File \"/var/www/lemur/lemur/domains/views.py\", line 126, in post\r\nMay 12 09:05:48 lemur supervisord: lemur-web     return service.create(data['name'], data['sensitive'])\r\nMay 12 09:05:48 lemur supervisord: lemur-web KeyError: 'sensitive'\r\nMay 12 09:05:48 lemur supervisord: lemur-web\r\nMay 12 09:05:48 lemur supervisord: lemur-web 'sensitive'\r\nMay 12 09:05:48 lemur supervisord: lemur-web Traceback (most recent call last):\r\nMay 12 09:05:48 lemur supervisord: lemur-web   File \"/var/www/lemur/lemur/common/schema.py\", line 158, in decorated_function\r\nMay 12 09:05:48 lemur supervisord: lemur-web     resp = f(*args, **kwargs)\r\nMay 12 09:05:48 lemur supervisord: lemur-web   File \"/var/www/lemur/lemur/domains/views.py\", line 126, in post\r\nMay 12 09:05:48 lemur supervisord: lemur-web     return service.create(data['name'], data['sensitive'])\r\nMay 12 09:05:48 lemur supervisord: lemur-web KeyError: 'sensitive'\r\n```\n", "before_files": [{"content": "\"\"\"\n.. module: lemur.domains.schemas\n    :platform: unix\n    :copyright: (c) 2015 by Netflix Inc., see AUTHORS for more\n    :license: Apache, see LICENSE for more details.\n.. moduleauthor:: Kevin Glisson <kglisson@netflix.com>\n\"\"\"\nfrom marshmallow import fields\nfrom lemur.common.schema import LemurInputSchema, LemurOutputSchema\nfrom lemur.schemas import AssociatedCertificateSchema\n\n# from lemur.certificates.schemas import CertificateNestedOutputSchema\n\n\nclass DomainInputSchema(LemurInputSchema):\n    id = fields.Integer()\n    name = fields.String(required=True)\n    sensitive = fields.Boolean()\n    certificates = fields.Nested(AssociatedCertificateSchema, many=True, missing=[])\n\n\nclass DomainOutputSchema(LemurOutputSchema):\n    id = fields.Integer()\n    name = fields.String()\n    sensitive = fields.Boolean()\n    # certificates = fields.Nested(CertificateNestedOutputSchema, many=True, missing=[])\n\n\nclass DomainNestedOutputSchema(DomainOutputSchema):\n    __envelope__ = False\n\n\ndomain_input_schema = DomainInputSchema()\ndomain_output_schema = DomainOutputSchema()\ndomains_output_schema = DomainOutputSchema(many=True)\n", "path": "lemur/domains/schemas.py"}], "after_files": [{"content": "\"\"\"\n.. module: lemur.domains.schemas\n    :platform: unix\n    :copyright: (c) 2015 by Netflix Inc., see AUTHORS for more\n    :license: Apache, see LICENSE for more details.\n.. moduleauthor:: Kevin Glisson <kglisson@netflix.com>\n\"\"\"\nfrom marshmallow import fields\nfrom lemur.common.schema import LemurInputSchema, LemurOutputSchema\nfrom lemur.schemas import AssociatedCertificateSchema\n\n# from lemur.certificates.schemas import CertificateNestedOutputSchema\n\n\nclass DomainInputSchema(LemurInputSchema):\n    id = fields.Integer()\n    name = fields.String(required=True)\n    sensitive = fields.Boolean(missing=False)\n    certificates = fields.Nested(AssociatedCertificateSchema, many=True, missing=[])\n\n\nclass DomainOutputSchema(LemurOutputSchema):\n    id = fields.Integer()\n    name = fields.String()\n    sensitive = fields.Boolean()\n    # certificates = fields.Nested(CertificateNestedOutputSchema, many=True, missing=[])\n\n\nclass DomainNestedOutputSchema(DomainOutputSchema):\n    __envelope__ = False\n\n\ndomain_input_schema = DomainInputSchema()\ndomain_output_schema = DomainOutputSchema()\ndomains_output_schema = DomainOutputSchema(many=True)\n", "path": "lemur/domains/schemas.py"}]}