{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/StackScript", "title": "StackScript", "type": "object", "properties": { "id": { "type": "integer", "description": "The unique ID of this StackScript." }, "username": { "type": "string", "description": "The username of the creator." }, "label": { "type": "string", "description": "The label for this StackScript." }, "description": { "type": "string", "description": "A description of this StackScript." }, "images": { "type": "array", "items": { "type": "string" }, "description": "Compatible image IDs." }, "script": { "type": "string", "description": "The script content." }, "rev_note": { "type": "string", "description": "A revision note." }, "is_public": { "type": "boolean", "description": "Whether this StackScript is publicly available." }, "deployments_active": { "type": "integer", "description": "The number of active deployments." }, "deployments_total": { "type": "integer", "description": "The total number of deployments." }, "created": { "type": "string", "format": "date-time", "description": "When this StackScript was created." }, "updated": { "type": "string", "format": "date-time", "description": "When this StackScript was last updated." } } }