Sha256: 6cc8e504e0ba0edea44510dfb0ec1382000d5486a5398cf2ce0d29e9a7e5cf7b

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

{
  "protocol" : "License",
  "namespace" : "Switchboard",
  "types" : [ {
    "type" : "record",
    "name" : "License",
    "doc" : "The main class for this protocol",
    "fields" : [ {
      "name" : "id",
      "type" : "int",
      "doc" : "The primary key"
    }, {
      "name" : "authority_name",
      "type" : "string",
      "doc" : "name"
    }, {
      "name" : "state",
      "type" : "string"
    }, {
      "name" : "status",
      "type" : "string"
    }, {
      "name" : "license_number",
      "type" : "string"
    }, {
      "name" : "status_type",
      "type" : "string",
      "doc" : "License's status *"
    }, {
      "name" : "license_date",
      "type" : "int",
      "doc" : "seconds from epoch since the license was issued *"
    }, {
      "name" : "lawyer_id",
      "type" : "int",
      "doc" : "primary key of the Lawyer object for this license"
    }, {
      "name" : "last_updated",
      "type" : "int",
      "doc" : "seconds from epoch when license was last updated"
    } ]
  } ],
  "messages" : {
    "index" : {
      "doc" : "Look up many licenses in bulk",
      "request" : [ ],
      "response" : {
        "type" : "array",
        "items" : "License"
      }
    },
    "show" : {
      "doc" : "Look up a single license by id",
      "request" : [ {
        "name" : "id",
        "type" : "int"
      } ],
      "response" : {
        "type" : "array",
        "items" : "License"
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/verify/compiled/license.avpr