Skip to content

Commit

Permalink
Updated GH Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecentola committed Jul 22, 2022
1 parent 3401154 commit 86e62bd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 10 deletions.
20 changes: 16 additions & 4 deletions docs/draft/2022-07/schema
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,22 @@
},
"variant": {
"description": "Defined if G/M Codes are for specific MTB/3DP Variant. (Must be lower case, 3-8 characters)",
"type": "string",
"minLength": 3,
"maxLength": 8,
"pattern": "[A-Za-z0-9]"
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 3,
"maxLength": 8,
"pattern": "[a-z0-9]"
},
"remove": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
}
},
"codes": {
"description": "Individual G/M Codes",
Expand Down
26 changes: 20 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[!NPM Version](https://badgen.net/npm/v/@appliedengdesign/cnccodes-json-schema) [!NPM DL](https://badgen.net/npm/dt/@appliedengdesign/cnccodes-json-schema) [![MIT License](https://badgen.net/badge/license/MIT)](https://opensource.org/licenses/MIT)
[![NPM Version](https://badgen.net/npm/v/@appliedengdesign/cnccodes-json-schema)](https://www.npmjs.com/package/@appliedengdesign/cnccodes-json-schema) [![NPM DL](https://badgen.net/npm/dt/@appliedengdesign/cnccodes-json-schema)](https://www.npmjs.com/package/@appliedengdesign/cnccodes-json-schema) [![MIT License](https://badgen.net/badge/license/MIT)](https://opensource.org/licenses/MIT)

[![Follow @appliedengdesign](https://badgen.net/twitter/follow/appliedengdes)](https://twitter.com/appliedengdes)

# CNCCodes JSON Schema

This project is a schema definition for using JSON to store description and usage information about G & M codes. It was developed out of a necessity for [G-Code Reference](https://github.com/appliedengdesign/gcode-reference). It will be updated as the needs arise for the various types of G/M codes and various Machine Tools or 3D Printers.

Latest Draft Version: 2022-07
Latest NPM Version: v0.3.0

Latest Draft Schema Version: 2022-07

Previous Versions: [2022-06](https://appliedengdesign.github.io/cnccodes-json-schema/draft/2022-06/schema)

Expand Down Expand Up @@ -67,10 +69,22 @@ Previous Versions: [2022-06](https://appliedengdesign.github.io/cnccodes-json-sc
},
"variant": {
"description": "Defined if G/M Codes are for specific MTB/3DP Variant. (Must be lower case, 3-8 characters)",
"type": "string",
"minLength": 3,
"maxLength": 8,
"pattern": "[A-Za-z0-9]"
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 3,
"maxLength": 8,
"pattern": "[a-z0-9]"
},
"remove": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
}
},
"codes": {
"description": "Individual G/M Codes",
Expand Down

0 comments on commit 86e62bd

Please sign in to comment.