1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package dev.metaschema.schemagen.json.impl;
7   
8   import dev.metaschema.core.model.IFlagInstance;
9   import edu.umd.cs.findbugs.annotations.NonNull;
10  
11  /**
12   * Supports generation of a JSON schema based on a Metaschema
13   * {@link IFlagInstance}, which can be generated inline or as a JSON schema
14   * definition.
15   */
16  public interface IJsonSchemaPropertyFlag extends IJsonSchemaPropertyNamed {
17    /**
18     * Get the associated Metaschema flag instance.
19     *
20     * @return the instance
21     */
22    @NonNull
23    IFlagInstance getInstance();
24  }