Schema URL

Type: object

JSON Schema for CNC G & M Codes

Properties

title string required

Descriptive title of the JSON Reference

description string required

Description of the JSON Reference

type string required

The type of code (G or M)

Values: "gcode" "mcode"
machineType string required

The type of CNC machine

Values: "edm" "mill" "lathe" "laser" "printer" "swiss"
$schema string

Link to this schema

keywords string[]

An Array of string keywords describing the JSON Reference (Optional)

variant object

Defined if G/M Codes are for specific MTB/3DP Variant. (Must be lower case, 3-8 characters)

2 nested properties
name string
minLength=3maxLength=8pattern=[a-z0-9]
remove string[]
uniqueItems=true
codes object

Individual G/M Codes

Definitions

parameters object

An array of possible parameters to the code