Create a RepositoryAttribute
This use case is intended to create a RepositoryAttribute, i.e. an unshared LocalAttribute based on a given IdentityAttribute.
Parameters
- The
contentfor the LocalAttribute that ought to be created as IdentityAttribute without theownerproperty, since it is automatically set to theaddressof your Identity.
On Success
- A LocalAttribute is created according to the parameters and returned with an undefined
shareInfo.
On Failure
- The LocalAttribute cannot be created if the provided
content.value.@typedoes not match one of the allowed IdentityAttribute value types. - The LocalAttribute cannot be created if invalid
content.tagswere specified. A tag is invalid if it is neither contained in the AttributeTagCollection for thecontent.value.@typeand starts with the prefixbkb:nor starts with the custom tag prefixx:orX:, the prefixurn:, the prefixlanguage:followed by a valid ISO 639 language code nor the prefixmimetype:followed by a valid MIME type matching the pattern^[a-z-*]+/[a-z-*]+$. - The LocalAttribute cannot be created if there is already an existing RepositoryAttribute whose
succeededByproperty is undefined that has the exact samecontent.value.