Skip to content

Instantly share code, notes, and snippets.

@Hyperxq
Created April 26, 2024 02:15
Show Gist options
  • Save Hyperxq/eca9df818efd3fc99d6fa0371264c488 to your computer and use it in GitHub Desktop.
Save Hyperxq/eca9df818efd3fc99d6fa0371264c488 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://api.pbuilder.dev/",
"definitions": {
"Dictionary": {
"type": "object",
"additionalProperties": true
},
"SchematicSettings": {
"type": "object",
"properties": {
"collection": {
"type": "string"
}
},
"additionalProperties": true
},
"ISchematic": {
"type": "object",
"properties": {
"alias": {
"type": "string"
},
"collection": {
"type": "string"
},
"ID": {
"type": "string"
},
"path": {
"type": "string"
},
"settings": {
"$ref": "#/definitions/SchematicSettings"
},
"instances": {
"type": "array",
"items": {
"$ref": "#/definitions/ISchematic"
}
},
"dependsOn": {
"type": "array",
"items": {
"type": "string"
}
},
"children": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/ISchematic"
}
}
},
"additionalProperties": false
},
"ICollections": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"keepInstalled": {
"type": "boolean"
},
"version": {
"type": "string"
}
},
"additionalProperties": {
"$ref": "#/definitions/SchematicSettings"
}
}
},
"ProjectSettings": {
"type": "object",
"additionalProperties": true
}
},
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"collections": {
"$ref": "#/definitions/ICollections"
},
"projects": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/ProjectSettings"
}
}
},
"additionalProperties": {
"$ref": "#/definitions/ISchematic"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment