chromium/tools/json_schema_compiler/test/forbidden.json

[
  {
    "namespace": "forbidden",
    "description": "The forbidden API... Careful.",
    "types": [],
    "functions": [
      {
        "name": "forbiddenParameters",
        "type": "function",
        "description": "Don't do this at home. Accepts multiple choices and values",
        "parameters": [
          {
            "name": "firstChoice",
            "description": "a choice between int and array",
            "choices": [
              {"type": "integer", "minimum": 0},
              {"type": "array", "items": {"type": "integer"}}
            ]
          },
          {
            "type": "string",
            "name": "firstString"
          },
          {
            "name": "secondChoice",
            "description": "a choice between int and array",
            "choices": [
              {"type": "integer", "minimum": 0},
              {"type": "array", "items": {"type": "integer"}}
            ]
          },
          {
            "type": "string",
            "name": "secondString"
          }
        ]
      }
    ]
  }
]