Skip to content

Model images in FW-Lite #2233

Description

@myieye

Probably approximately just this:

class Sense
{
   List<Image> Images // probably jsonb? Like Complex-forms, semantic domains etc. the Image/Picture instances are owned by the sense
}

record Image // counterpart of CmImage from LibLcm
{
   Guid Id // LibLcm has Guids on images and the MediaUri is not necessarily unique even in the scope of a single sense, so we need this
   MediaUri Id // contains Guid for looking up the file on the media-server
   MultiString Caption
   // anything else?
}

We are already not persisting/syncing audio-file metadata (file size, image size, license) to a DB table in Lexbox, so we can probably ignore that for the time being for images as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    📖 MiniLcmissues related to miniLcm library code, includes fwdat bridge and lcmCrdt

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions