{
 "kind": "discovery#restDescription",
 "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
 "discoveryVersion": "v1",
 "id": "wrapnewlines:v1",
 "name": "wrapnewlines",
 "version": "v1",
 "title": "Example API",
 "description": "The Example API demonstrates wrapping of descriptions containing newlines.",
 "ownerDomain": "google.com",
 "ownerName": "Google",
 "protocol": "rest",
 "schemas": {
  "Thing": {
   "id": "Thing",
   "type": "object",
   "description": "don't care",
   "properties": {
    "bool_empty_default_a":{
     "type": "boolean",
     "description": "\nNonempty default: no\nUnfortunate default: no",
     "default": "false"
    },
    "bool_empty_default_b":{
     "type": "boolean",
     "description": "\nNonempty default: no\nUnfortunate default: no"
    },
    "bool_nonempty_default":{
     "type": "boolean",
     "description": "\nNonempty default: yes\nUnfortunate default: yes",
     "default": "true"
    },
    "string_nonempty_default_doesnt_accept_empty": {
     "type": "string",
     "description": "\nNonempty default: yes\nAccepts empty value: no\nUnfortunate default: no",
     "default": "nonempty"
    },
    "string_nonempty_default_enum_accepts_empty": {
     "type": "string",
     "description": "\nNonempty default: yes\nAccepts empty value: yes (enum)\nUnfortunate default: yes",
     "default": "nonempty",
     "enum": [
       "",
       "nonempty",
       "aaa"
     ],
     "enumDescriptions": [
      "",
      ""
     ]
    },
    "string_nonempty_default_enum_doesnt_accept_empty": {
     "type": "string",
     "description": "\nNonempty default: yes\nAccepts empty value: no (enum)\nUnfortunate default: no",
     "default": "nonempty",
     "enum": [
       "nonempty",
       "aaa"
     ],
     "enumDescriptions": [
      ""
     ]
    },
    "string_nonempty_default_pattern_accepts_empty": {
     "type": "string",
     "description": "\nNonempty default: yes\nAccepts empty value: yes (pattern)\nUnfortunate default: yes",
     "default": "nonempty",
     "pattern": ".?"
    },
    "string_nonempty_default_pattern_doesnt_accept_empty": {
     "type": "string",
     "description": "\nNonempty default: yes\nAccepts empty value: no (pattern)\nUnfortunate default: no",
     "default": "nonempty",
     "pattern": "."
    },
    "string_empty_default_doesnt_accept_empty": {
     "type": "string",
     "description": "\nNonempty default: no\nAccepts empty value: no\nUnfortunate default: no",
     "default": ""
    },
    "string_empty_default_enum_accepts_empty": {
     "type": "string",
     "description": "\nNonempty default: no\nAccepts empty value: yes (enum)\nUnfortunate default: no",
     "default": "",
     "enum": [
       "",
       "value"
     ],
     "enumDescriptions": [
      "",
      ""
     ]
    },
    "string_empty_default_enum_doesnt_accept_empty": {
     "type": "string",
     "description": "\nNonempty default: no\nAccepts empty value: no (enum)\nUnfortunate default: no",
     "default": "",
     "enum": [
       "value"
     ],
     "enumDescriptions": [
      ""
     ]
    },
    "string_empty_default_pattern_accepts_empty": {
     "type": "string",
     "description": "\nNonempty default: no\nAccepts empty value: yes (pattern)\nUnfortunate default: no",
     "default": "",
     "pattern": ".?"
    },
    "string_empty_default_pattern_doesnt_accept_empty": {
     "type": "string",
     "description": "\nNonempty default: no\nAccepts empty value: no (pattern)\nUnfortunate default: no",
     "default": "",
     "pattern": "."
    },
    "numeric_empty_default_a":{
     "type": "string",
     "format": "int64",
     "description": "\nNonempty default: no\nUnfortunate default: no",
     "default": ""
    },
    "numeric_empty_default_b":{
     "type": "string",
     "format": "int64",
     "description": "\nNonempty default: no\nUnfortunate default: no"
    },
    "numeric_empty_default_c":{
     "type": "string",
     "format": "int64",
     "description": "\nNonempty default: no\nUnfortunate default: no",
     "default": "0"
    },
    "numeric_empty_default_d":{
     "type": "number",
     "description": "\nNonempty default: no\nUnfortunate default: no",
     "default": "0.0"
    },
    "numeric_empty_default_e":{
     "type": "number",
     "description": "\nNonempty default: no\nUnfortunate default: no",
     "default": "-0.0"
    },
    "numeric_nonempty_default_a":{
     "type": "string",
     "format": "int64",
     "description": "\nNonempty default: yes\nUnfortunate default: yes\nstring encoded, so will not be represented as pointer.",
     "default": "1"
    },
    "numeric_nonempty_default_b":{
     "type": "number",
     "description": "\nNonempty default: yes\nUnfortunate default: yes",
     "default": "0.001"
    }
   }
  }
 }
}
