prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <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'
  ```
  
  </issue>
  <code>
  [start of lemur/domains/schemas.py]
  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 of lemur/domains/schemas.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
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"}]}