{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-get-document-request-schema.json",
  "title": "GetDocumentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-documents-api-openapi.yml#/components/schemas/GetDocumentRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the SSM document."
    },
    "VersionName": {
      "type": "string",
      "description": "An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document and can't be changed."
    },
    "DocumentVersion": {
      "type": "string",
      "description": "The document version for which you want information."
    },
    "DocumentFormat": {
      "type": "string",
      "enum": [
        "YAML",
        "JSON",
        "TEXT"
      ],
      "description": "Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format."
    }
  },
  "required": [
    "Name"
  ]
}