code: function isSchema(blob) {
      // A schema will have one of these
      return blob.properties !== undefined || blob.enum !== undefined || blob.items
          !== undefined || blob.type !== undefined;
  }
docs: The official swagger type spec makes it a little bit of a pain to work with the wrappers around type definitions.