"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tagSchema = void 0;
const tag_schema_1 = require("../../services/tag-schema");
exports.tagSchema = {
    $id: '#/components/schemas/tagSchema',
    type: 'object',
    description: 'Representation of a [tag](https://docs.getunleash.io/reference/tags)',
    additionalProperties: false,
    required: ['value', 'type'],
    properties: {
        value: {
            type: 'string',
            minLength: tag_schema_1.TAG_MIN_LENGTH,
            maxLength: tag_schema_1.TAG_MAX_LENGTH,
            description: 'The value of the tag',
            example: 'a-tag-value',
        },
        type: {
            type: 'string',
            minLength: tag_schema_1.TAG_MIN_LENGTH,
            maxLength: tag_schema_1.TAG_MAX_LENGTH,
            default: 'simple',
            description: 'The [type](https://docs.getunleash.io/reference/tags#tag-types) of the tag',
            example: 'simple',
        },
    },
    components: {},
};
//# sourceMappingURL=tag-schema.js.map