Coder Social home page Coder Social logo

mhegazy / schemastore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schemastore/schemastore

1.0 2.0 0.0 2.25 MB

A collection of JSON schema files incuding full API

Home Page: http://schemastore.org

License: Other

JavaScript 83.79% C# 11.16% CSS 3.24% ASP 1.81%

schemastore's Introduction

JSON Schema Store

A collection of JSON schemas

Build status

The repository is meant as a universal JSON schema store, where schemas for popular JSON documents can be found.

Website: schemastore.org

Contribute

Contributions are more than welcome. Both to the website itself or to the various schema files.

JSON Schema

You can contribute in a variety of ways. For a detailed tutorial, read Scott Addie's Community-Driven JSON Schemas in Visual Studio 2015 blog post.

  1. Submit new JSON schema files
  2. Add a JSON schema file to the schema catalog
  3. Modify/update existing schema files

Versioning of schema files are handled by modifying the file name to include the version number: myschema-1.2.json

When uploading a new schema file, make sure it targets a file that is commonly used or has potential for broad uptake.

If you don't have Visual Studio (using macOS or Linux?), you can check your modifications are fine by running:

cd src
npm install
./node_modules/.bin/grunt

CSS spec

The CSS specification is divided into multple XML documents

  • one for each CSS module as specified by the W3C.

Each XML document can contain properies, @-directives and pseudo elements/classes with descriptions, example usage and allowed values.

Here are some ways to contribute:

  1. Add missing descriptions
  2. Add missing properties and values
  3. Update the supported browsers attribute
  4. Add new CSS modules by creating a new file

The easiest way to contribute is to use Visual Studio 2012 or newer, since it has native support for this XML format.

After cloning this project to your local machine, copy the XML schema files to this folder:

C:\Users[username]\AppData\Roaming\Microsoft\VisualStudio\14.0\schemas\css where 14.0 refers to the version of Visual Studio.

If the last part of the path (schemas\css) doesn't exist, you should create it manually.

Visual Studio will now use these schema files instead of the ones it ships with.

schemastore's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.