Sha256: 0332424d98cee6e2824590dd94eabb94eb77fddb3ddfd81807922022a030ed03

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

{
  "protocol" : "Review",
  "namespace" : "Switchboard",
  "types" : [ {
    "type" : "record",
    "name" : "Review",
    "doc" : "The main class for this protocol",
    "fields" : [ {
      "name" : "id",
      "type" : "int",
      "doc" : "The reviews's id"
    }, {
      "name" : "lawyer_id",
      "type" : "int",
      "doc" : "The lawyer's id"
    }, {
      "name" : "rating",
      "type" : "int",
      "doc" : "Overall rating  *"
    }, {
      "name" : "title",
      "type" : "string",
      "doc" : "Title of the Review"
    }, {
      "name" : "body",
      "type" : "string",
      "doc" : "The body text of the review"
    }, {
      "name" : "created_at",
      "type" : "int",
      "doc" : "The integer timestamp of when the review was created"
    } ]
  } ],
  "messages" : {
    "index" : {
      "doc" : "Look up many reviews in bulk",
      "request" : [ ],
      "response" : {
        "type" : "array",
        "items" : "Review"
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/4/compiled/review.avpr