Sha256: 67f5c7f1aa09006a54c0f9dff4c25609ba3ebee9b9a916d9c75dfa564973d447

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

{
  "protocol" : "LawyerAddress",
  "namespace" : "Switchboard",
  "types" : [ {
    "type" : "record",
    "name" : "LawyerAddress",
    "doc" : "The main class for this protocol",
    "fields" : [ {
      "name" : "id",
      "type" : "int",
      "doc" : "The LawyerAddress's id"
    }, {
      "name" : "lawyer_id",
      "type" : "int",
      "doc" : "The lawyer's id"
    }, {
      "name" : "line1",
      "type" : "string",
      "doc" : "The first line of the address"
    }, {
      "name" : "line2",
      "type" : "string",
      "doc" : "The second line of the address"
    }, {
      "name" : "city",
      "type" : "string",
      "doc" : "The city of the address"
    }, {
      "name" : "state_code",
      "type" : "string",
      "doc" : "The state abbreviation of the address"
    }, {
      "name" : "postal_code",
      "type" : "string",
      "doc" : "The postal code of the address"
    } ]
  } ],
  "messages" : {
    "index" : {
      "doc" : "Look up many adddresses in bulk",
      "request" : [ {
        "name" : "lawyer_id",
        "type" : "int"
      }, {
        "name" : "lawyer_ids",
        "type" : "string"
      } ],
      "response" : {
        "type" : "array",
        "items" : "LawyerAddress"
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

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