# Function inferBookmarkListSchema

- inferBookmarkListSchema<
  T extends
  ZodType<jObjectBase, ZodTypeDef, jObjectBase> = ZodType<
  jObjectLittle,
  ZodTypeDef,
  jObjectLittle,
  >,
  >(
  type?: T,
  ): ZodObject<
  {
  _cssClass: ZodString;
  _cssColor: ZodString;
  _src: | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _target:
  | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _values: ZodOptional<
  ZodObject<
  { dateCreation: ZodString; dateModified: ZodString },
  "strip",
  ZodTypeAny,
  { dateCreation: string; dateModified: string },
  { dateCreation: string; dateModified: string },
  >,
  >;
  bookmarkLabel: ZodOptional<ZodString>;
  bookmarkMeta: ZodNullable<ZodOptional<ZodString>>;
  bookmarkOrder: ZodOptional<ZodString>;
  bookmarkUrl: ZodNullable<ZodOptional<ZodString>>;
  id: ZodNumber;
  mainType: ZodString;
  srcId: ZodNumber;
  srcType: ZodString;
  targetId: ZodNumber;
  targetType: ZodNullable<ZodString>;
  type: ZodString;
  uri: ZodString;
  url: ZodNullable<ZodOptional<ZodString>>;
  value: ZodNullable<ZodString>;
  },
  "strip",
  ZodTypeAny,
  {
  [k in | "id"
  | "value"
  | "type"
  | "srcId"
  | "srcType"
  | "targetId"
  | "targetType"
  | "mainType"
  | "uri"
  | "url"
  | "_src"
  | "_target"
  | "bookmarkUrl"
  | "bookmarkOrder"
  | "bookmarkLabel"
  | "bookmarkMeta"
  | "_values"
  | "_cssColor"
  | "_cssClass"]: addQuestionMarks<
  baseObjectOutputType<
  {
  _cssClass: ZodString;
  _cssColor: ZodString;
  _src: | ZodOptional<
  ZodObject<
  ZodShape<(...)> & { _url: ...; title: ... },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _target:
  | ZodOptional<
  ZodObject<
  ZodShape<(...)> & { _url: ...; title: ... },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _values: ZodOptional<
  ZodObject<
  { dateCreation: ZodString; dateModified: ZodString },
  "strip",
  ZodTypeAny,
  { dateCreation: string; dateModified: string },
  { dateCreation: string; dateModified: string },
  >,
  >;
  bookmarkLabel: ZodOptional<ZodString>;
  bookmarkMeta: ZodNullable<ZodOptional<ZodString>>;
  bookmarkOrder: ZodOptional<ZodString>;
  bookmarkUrl: ZodNullable<ZodOptional<ZodString>>;
  id: ZodNumber;
  mainType: ZodString;
  srcId: ZodNumber;
  srcType: ZodString;
  targetId: ZodNumber;
  targetType: ZodNullable<ZodString>;
  type: ZodString;
  uri: ZodString;
  url: ZodNullable<ZodOptional<ZodString>>;
  value: ZodNullable<ZodString>;
  },
  >,
  any,
  >[k]
  },
  {
  [k in | "id"
  | "value"
  | "type"
  | "srcId"
  | "srcType"
  | "targetId"
  | "targetType"
  | "mainType"
  | "uri"
  | "url"
  | "_src"
  | "_target"
  | "bookmarkUrl"
  | "bookmarkOrder"
  | "bookmarkLabel"
  | "bookmarkMeta"
  | "_values"
  | "_cssColor"
  | "_cssClass"]: baseObjectInputType<
  {
  _cssClass: ZodString;
  _cssColor: ZodString;
  _src: | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _target:
  | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _values: ZodOptional<
  ZodObject<
  { dateCreation: ZodString; dateModified: ZodString },
  "strip",
  ZodTypeAny,
  { dateCreation: string; dateModified: string },
  { dateCreation: string; dateModified: string },
  >,
  >;
  bookmarkLabel: ZodOptional<ZodString>;
  bookmarkMeta: ZodNullable<ZodOptional<ZodString>>;
  bookmarkOrder: ZodOptional<ZodString>;
  bookmarkUrl: ZodNullable<ZodOptional<ZodString>>;
  id: ZodNumber;
  mainType: ZodString;
  srcId: ZodNumber;
  srcType: ZodString;
  targetId: ZodNumber;
  targetType: ZodNullable<ZodString>;
  type: ZodString;
  uri: ZodString;
  url: ZodNullable<ZodOptional<ZodString>>;
  value: ZodNullable<ZodString>;
  },
  >[k]
  },
  >

  #### Type Parameters

  - T extends ZodType<jObjectBase, ZodTypeDef, jObjectBase> = ZodType<jObjectLittle, ZodTypeDef, jObjectLittle>

  #### Parameters

  - `Optional` type: T

  #### Returns ZodObject<
  {
  _cssClass: ZodString;
  _cssColor: ZodString;
  _src: | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _target:
  | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _values: ZodOptional<
  ZodObject<
  { dateCreation: ZodString; dateModified: ZodString },
  "strip",
  ZodTypeAny,
  { dateCreation: string; dateModified: string },
  { dateCreation: string; dateModified: string },
  >,
  >;
  bookmarkLabel: ZodOptional<ZodString>;
  bookmarkMeta: ZodNullable<ZodOptional<ZodString>>;
  bookmarkOrder: ZodOptional<ZodString>;
  bookmarkUrl: ZodNullable<ZodOptional<ZodString>>;
  id: ZodNumber;
  mainType: ZodString;
  srcId: ZodNumber;
  srcType: ZodString;
  targetId: ZodNumber;
  targetType: ZodNullable<ZodString>;
  type: ZodString;
  uri: ZodString;
  url: ZodNullable<ZodOptional<ZodString>>;
  value: ZodNullable<ZodString>;
  },
  "strip",
  ZodTypeAny,
  {
  [k in | "id"
  | "value"
  | "type"
  | "srcId"
  | "srcType"
  | "targetId"
  | "targetType"
  | "mainType"
  | "uri"
  | "url"
  | "_src"
  | "_target"
  | "bookmarkUrl"
  | "bookmarkOrder"
  | "bookmarkLabel"
  | "bookmarkMeta"
  | "_values"
  | "_cssColor"
  | "_cssClass"]: addQuestionMarks<
  baseObjectOutputType<
  {
  _cssClass: ZodString;
  _cssColor: ZodString;
  _src: | ZodOptional<
  ZodObject<
  ZodShape<(...)> & { _url: ...; title: ... },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _target:
  | ZodOptional<
  ZodObject<
  ZodShape<(...)> & { _url: ...; title: ... },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _values: ZodOptional<
  ZodObject<
  { dateCreation: ZodString; dateModified: ZodString },
  "strip",
  ZodTypeAny,
  { dateCreation: string; dateModified: string },
  { dateCreation: string; dateModified: string },
  >,
  >;
  bookmarkLabel: ZodOptional<ZodString>;
  bookmarkMeta: ZodNullable<ZodOptional<ZodString>>;
  bookmarkOrder: ZodOptional<ZodString>;
  bookmarkUrl: ZodNullable<ZodOptional<ZodString>>;
  id: ZodNumber;
  mainType: ZodString;
  srcId: ZodNumber;
  srcType: ZodString;
  targetId: ZodNumber;
  targetType: ZodNullable<ZodString>;
  type: ZodString;
  uri: ZodString;
  url: ZodNullable<ZodOptional<ZodString>>;
  value: ZodNullable<ZodString>;
  },
  >,
  any,
  >[k]
  },
  {
  [k in | "id"
  | "value"
  | "type"
  | "srcId"
  | "srcType"
  | "targetId"
  | "targetType"
  | "mainType"
  | "uri"
  | "url"
  | "_src"
  | "_target"
  | "bookmarkUrl"
  | "bookmarkOrder"
  | "bookmarkLabel"
  | "bookmarkMeta"
  | "_values"
  | "_cssColor"
  | "_cssClass"]: baseObjectInputType<
  {
  _cssClass: ZodString;
  _cssColor: ZodString;
  _src: | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _target:
  | ZodOptional<
  ZodObject<
  ZodShape<jObjectBase> & { _url: ZodString; title: ZodString },
  "strip",
  ZodTypeAny,
  jObjectLittle,
  jObjectLittle,
  >,
  >
  | ZodOptional<T>;
  _values: ZodOptional<
  ZodObject<
  { dateCreation: ZodString; dateModified: ZodString },
  "strip",
  ZodTypeAny,
  { dateCreation: string; dateModified: string },
  { dateCreation: string; dateModified: string },
  >,
  >;
  bookmarkLabel: ZodOptional<ZodString>;
  bookmarkMeta: ZodNullable<ZodOptional<ZodString>>;
  bookmarkOrder: ZodOptional<ZodString>;
  bookmarkUrl: ZodNullable<ZodOptional<ZodString>>;
  id: ZodNumber;
  mainType: ZodString;
  srcId: ZodNumber;
  srcType: ZodString;
  targetId: ZodNumber;
  targetType: ZodNullable<ZodString>;
  type: ZodString;
  uri: ZodString;
  url: ZodNullable<ZodOptional<ZodString>>;
  value: ZodNullable<ZodString>;
  },
  >[k]
  },
  >

  - Defined in jamespot-user-api/src/types/bookmark.ts:25