class that captures details of a struct-attribute.
| name | data type | description |
|---|---|---|
| name | string | |
| typeName | string | |
| isOptional | boolean | |
| cardinality | Cardinality | |
| valuesMinCount | number | |
| valuesMaxCount | number | |
| isUnique | boolean | |
| isIndexable | boolean | |
| constraints | array of AtlasConstraintDef |
Example
{
"name" : "...",
"typeName" : "...",
"isOptional" : true,
"cardinality" : "SINGLE",
"valuesMinCount" : 12345,
"valuesMaxCount" : 12345,
"isUnique" : true,
"isIndexable" : true,
"constraints" : [ {
"type" : "...",
"params" : {
"property1" : { },
"property2" : { }
}
}, {
"type" : "...",
"params" : {
"property1" : { },
"property2" : { }
}
} ]
}