import "@typelex/emitter"; namespace ing.pinboard.pin.url { @rec("tid") model Main { @doc("type of the pin") @readOnly type?: string = "url"; @doc("title of the pin") @required title: string; @doc("description of the pin") @minGraphemes(1) @maxGraphemes(140) @required description: string; @doc("url of the pin") @required url: uri; @required createdAt: datetime; } }