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