PostMetadataCommon: {
    attributes?: MetadataAttribute[];
    contentWarning?: ContentWarning;
    id: string;
    locale: Locale;
    tags?: Tag[];
}

Common fields of a Lens post.

Type declaration

  • Optional attributes?: MetadataAttribute[]

    A bag of attributes that can be used to store any kind of metadata that is not currently supported by the standard. Over time, common attributes will be added to the standard and their usage as arbitrary attributes will be discouraged.

  • Optional contentWarning?: ContentWarning

    Specify a content warning.

  • id: string

    A unique identifier that in storages like IPFS ensures the uniqueness of the metadata URI.

    Use a UUID if unsure.

  • locale: Locale

    The locale of the metadata.

  • Optional tags?: Tag[]

    An arbitrary list of tags.