001/*
002 * SPDX-FileCopyrightText: none
003 * SPDX-License-Identifier: CC0-1.0
004 */
005
006package gov.nist.secauto.metaschema.databind.model.annotations;
007
008import static java.lang.annotation.ElementType.FIELD;
009import static java.lang.annotation.ElementType.METHOD;
010import static java.lang.annotation.RetentionPolicy.RUNTIME;
011
012import java.lang.annotation.Documented;
013import java.lang.annotation.Retention;
014import java.lang.annotation.Target;
015
016/**
017 * Indicates that the target of this annotation is a Java property that is to be
018 * used as the JSON or YAML property/item name in for a collection of similar
019 * objects/items.
020 */
021// TODO: remove this and move this to MetaschemaField/MetaschemaAssembly
022@Documented
023@Retention(RUNTIME)
024@Target({ FIELD, METHOD })
025public @interface JsonKey {
026  // no fields
027}