Sha256: ee29ea659630921c55a0800187d67499aa663f82bb6b9a0d041ce26cd0f76eea

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

@namespace("Switchboard")

protocol Specialty {

  record SpecialtyCompact{
    /** The primary key */
    int id;

    /** Name of the specialty */
    string name;
  }

  /** The main class for this protocol */
  record Specialty {
    /** The primary key */
    int id;

    /** Name of the specialty */
    string name;

    /** Url to the icon representing this specialty */
    string image_url;

    array<SpecialtyCompact> ancestors;
  }

  /** Look up many specialties in bulk */
  array<Specialty> index();

  /** Look up a specialty by id */
  array<Specialty> show(int id);

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/3/source/specialty.avdl