Payload for PATCH /namespaces/name/{name}.
Contains the new values for the descriptive information of a namespace.
name | data type | constraints | description |
---|---|---|---|
allowsRegistration | boolean | Set to false to disable registration of new URNs in the namespace. This meant for namespaces which are no longer in active use. | |
owner | string | Set the URI of an organisation to transfer ownership of the namespace to the new organisation. | |
urnNamingPolicy | string | Set URI of a validation policy to activate a new policy.
This does not affect already registered URNs. Only new registrations are validated against the new policy. |
|
urlPolicy | string | Set URI of a URL policy to activate a new policy.
This does not affect already registered URls. Only new and updated URLs are validated against the new policy. |
|
comment | string | max size: 1000, min size: 0 | Sets a new human readable comments about the namespace. |
resolverUrl | string | Sets a new URL for the resolver which is used for resolving URNs from the namespace. |
Example
{ "allowsRegistration" : true, "owner" : "http://example.org/organisations/id/1", "urnNamingPolicy" : "http://example.org/policies/urn-naming/id/1", "urlPolicy" : "http://example.org/policies/url/id/1", "comment" : "This namespace is used for test purposes only", "resolverUrl" : "http://example.org/resolver" }