// Code generated by apbr generate. DO NOT EDIT.
// versions:
// 	apbr generate v1.2

//go:build !codeanalysis

package model

import (
	"github.com/apibrew/apibrew/pkg/model"
	"google.golang.org/protobuf/types/known/structpb"
)

var TenantResource = &model.Resource{
	Name:      "Tenant",
	Namespace: "default",
	SourceConfig: &model.ResourceSourceConfig{
		Entity:  "",
		Catalog: "",
	},
	Properties: []*model.ResourceProperty{
		{
			Name:         "id",
			Type:         model.ResourceProperty_UUID,
			Primary:      true,
			Required:     true,
			Immutable:    true,
			ExampleValue: structpb.NewStringValue("a39621a4-6d48-11ee-b962-0242ac120002"),

			Annotations: map[string]string{
				"SpecialProperty": "true",
				"SourceMatchKey":  "956d60d041e8",
			},
		},
		{
			Name:   "name",
			Type:   model.ResourceProperty_STRING,
			Unique: true,

			Annotations: map[string]string{
				"SourceMatchKey": "3a7df34ec4ad",
			},
		},
		{
			Name: "description",
			Type: model.ResourceProperty_STRING,

			Annotations: map[string]string{
				"SourceMatchKey": "5d7056cfa1f9",
			},
		},
		{
			Name:         "version",
			Type:         model.ResourceProperty_INT32,
			Required:     true,
			DefaultValue: structpb.NewNumberValue(1),
			ExampleValue: structpb.NewNumberValue(1),

			Annotations: map[string]string{
				"SpecialProperty":     "true",
				"AllowEmptyPrimitive": "true",
				"SourceMatchKey":      "3d588ae02a59",
			},
		},
	},
}
