{
  "protocol" : "Import",
  "namespace" : "org.foo",
  "doc" : "* Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.",
  "types" : [ {
    "type" : "enum",
    "name" : "Position",
    "namespace" : "avro.examples.baseball",
    "symbols" : [ "P", "C", "B1", "B2", "B3", "SS", "LF", "CF", "RF", "DH" ]
  }, {
    "type" : "record",
    "name" : "Player",
    "namespace" : "avro.examples.baseball",
    "fields" : [ {
      "name" : "number",
      "type" : "int"
    }, {
      "name" : "first_name",
      "type" : "string"
    }, {
      "name" : "last_name",
      "type" : "string"
    }, {
      "name" : "position",
      "type" : {
        "type" : "array",
        "items" : "Position"
      }
    } ]
  }, {
    "type" : "record",
    "name" : "ImportBar",
    "namespace" : "org.apache.avro.ipc.specific",
    "fields" : [ {
      "name" : "foo",
      "type" : "avro.examples.baseball.Player"
    } ]
  }, {
    "type" : "record",
    "name" : "NestedType",
    "namespace" : "org.on.the.classpath",
    "fields" : [ ]
  }, {
    "type" : "record",
    "name" : "FromAfar",
    "namespace" : "org.on.the.classpath",
    "fields" : [ ]
  }, {
    "type" : "record",
    "name" : "VeryFar",
    "namespace" : "org.on.the.classpath",
    "fields" : [ ]
  }, {
    "type" : "record",
    "name" : "FarAway",
    "namespace" : "org.on.the.classpath",
    "fields" : [ ]
  }, {
    "type" : "record",
    "name" : "Foo",
    "fields" : [ {
      "name" : "x",
      "type" : "int"
    } ]
  }, {
    "type" : "record",
    "name" : "Bar",
    "fields" : [ {
      "name" : "foo",
      "type" : "Foo"
    } ]
  } ],
  "messages" : {
    "error" : {
      "request" : [ ],
      "response" : "null"
    },
    "void" : {
      "request" : [ ],
      "response" : "null"
    },
    "bar" : {
      "request" : [ ],
      "response" : "null"
    },
    "barf" : {
      "request" : [ {
        "name" : "foo",
        "type" : "Foo"
      } ],
      "response" : "Bar"
    }
  }
}