create a new custom trait definition

POST {{baseUrl}}/trait-definitions

Request Body

{"attributes"=>[{"data_type"=>"string", "display_name"=>"nostrud magna sunt esse", "name"=>"un_18ei", "default_value"=>"ullamco mollit quis sint", "repeating"=>false, "size"=>37457517, "searchable"=>false, "sortable"=>false, "read_only"=>false, "auditable"=>false, "required"=>true, "unique"=>false, "description"=>"dolor irure consectetur sint", "localizable"=>false, "validators"=>[{"type"=>"ad in do deserunt", "operation"=>"dolor ex enim", "params"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, {"type"=>"minim culpa dolor laborum veniam", "operation"=>"nulla dolore commodo", "params"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}]}, {"data_type"=>"string", "display_name"=>"culpa Duis mollit aute", "name"=>"fiia", "default_value"=>"mollit minim dolor", "repeating"=>true, "size"=>-68007474, "searchable"=>false, "sortable"=>false, "read_only"=>true, "auditable"=>false, "required"=>false, "unique"=>true, "description"=>"mollit cillum ea dolor", "localizable"=>false, "validators"=>[{"type"=>"Lorem laborum esse", "operation"=>"eiusmod minim velit ipsum", "params"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, {"type"=>"ex velit sit eu", "operation"=>"tempor Ut ", "params"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}]}], "display_name"=>"tempor dolor", "name"=>"_rjjckqmtt", "namespace"=>"reprehenderit do incididunt consequat nostr", "description"=>"nulla in est", "indexes"=>[{"columns"=>["Lorem velit", "aliqua ullamco"], "name"=>"8", "unique"=>true}, {"columns"=>["reprehenderit amet", "dolor cupidatat aute laborum"], "name"=>"69f7_h6_2mk", "unique"=>false}], "methods"=>["incididunt nisi", "ullamco Lorem deserunt"], "priority"=>-25245989, "raw_script"=>"ad reprehenderit proident qui", "script_scope"=>"et qui sunt voluptate", "script_scope_spel"=>"dolor incididunt do", "default_locale"=>"eu enim aliqua"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;name&quot;:&quot;a&quot;,&quot;display_name&quot;:&quot;ipsum in est laboris enim&quot;,&quot;description&quot;:&quot;ea velit&quot;,&quot;namespace&quot;:&quot;veniam&quot;,&quot;methods&quot;:[&quot;tempor dolor&quot;,&quot;incididunt sunt fugiat&quot;],&quot;priority&quot;:-17477256,&quot;script&quot;:[&quot;consectet&quot;,&quot;esse dolore qui aliqua&quot;],&quot;script_scope&quot;:&quot;tempor enim voluptate ut esse&quot;,&quot;script_scope_spel&quot;:&quot;fugiat consequat&quot;,&quot;default_locale&quot;:&quot;sunt&quot;,&quot;etag&quot;:34086552,&quot;_links&quot;:{&quot;self&quot;:{&quot;href&quot;:&quot;Lorem officia Excepteur sint voluptate&quot;},&quot;edit&quot;:{&quot;href&quot;:&quot;nisi sunt ut&quot;},&quot;urn:eim:linkrel:namespace&quot;:{&quot;href&quot;:&quot;est eiusmod exercitation&quot;},&quot;urn:eim:linkrel:attributes&quot;:{&quot;href&quot;:&quot;ex sed mollit&quot;},&quot;urn:eim:linkrel:index_definitions&quot;:{&quot;href&quot;:&quot;laborum&quot;}}}