{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jitty/json-schema/jitty-post-v2-sites-siteid-registered-scripts-inline-request-schema.json",
  "title": "PostV2SitesSiteidRegisteredScriptsInlineRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/jitty-openapi-generated.yml#/components/schemas/PostV2SitesSiteidRegisteredScriptsInlineRequest",
  "type": "object",
  "properties": {
    "displayName": {
      "type": "string",
      "description": "The name of your script"
    },
    "version": {
      "type": "string",
      "description": "The semantic version of your script. Each script must have a unique combination of displayName and version."
    },
    "canCopy": {
      "type": "boolean",
      "description": "Define whether the script can be copied on site duplication and transfer"
    },
    "sourceCode": {
      "type": "string",
      "description": "The inline source code of the script"
    }
  },
  "required": [
    "displayName",
    "version",
    "canCopy",
    "sourceCode"
  ]
}