{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/run402-com/json-schema/run402-com-app-repo-create-request-schema.json",
  "title": "AppRepoCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/run402-com-app-repos-api-openapi.yml#/components/schemas/AppRepoCreateRequest",
  "type": "object",
  "required": [
    "repo_name"
  ],
  "properties": {
    "repo_name": {
      "$ref": "#/$defs/AppRepoName"
    },
    "from": {
      "allOf": [
        {
          "$ref": "#/$defs/AppRepoName"
        }
      ],
      "description": "Another repo of the same project whose head and history the new repo starts from. Objects are shared, not copied, so storage does not grow."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AppRepoName": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
      "description": "App repo name; must not end in `.git`. `default` always exists."
    }
  }
}