Payload for POST /namespaces.
Contains the name of the new namespace and additional administrative information.
| name | data type | constraints | description |
|---|---|---|---|
| name | string | required, max size: 50, min size: 4 | The prefix that is assigned to the new namespace. This prefix must be unique and not yet registered. |
| owner | string | required | URI of the organisation which owns the new namespace. |
| urnNamingPolicy | string | required | URI of the validation policy that URNs in the new namespace must adhere to. |
| urlPolicy | string | required | URI of the URL policy to which URLs registered with URNs in the new namespace must adhere to. |
| comment | string | max size: 1000, min size: 0 | Human readable comments about the new namespace. |
| resolverUrl | string | URL of a resolver which is responsible for resolving URNs from the new namespace. |
Example
{
"name" : "urn:nbn:de2112",
"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"
}