Schema URL

Type: object

JSON Schema for CNC G & M Codes

Properties

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"
title string required

Descriptive title of the JSON

$schema string

Link to this schema

variant string

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

minLength=3maxLength=8pattern=[A-Za-z0-9]
codes object

Individual G/M Codes

Definitions

parameters object

An array of possible parameters to the code