/*
 * Copyright 2026 Oleg Borodin <onborodin@gmail.com>
 */
package descr

type Manifest struct {
	ID           string `db:"id"            json:"id"`
	Name         string `db:"name"          json:"name"`
	Reference    string `db:"reference"     json:"reference"`
	ContentType  string `db:"contentType"   json:"contentType"`
	Payload      string `db:"payload"       json:"-"`
	Digest       string `db:"digest"        json:"digest"`
	CreatedAt    string `db:"created_at"    json:"createdAt"`
	UpdatedAt    string `db:"updated_at"    json:"updatedAt"`
	CreatedBy    string `db:"created_by"    json:"createdBy,omitempty"`
	UpdatedBy    string `db:"updated_by"    json:"updatedBy,omitempty"`
	Architecture string `db:"architecture"  json:"architecture,omitempty"`
	OS           string `db:"os"            json:"os,omitempty"`
	Variant      string `db:"variant"       json:"variant,omitempty"`
}

type Tags struct {
	Name string   `json:"name" yaml:"name"`
	Tags []string `json:"tags" yaml:"tags"`
}
