انتقل إلى المحتوى الرئيسي

Variable: IdentifierAnswers

const IdentifierAnswers: TObject<{ anchor: TOptional<TBoolean>; anchorMethod: TOptional<TWith<TUnsafe<"webvh" | "web">, { default: "webvh"; }>>; methods: TOptional<TWith<TArray<TUnsafe<"webvh" | "web">>, { default: readonly ["webvh"]; }>>; registries: TOptional<TArray<TUnsafe<"centralized">>>; }>

Defined in: packages/contracts/src/schemas/issuance-setup.ts:248

The answer file's identifiers section (D3.11, D3.17). Its home is the setup engine's answer-file schema; it is defined here because every value in it is one of this module's own lists, and a second spelling of them in @oktoid/bootstrap would drift.

  • registries: the registries to enable. Absent means [centralized];
  • anchor: whether the engine mints the anchor's own identifier. Absent means true;
  • anchorMethod: the method of the anchor's identifier. Absent means webvh;
  • methods: the methods identifier.create accepts. Absent means webvh alone (DEFAULT_IDENTIFIER_METHODS); web is permitted only when named here.

One rule a schema cannot state is the loader's: anchorMethod must be one of methods.