These assertions are legit:
[[:db/add "testProp" :db/ident :testProp]]
and:
[:db/add "testProp" :db/ident :testProp]
[:db/add "testProp :db/valueType :db.type/string]
[:db/add "testProp :add/cardinality :db.cardinality/one]]
However, assertion sets which are missing one of the required attributes, such as:
[:db/add "testProp" :db/ident :testProp]
[:db/add "testProp :db/valueType :db.type/string]]
should be illegal.
Similarly,
[[:db/add "testProp :db/valueType :db.type/string]
[:db/add "testProp :add/cardinality :db.cardinality/one]]
should also be illegal.
These assertions are legit:
[[:db/add "testProp" :db/ident :testProp]]and:
However, assertion sets which are missing one of the required attributes, such as:
should be illegal.
Similarly,
should also be illegal.