# repo_creation_request


[API catalog](/reference/api/) · [Docker Hub overview](/reference/api/hub/latest/) · [Product manual](https://docs.docker.com/docker-hub/) · [OpenAPI specification](/reference/api/hub/latest.yaml)

API version: 2-beta



Schema constraints and annotations:

```json
{
  "properties": {
    "description": {
      "description": "Short description of the repository",
      "example": "A sample application repository",
      "maxLength": 100,
      "type": "string"
    },
    "full_description": {
      "description": "Detailed description of the repository",
      "example": "This is a comprehensive description of my application repository that contains additional details about the project, its purpose, usage instructions, and other relevant information.",
      "maxLength": 25000,
      "type": "string"
    },
    "is_private": {
      "default": false,
      "description": "Whether the repository should be private",
      "example": false,
      "type": "boolean"
    },
    "name": {
      "description": "The name of the repository. Must be 2-255 characters long and may only include \nalphanumeric characters, periods (.), underscores (_), or hyphens (-). \nLetters must be lowercase.\n",
      "example": "my-app",
      "maxLength": 255,
      "minLength": 2,
      "pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$",
      "type": "string"
    },
    "namespace": {
      "description": "The namespace where the repository will be created",
      "example": "myorganization",
      "type": "string"
    },
    "registry": {
      "description": "The registry where the repository will be hosted",
      "example": "docker.io",
      "type": "string"
    }
  },
  "required": [
    "name",
    "namespace"
  ],
  "type": "object"
}
```



