Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IconsDataSchema #1634

Merged
merged 3 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions WinUIGallery/DataModel/IconsDataSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": {
"type": "object",
"properties": {
"Code": {
"type": "string",
"description": "Glyph code",
"uniqueItems": true
},
"Name": {
"type": "string",
"description": "Name of the glyph",
"uniqueItems": true
},
"Tags": {
"type": "array",
"description": "Array of tags related to this glyph",
"uniqueItems": true,
"items": {
"type": "string"
}
}
},
"required": ["Code", "Name"]
}
}
3 changes: 2 additions & 1 deletion WinUIGallery/WinUIGallery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -312,5 +312,6 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</_NoneWithTargetPath>
</ItemGroup>
</Target>
</Target>
<ProjectExtensions><VisualStudio><UserProperties datamodel_4iconsdata_1json__JsonSchema="IconsDataSchema.json" /></VisualStudio></ProjectExtensions>
HO-COOH marked this conversation as resolved.
Show resolved Hide resolved
</Project>