chromium/tools/json_schema_compiler/test/any.json

[
  {
    "namespace": "any",
    "description": "The any API.",
    "types": [
      {
        "id": "AnyType",
        "type": "object",
        "properties": {
          "any": {
            "type": "any",
            "description": "Any way you want it, that's the way you need it."
          }
        }
      }
    ],
    "functions": [
      {
        "name": "optionalAny",
        "type": "function",
        "description": "Takes an optional any param.",
        "parameters": [
          {
            "type": "any",
            "name": "anyName",
            "optional": true
          }
        ],
        "returns_async": {
          "name": "callback",
          "parameters": []
        }
      },
      {
        "name": "returnAny",
        "type": "function",
        "description": "Returns any.",
        "nodoc": "true",
        "parameters": [],
        "returns_async": {
          "type": "function",
          "name": "callback",
          "parameters": [
            {
              "name": "result",
              "type": "any"
            }
          ]
        }
      }
    ],
    "events": [
      {
        "name": "onAnyFired",
        "type": "function",
        "description": "Fired when anything is ready.",
        "parameters": [
          {
            "name": "something",
            "type": "any"
          }
        ]
      }
    ]
  }
]