Ejemplo n.º 1
0
 /**
  * @return Schema
  */
 protected static function defineSchema()
 {
     return new Schema('pbj:eme:accounts:request:get-account-response:1-0-0', __CLASS__, [], [ResponseV1Mixin::create(), GetNodeResponseV1Mixin::create()]);
 }
Ejemplo n.º 2
0
 /**
  * @return Schema
  */
 protected static function defineSchema()
 {
     return new Schema('pbj:eme:solicits:request:search-submissions-response:1-0-0', __CLASS__, [], [ResponseV1Mixin::create(), SearchEventsResponseV1Mixin::create()]);
 }
Ejemplo n.º 3
0
 /**
  * @return Schema
  */
 protected static function defineSchema()
 {
     return new Schema('pbj:gdbots:pbjx:request:request-failed-response:1-0-0', __CLASS__, [Fb::create('request', T\MessageType::create())->className('Gdbots\\Schemas\\Pbjx\\Mixin\\Request\\Request')->build(), Fb::create('error_code', T\SmallIntType::create())->withDefault(Code::OK)->build(), Fb::create('error_name', T\StringType::create())->pattern('^[\\w\\/\\.:-]+$')->build(), Fb::create('error_message', T\TextType::create())->build()], [ResponseV1Mixin::create()]);
 }