User/keerthiyanda/dataagent topics manifest schema#602
Open
KeerthiYandaOS wants to merge 2 commits into
Open
Conversation
Adds the JSON schema for the Data Agent "topics-manifest.json" definition file, introduced to support the new Topics feature. The manifest maps each topic's stable id to a human-readable markdown file name; topic bodies live in sibling .md files referenced by fileName. The schema mirrors the conventions of the existing dataAgent definition schemas (draft-07, $id under developer.microsoft.com/json-schemas, $schema required). The fileName pattern enforces a lowercase kebab-case .md slug and rejects GUIDs.
Align the Data Agent topicsManifest/1.0.0 schema with the DataAgentTopic model in Fabric-APIs PR 994500 (Add Topics sub-resource API for DataAgent datasources): - Drop displayName/description from manifest entries; topic name and description now live in the markdown body's YAML frontmatter (per the swagger content model). The manifest/List response carries only id + fileName. - Relax fileName to the swagger rule: alphanumeric, hyphens, and underscores, ending in .md, max length 256 (e.g. company-policies.md). Removes the prior lowercase-kebab-only restriction and the GUID rejection. - Entry now requires id + fileName. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Topics are markdown files that provide guidance or context to a Data Agent for a specific data source. They are scoped per data source and stored in OneLake. While saving the Topics file we also save the manifest file which is json file that stores the mapping between topic Id and the file name. Any user edits to this file will not be committed (we need like git ignore).