Hugging Face · Schema
CreateRepoRequest
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Repository name |
| type | string | Repository type |
| organization | string | Organization to create the repo under |
| private | boolean | Whether the repo should be private |
| sdk | string | SDK for Spaces (required when type is space) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CreateRepoRequest",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Repository name"
},
"type": {
"type": "string",
"description": "Repository type"
},
"organization": {
"type": "string",
"description": "Organization to create the repo under"
},
"private": {
"type": "boolean",
"description": "Whether the repo should be private"
},
"sdk": {
"type": "string",
"description": "SDK for Spaces (required when type is space)"
}
}
}