Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vanheesk/Demo.JsonSchemaValidation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo JsonSchemaValidation

Goals

Demo project on working with

Adding a Schema to a C# Project

Add the following XML snippet to your .csproj file to include a JSON schema as an embedded resource:

<!-- Example embedded schema -->
<Project>
  <ItemGroup>
    <None Include="CustomerCreatedEvent.schema.json"/>
    <EmbeddedResource Include="CustomerCreatedEvent.schema.json">
      <DependentUpon>CustomerCreatedEvent.cs</DependentUpon>
      <LogicalName>CustomerCreatedEvent.schema.json</LogicalName>
    </EmbeddedResource>
  </ItemGroup>
</Project>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages