/**
 * This file was automatically generated from OpenAPI schema.
 * Do not manually modify this file.
 */

const CategorySchema: Record<string, unknown> = {
  "openapi": "3.0.0",
  "info": {
    "title": "Category",
    "description": "OpenAPI schema for model category definitions in Meshery.",
    "version": "v1beta1",
    "contact": {
      "name": "Meshery Maintainers",
      "email": "maintainers@meshery.io",
      "url": "https://meshery.io"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "paths": {},
  "components": {
    "schemas": {
      "CategoryDefinition": {
        "$id": "https://schemas.meshery.io/category.yaml",
        "$schema": "http://json-schema.org/draft-07/schema#",
        "type": "object",
        "additionalProperties": false,
        "description": "Category of the model.",
        "required": [
          "id",
          "name",
          "metadata"
        ],
        "properties": {
          "id": {
            "x-order": 1,
            "type": "string",
            "format": "uuid",
            "description": "A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.",
            "x-go-type": "uuid.UUID",
            "x-go-type-import": {
              "path": "github.com/gofrs/uuid"
            }
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "x-oapi-codegen-extra-tags": {
              "yaml": "name",
              "json": "name",
              "gorm": "name"
            },
            "default": "Uncategorized",
            "description": "The category of the model that determines the main grouping.",
            "helperText": "Select a model category",
            "enum": [
              "Analytics",
              "App Definition and Development",
              "Cloud Native Network",
              "Cloud Native Storage",
              "Database",
              "Machine Learning",
              "Observability and Analysis",
              "Orchestration & Management",
              "Platform",
              "Provisioning",
              "Runtime",
              "Security & Compliance",
              "Serverless",
              "Tools",
              "Uncategorized"
            ],
            "x-order": 2
          },
          "metadata": {
            "description": "Additional metadata associated with the category.",
            "type": "object",
            "x-oapi-codegen-extra-tags": {
              "yaml": "metadata,omitempty",
              "json": "metadata,omitempty",
              "gorm": "type:bytes;serializer:json"
            },
            "x-order": 3
          }
        }
      }
    }
  }
};

export default CategorySchema;
