inspect search bug
This commit is contained in:
		@@ -24,15 +24,15 @@ const (
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
type DataResource struct {
 | 
					type DataResource struct {
 | 
				
			||||||
	AbstractIntanciatedResource[*ResourceInstance[*DataResourcePartnership]]
 | 
						AbstractIntanciatedResource[*ResourceInstance[*DataResourcePartnership]]
 | 
				
			||||||
	Type                   string    `bson:"type,omitempty" json:"type,omitempty"`
 | 
						Type                   string     `bson:"type,omitempty" json:"type,omitempty"`
 | 
				
			||||||
	Source                 string    `json:"source,omitempty" bson:"source,omitempty"` // Source is the source of the resource
 | 
						Source                 string     `json:"source,omitempty" bson:"source,omitempty"` // Source is the source of the resource
 | 
				
			||||||
	Quality                string    `bson:"quality,omitempty" json:"quality,omitempty"`
 | 
						Quality                string     `bson:"quality,omitempty" json:"quality,omitempty"`
 | 
				
			||||||
	OpenData               bool      `bson:"open_data" json:"open_data" default:"false"` // Type is the type of the storage
 | 
						OpenData               bool       `bson:"open_data" json:"open_data" default:"false"` // Type is the type of the storage
 | 
				
			||||||
	Static                 bool      `bson:"static" json:"static" default:"false"`
 | 
						Static                 bool       `bson:"static" json:"static" default:"false"`
 | 
				
			||||||
	UpdatePeriod           time.Time `bson:"update_period,omitempty" json:"update_period,omitempty"`
 | 
						UpdatePeriod           *time.Time `bson:"update_period,omitempty" json:"update_period,omitempty"`
 | 
				
			||||||
	PersonalData           bool      `bson:"personal_data,omitempty" json:"personal_data,omitempty"`
 | 
						PersonalData           bool       `bson:"personal_data,omitempty" json:"personal_data,omitempty"`
 | 
				
			||||||
	AnonymizedPersonalData bool      `bson:"anonymized_personal_data,omitempty" json:"anonymized_personal_data,omitempty"`
 | 
						AnonymizedPersonalData bool       `bson:"anonymized_personal_data,omitempty" json:"anonymized_personal_data,omitempty"`
 | 
				
			||||||
	SizeGB                 float64   `json:"size,omitempty" bson:"size,omitempty"` // SizeGB is the size of the data	License              DataLicense `json:"license" bson:"license" description:"license of the data" default:"0"` // License is the license of the data
 | 
						SizeGB                 float64    `json:"size,omitempty" bson:"size,omitempty"` // SizeGB is the size of the data	License              DataLicense `json:"license" bson:"license" description:"license of the data" default:"0"` // License is the license of the data
 | 
				
			||||||
	// ? Interest               DataLicense `json:"interest" bson:"interest" description:"interest of the data" default:"0"`      // Interest is the interest of the data
 | 
						// ? Interest               DataLicense `json:"interest" bson:"interest" description:"interest of the data" default:"0"`      // Interest is the interest of the data
 | 
				
			||||||
	Example string `json:"example,omitempty" bson:"example,omitempty" description:"base64 encoded data"` // Example is an example of the data
 | 
						Example string `json:"example,omitempty" bson:"example,omitempty" description:"base64 encoded data"` // Example is an example of the data
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user