<commit_before>package somaproto

import (
	"github.com/satori/go.uuid"
)

type ProtoRequestProperty struct {
	Custom  ProtoCustomProperty  `json:"custom,omitempty"`
	System  ProtoSystemProperty  `json:"system,omitempty"`
	Service ProtoServiceProperty `json:"service,omitempty"`
	Filter  ProtoPropertyFilter  `json:"filter,omitempty"`
}

type ProtoResultProperty struct {
	Code    uint16                 `json:"code,omitempty"`
	Status  string                 `json:"status,omitempty"`
	Text    []string               `json:"text,omitempty"`
	Custom  []ProtoCustomProperty  `json:"custom,omitempty"`
	System  []ProtoSystemProperty  `json:"system,omitempty"`
	Service []ProtoServiceProperty `json:"service,omitempty"`
}

type ProtoCustomProperty struct {
	Id         uuid.UUID `json:"id,omitempty"`
	Repository string    `json:"repository,omitempty"`
	Property   string    `json:"property,omitempty"`
	Value      string    `json:"value,omitempty"`
}

type ProtoSystemProperty struct {
	Id       uuid.UUID `json:"id,omitempty"`
	Property string    `json:"property,omitempty"`
	Value    string    `json:"value,omitempty"`
}

type ProtoServiceProperty struct {
	Id         uuid.UUID              `json:"id,omitempty"`<commit_msg>Fix naming scheme of property structs<commit_after>package somaproto

import (
	"github.com/satori/go.uuid"
)

type ProtoRequestProperty struct {
	Custom  ProtoPropertyCustom  `json:"custom,omitempty"`
	System  ProtoPropertySystem  `json:"system,omitempty"`
	Service ProtoPropertyService `json:"service,omitempty"`
	Filter  ProtoPropertyFilter  `json:"filter,omitempty"`
}

type ProtoResultProperty struct {
	Code    uint16                 `json:"code,omitempty"`
	Status  string                 `json:"status,omitempty"`
	Text    []string               `json:"text,omitempty"`
	Custom  []ProtoPropertyCustom  `json:"custom,omitempty"`
	System  []ProtoPropertySystem  `json:"system,omitempty"`
	Service []ProtoPropertyService `json:"service,omitempty"`
}

type ProtoPropertyCustom struct {
	Id         uuid.UUID `json:"id,omitempty"`
	Repository string    `json:"repository,omitempty"`
	Property   string    `json:"property,omitempty"`
	Value      string    `json:"value,omitempty"`
}

type ProtoPropertySystem struct {
	Id       uuid.UUID `json:"id,omitempty"`
	Property string    `json:"property,omitempty"`
	Value    string    `json:"value,omitempty"`
}

type ProtoPropertyService struct {
	Id         uuid.UUID              `json:"id,omitempty"`
{'fraction_non_alphanumeric': 0.11236863379143087, 'fraction_numerical': 0.0016168148746968471, 'mean_word_length': 4.134854771784233, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6834993', 'n_tokens_mistral': 692, 'n_tokens_neox': 690, 'n_words': 150}