{
  "models" : [ {
    "type" : "record",
    "name" : "Empty",
    "namespace" : "com.linkedin.restli.examples.greetings.api",
    "fields" : [ ]
  }, {
    "type" : "record",
    "name" : "Greeting",
    "namespace" : "com.linkedin.restli.examples.greetings.api",
    "doc" : "A greeting",
    "fields" : [ {
      "name" : "id",
      "type" : "long"
    }, {
      "name" : "message",
      "type" : "string"
    }, {
      "name" : "tone",
      "type" : {
        "type" : "enum",
        "name" : "Tone",
        "symbols" : [ "FRIENDLY", "SINCERE", "INSULTING" ]
      },
      "doc" : "tone"
    }, {
      "name" : "senders",
      "type" : {
        "type" : "array",
        "items" : "string"
      },
      "doc" : "Sender(s) of the message",
      "optional" : true
    } ]
  }, {
    "type" : "record",
    "name" : "SearchMetadata",
    "namespace" : "com.linkedin.restli.examples.greetings.api",
    "doc" : "metadata for greetings search results",
    "fields" : [ {
      "name" : "facets",
      "type" : {
        "type" : "array",
        "items" : {
          "type" : "record",
          "name" : "ToneFacet",
          "doc" : "metadata for greetings search results",
          "fields" : [ {
            "name" : "tone",
            "type" : "Tone"
          }, {
            "name" : "count",
            "type" : "int"
          } ]
        }
      }
    } ]
  }, "com.linkedin.restli.examples.greetings.api. Tone", "com.linkedin.restli.examples.greetings.api. ToneFacet" ],
  "schema" : {
    "name" : "nullGreeting",
    "namespace" : "com.linkedin.restli.examples.greetings.client",
    "path" : "/nullGreeting",
    "schema" : "com.linkedin.restli.examples.greetings.api. Greeting",
    "doc" : "Tests to observe restli's resilience for resource methods returning null.  We are simply reusing\n the Greetings model here for our own null-generating purposes.\n\ngenerated from: com.linkedin.restli.examples.greetings.server. NullGreetingsResourceImpl",
    "collection" : {
      "identifier" : {
        "name" : "nullGreetingId",
        "type" : "long"
      },
      "supports" : [ "batch_create", "batch_delete", "batch_get", "batch_partial_update", "batch_update", "create", "delete", "get", "get_all", "update" ],
      "methods" : [ {
        "method" : "create"
      }, {
        "method" : "get"
      }, {
        "method" : "update"
      }, {
        "method" : "delete"
      }, {
        "method" : "batch_create"
      }, {
        "method" : "batch_get"
      }, {
        "method" : "batch_update"
      }, {
        "method" : "batch_partial_update"
      }, {
        "method" : "batch_delete"
      }, {
        "method" : "get_all",
        "metadata" : {
          "type" : "com.linkedin.restli.examples.greetings.api. Empty"
        },
        "pagingSupported" : true
      } ],
      "finders" : [ {
        "name" : "finderCallbackNullList",
        "parameters" : [ {
          "name" : "tone",
          "type" : "com.linkedin.restli.examples.greetings.api. Tone"
        } ],
        "pagingSupported" : true
      }, {
        "name" : "finderPromiseNullList",
        "parameters" : [ {
          "name" : "tone",
          "type" : "com.linkedin.restli.examples.greetings.api. Tone"
        } ],
        "pagingSupported" : true
      }, {
        "name" : "finderTaskNullList",
        "parameters" : [ {
          "name" : "tone",
          "type" : "com.linkedin.restli.examples.greetings.api. Tone"
        } ],
        "pagingSupported" : true
      }, {
        "name" : "searchReturnNullCollectionList",
        "parameters" : [ {
          "name" : "tone",
          "type" : "com.linkedin.restli.examples.greetings.api. Tone"
        } ],
        "metadata" : {
          "type" : "com.linkedin.restli.examples.greetings.api. SearchMetadata"
        },
        "pagingSupported" : true
      }, {
        "name" : "searchReturnNullList",
        "parameters" : [ {
          "name" : "tone",
          "type" : "com.linkedin.restli.examples.greetings.api. Tone"
        } ],
        "pagingSupported" : true
      } ],
      "actions" : [ {
        "name" : "returnActionResultWithNullStatus",
        "returns" : "int"
      }, {
        "name" : "returnActionResultWithNullValue",
        "returns" : "int"
      }, {
        "name" : "returnNullActionResult",
        "returns" : "int"
      }, {
        "name" : "returnNullStringArray",
        "returns" : "{ \"type\" : \"array\", \"items\" : \"string\" }"
      }, {
        "name" : "returnStringArrayWithNullElement",
        "returns" : "{ \"type\" : \"array\", \"items\" : \"string\" }"
      } ],
      "entity" : {
        "path" : "/nullGreeting/{nullGreetingId}"
      }
    }
  }
}