{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-script-xo-schema.json",
  "title": "ScriptXO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-script-api-openapi.yml#/components/schemas/ScriptXO",
  "required": [
    "content",
    "name",
    "type"
  ],
  "type": "object",
  "properties": {
    "name": {
      "minLength": 1,
      "pattern": "^[a-zA-Z0-9\\-]{1}[a-zA-Z0-9_\\-\\.]*$",
      "type": "string"
    },
    "content": {
      "minLength": 1,
      "type": "string"
    },
    "type": {
      "minLength": 1,
      "type": "string"
    }
  }
}