The most basic entity type in our domain. We require that there is a location open to enter violations, so that this information can be returned to the client.
| name | data type | constraints | description |
|---|---|---|---|
| fileBytes | string | ||
| filename | string | ||
| subDirectory | string | ||
| lineCount | number | required int | |
| extension | string | ||
Properties inherited from BaseEntity |
|||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. | |
Example
{
"fileBytes" : "...",
"filename" : "...",
"subDirectory" : "...",
"lineCount" : 12345,
"extension" : "...",
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}