Sha256: da9f1c80e884166ab5feb9aee69fdee13fc5fc50c11d126322a3749a72a1e22f

Contents?: true

Size: 1.7 KB

Versions: 1

Compression:

Stored size: 1.7 KB

Contents

{
  "protocol" : "Review",
  "namespace" : "Switchboard",
  "types" : [ {
    "type" : "record",
    "name" : "ReviewRatings",
    "doc" : "Each individual rating type",
    "fields" : [ {
      "name" : "overall",
      "type" : "int"
    }, {
      "name" : "trustworthy",
      "type" : "int"
    }, {
      "name" : "responsive",
      "type" : "int"
    }, {
      "name" : "knowledgeable",
      "type" : "int"
    }, {
      "name" : "communication",
      "type" : "int"
    } ]
  }, {
    "type" : "record",
    "name" : "Review",
    "doc" : "The main class for this protocol",
    "fields" : [ {
      "name" : "id",
      "type" : "int",
      "doc" : "The primary key"
    }, {
      "name" : "lawyer_id",
      "type" : "int",
      "doc" : "The lawyer's id"
    }, {
      "name" : "title",
      "type" : "string",
      "doc" : "Title of the Review"
    }, {
      "name" : "body",
      "type" : "string",
      "doc" : "The body text of the review"
    }, {
      "name" : "recommended",
      "type" : "boolean"
    }, {
      "name" : "specialty_id",
      "type" : "int"
    }, {
      "name" : "anonymous",
      "type" : "boolean"
    }, {
      "name" : "approval_status",
      "type" : "int"
    }, {
      "name" : "display_name",
      "type" : "string"
    }, {
      "name" : "created_at",
      "type" : "int"
    }, {
      "name" : "updated_at",
      "type" : "int"
    }, {
      "name" : "cache_key",
      "type" : "string"
    }, {
      "name" : "ratings",
      "type" : "ReviewRatings"
    } ]
  } ],
  "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/mobile/compiled/review.avpr