{
	"$ref": "#/definitions/SeedByline",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"definitions": {
		"SeedByline": {
			"additionalProperties": false,
			"description": "Byline profile in seed",
			"properties": {
				"avatar": {
					"$ref": "#/definitions/SeedBylineAvatar",
					"description": "Avatar for the byline, seeded as an already-stored media item. Unlike a content `$media` reference, nothing is downloaded: the caller supplies the `storageKey` of a file that already exists in the configured storage (the common case when seeding alongside a media migration). A `media` row is created and linked via `avatarMediaId`."
				},
				"bio": {
					"type": "string"
				},
				"displayName": {
					"type": "string"
				},
				"id": {
					"description": "Seed-local ID for byline references in content entries",
					"type": "string"
				},
				"isGuest": {
					"type": "boolean"
				},
				"slug": {
					"type": "string"
				},
				"websiteUrl": {
					"type": "string"
				}
			},
			"required": [
				"id",
				"slug",
				"displayName"
			],
			"type": "object"
		},
		"SeedBylineAvatar": {
			"additionalProperties": false,
			"properties": {
				"alt": {
					"description": "Alt text for the avatar image.",
					"type": "string"
				},
				"filename": {
					"description": "Filename for the media record. Defaults to the storage key's basename.",
					"type": "string"
				},
				"height": {
					"type": "number"
				},
				"mimeType": {
					"description": "MIME type for the media record. Defaults to `image/jpeg`.",
					"type": "string"
				},
				"storageKey": {
					"description": "Storage key of an avatar file that already exists in the configured storage.",
					"type": "string"
				},
				"width": {
					"type": "number"
				}
			},
			"required": [
				"storageKey"
			],
			"type": "object"
		}
	},
	"$id": "https://premium-cms.com/schemas/seed/byline.schema.json",
	"title": "SeedByline"
}
