/**
  * @return Schema
  */
 protected static function defineSchema()
 {
     return new Schema('pbj:eme:solicits:request:get-submission-history-request:1-0-0', __CLASS__, [], [AccountRefV1Mixin::create(), RequestV1Mixin::create(), GetEventsRequestV1Mixin::create()]);
 }
 /**
  * @return Schema
  */
 protected static function defineSchema()
 {
     return new Schema('pbj:eme:solicits:request:search-submissions-request:1-0-0', __CLASS__, [Fb::create('solicit_id', T\IdentifierType::create())->className('Eme\\Schemas\\Solicits\\SolicitId')->build(), Fb::create('first_name', T\StringType::create())->build(), Fb::create('last_name', T\StringType::create())->build(), Fb::create('email', T\StringType::create())->format(Format::EMAIL())->build(), Fb::create('email_domain', T\StringType::create())->format(Format::HOSTNAME())->build(), Fb::create('address', T\MessageType::create())->className('Gdbots\\Schemas\\Geo\\Address')->build(), Fb::create('age_min', T\TinyIntType::create())->max(120)->build(), Fb::create('age_max', T\TinyIntType::create())->max(120)->build(), Fb::create('is_blocked', T\TrinaryType::create())->build(), Fb::create('is_read', T\TrinaryType::create())->build(), Fb::create('last_read_after', T\DateTimeType::create())->build(), Fb::create('last_read_before', T\DateTimeType::create())->build(), Fb::create('last_read_by_ref', T\MessageRefType::create())->build(), Fb::create('is_verified', T\TrinaryType::create())->build()], [AccountRefV1Mixin::create(), RequestV1Mixin::create(), SearchEventsRequestV1Mixin::create(), TrackedMessageV1Mixin::create()]);
 }
Esempio n. 3
0
 /**
  * @return Schema
  */
 protected static function defineSchema()
 {
     return new Schema('pbj:eme:accounts:request:get-account-request:1-0-0', __CLASS__, [], [RequestV1Mixin::create(), GetNodeRequestV1Mixin::create()]);
 }