Skip to content

Variable: FeatureModelV2Schema ​

ts
const FeatureModelV2Schema: ZodObject<{
  attributes: ZodOptional<ZodObject<{
     allInclusive: ZodOptional<ZodBoolean>;
     available: ZodOptional<ZodBoolean>;
     enabled: ZodOptional<ZodBoolean>;
     entitledSandbox: ZodOptional<ZodString>;
     events: ZodOptional<ZodArray<ZodString>>;
     fields: ZodOptional<ZodRecord<ZodString, ZodAny>>;
     ip: ZodOptional<ZodNumber>;
     isDataResidencyAllowed: ZodOptional<ZodBoolean>;
     isEnabled: ZodOptional<ZodBoolean>;
     isEntitled: ZodOptional<ZodBoolean>;
     limit: ZodOptional<ZodNumber>;
     parent: ZodOptional<ZodObject<{
        limit: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     portal: ZodOptional<ZodObject<{
        limit: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     realms: ZodOptional<ZodArray<ZodString>>;
     self: ZodOptional<ZodObject<{
        limit: ZodOptional<ZodNumber>;
     }, ApiObjectConfig<undefined>>>;
     tracks: ZodOptional<ZodArray<ZodString>>;
     type: ZodOptional<ZodString>;
     userAccessManagementState: ZodOptional<ZodString>;
     workspaceActive: ZodOptional<ZodBoolean>;
  }, ApiObjectConfig<undefined>>>;
  id: ZodOptional<ZodString>;
  links: ZodOptional<ZodObject<{
     self: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  type: ZodOptional<ZodString>;
}, ApiObjectConfig<undefined>>;

Defined in: src/admin/models/featureModelV2.ts:4