{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-custom-script-details-schema.json",
  "title": "CustomScriptDetails",
  "description": "Details of a custom script",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-indesign-openapi.yml#/components/schemas/CustomScriptDetails",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "Version of the custom script"
    },
    "url": {
      "type": "string",
      "description": "URL that was generated during registration"
    },
    "downloadurl": {
      "type": "string",
      "description": "Pre-signed URL for downloading the script (valid for 30 minutes)"
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "Registration date of the script"
    },
    "scriptName": {
      "type": "string",
      "description": "Name of the custom script"
    },
    "appVersionStrategy": {
      "type": "string",
      "description": "Strategy used to determine the InDesign app version for this script",
      "enum": [
        "latest_version",
        "fixed_major_version",
        "fixed_major_and_minor_version"
      ]
    },
    "majorAppVersion": {
      "type": "string",
      "description": "Major version of the InDesign app required for this script"
    },
    "minorAppVersion": {
      "type": "string",
      "description": "Minor version of the InDesign app required for this script"
    }
  }
}