"schemas.contentsSidebarUrlHint":"URL to the plugin for the sidebar in the list view.",
"schemas.contentsSidebarUrlHint":"URL to the plugin for the sidebar in the list view.",
"schemas.create":"Create Schema",
"schemas.create":"Create Schema",
"schemas.createAI":"\uD83E\uDE84 With AI",
"schemas.createCategory":"Create new category...",
"schemas.createCategory":"Create new category...",
"schemas.createCustom":"Custom",
"schemas.createFailed":"Failed to create schema. Please reload.",
"schemas.createFailed":"Failed to create schema. Please reload.",
"schemas.createFromJson":"From JSON",
"schemas.createSchemaTooltip":"New Schema",
"schemas.createSchemaTooltip":"New Schema",
"schemas.deleteConfirmText":"Do you really want to delete the schema?",
"schemas.deleteConfirmText":"Do you really want to delete the schema?",
"schemas.deleteConfirmTitle":"Delete schema",
"schemas.deleteConfirmTitle":"Delete schema",
@ -1007,12 +1011,14 @@
"schemas.modeMultipleDescription":"Best for multiple instances like blog posts, pages, authors, products...",
"schemas.modeMultipleDescription":"Best for multiple instances like blog posts, pages, authors, products...",
"schemas.modeSingle":"Single content",
"schemas.modeSingle":"Single content",
"schemas.modeSingleDescription":"Best for single instances like the home page, privacy policies, settings...",
"schemas.modeSingleDescription":"Best for single instances like the home page, privacy policies, settings...",
"schemas.nameWarning":"These values cannot be changed later.",
"schemas.nameWarning":"The name is used to identify your schema in every HTTP request. It must be unique within an app and cannot be changed once set.",
"schemas.contentsSidebarUrlHint":"URL to the plugin for the sidebar in the list view.",
"schemas.contentsSidebarUrlHint":"URL to the plugin for the sidebar in the list view.",
"schemas.create":"Create Schema",
"schemas.create":"Create Schema",
"schemas.createAI":"\uD83E\uDE84 With AI",
"schemas.createCategory":"Create new category...",
"schemas.createCategory":"Create new category...",
"schemas.createCustom":"Custom",
"schemas.createFailed":"Failed to create schema. Please reload.",
"schemas.createFailed":"Failed to create schema. Please reload.",
"schemas.createFromJson":"From JSON",
"schemas.createSchemaTooltip":"New Schema",
"schemas.createSchemaTooltip":"New Schema",
"schemas.deleteConfirmText":"Do you really want to delete the schema?",
"schemas.deleteConfirmText":"Do you really want to delete the schema?",
"schemas.deleteConfirmTitle":"Delete schema",
"schemas.deleteConfirmTitle":"Delete schema",
@ -1007,12 +1011,14 @@
"schemas.modeMultipleDescription":"Best for multiple instances like blog posts, pages, authors, products...",
"schemas.modeMultipleDescription":"Best for multiple instances like blog posts, pages, authors, products...",
"schemas.modeSingle":"Single content",
"schemas.modeSingle":"Single content",
"schemas.modeSingleDescription":"Best for single instances like the home page, privacy policies, settings...",
"schemas.modeSingleDescription":"Best for single instances like the home page, privacy policies, settings...",
"schemas.nameWarning":"These values cannot be changed later.",
"schemas.nameWarning":"The name is used to identify your schema in every HTTP request. It must be unique within an app and cannot be changed once set.",
You are a agent to create sample content for a headless CMS.
When asked to create a **schema** for a content type, return a JSON document as the **first markdown code block**. Use the following format:
```
{
"name": string, // The schema name in kebab-case,
"hint": string | null | undefined // Optional description of the schema,
"fields": [{
"name": string, // Field name in camelCase,
"hint": string | null | undefined // Optional description of the field,
"type": "Slug | Text | MultilineText | Markdown | Number | Boolean",
"isRequired": false,
"isLocalized": false,
"minLength": number | null, // For Slug, Text, MultilineText, Markdown
"maxLength" number | null, // For Slug, Text, MultilineText, Markdown
"minValue": number | null, // For Number
"maxValue": number | null, // For Number
}]
}
```
### 🚫 Absolutely Forbidden Fields
Do **not** include any **CMS metadata fields** under any circumstances. These fields are automatically managed by the CMS system and **not authored by content creators**. This includes fields related to:
⚠️ **Note:** This list is *not exhaustive*. Any field related to **system-level behavior, versioning, publishing workflow, or timestamps** should **never** be included.
Only include **fields that describe the actual content** of the schema.
### Schema Rules:
1. Use **kebab-case** for the schema name (e.g., my-schema).
2. Use **camelCase** for field names (e.g., myField).
3. Ensure that the schema **`hint`** accurately reflects the purpose of the schema, but keep it short and precise. Do not just repeat the fields.
4. Ensure that the field **hint** accurately reflects the purpose of the schema. It can be omitted if it does not provide useful or necessary information
When asked to create **sample content**, return a second **markdown code block** with valid JSON—an **array of objects**.
### Sample Content Rules:
1. The result **must be valid JSON** representing an array of objects.
2. Each object's properties must match the **field names** in the schema.
3. Keep the **size of the sample content reasonable**.
4. For **localized fields**, use the following format (only use the language codes specified in the request):
```
{
"languageCode": "Hello World"
}
```
5. For **image fields**, use this structure:
```
{
"fileName": "Example.png"
"description": "Describe the image."
}
```
### 🛠 Correction Instructions:
If you are asked to correct errors, **always return the full response**, including both schema and sample content (if requested). Do not omit the schema, even if it was already correct.
# SA1623: Property summary documentation should match accessors
# SA1623: Property summary documentation should match accessors
dotnet_diagnostic.SA1623.severity=none
dotnet_diagnostic.SA1623.severity=none
# SYSLIB1045: Convert to 'GeneratedRegexAttribute'.
dotnet_diagnostic.SYSLIB1045.severity=none
# xUnit1033: Test classes decorated with 'Xunit.IClassFixture<TFixture>' or 'Xunit.ICollectionFixture<TFixture>' should add a constructor argument of type TFixture
# xUnit1033: Test classes decorated with 'Xunit.IClassFixture<TFixture>' or 'Xunit.ICollectionFixture<TFixture>' should add a constructor argument of type TFixture