Sha256: c79a947bd153206ee63d33d6669e602302f5f769ce6bebe89916d9db5b98686e

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

{
  "protocol" : "Specialty",
  "namespace" : "Switchboard",
  "types" : [ {
    "type" : "record",
    "name" : "Specialty",
    "doc" : "The main class for this protocol",
    "fields" : [ {
      "name" : "id",
      "type" : "int",
      "doc" : "The primary key"
    }, {
      "name" : "name",
      "type" : "string",
      "doc" : "Name of the specialty"
    }, {
      "name" : "seo_name",
      "type" : "string",
      "doc" : "Pretty name for SEO"
    }, {
      "name" : "title",
      "type" : "string",
      "doc" : "What you would call an attorny practicing in this area (i.e. Bankruptcy Attorney)"
    }, {
      "name" : "description",
      "type" : "string",
      "doc" : "Blurb about what this specialty is about"
    }, {
      "name" : "slug",
      "type" : "string",
      "doc" : "Pretty slug for use in the URLs"
    } ]
  } ],
  "messages" : {
    "index" : {
      "doc" : "Look up many specialties in bulk",
      "request" : [ ],
      "response" : {
        "type" : "array",
        "items" : "Specialty"
      }
    },
    "show" : {
      "doc" : "Look up a specialty by id",
      "request" : [ {
        "name" : "id",
        "type" : "int"
      } ],
      "response" : {
        "type" : "array",
        "items" : "Specialty"
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/mobile/compiled/specialty.avpr