{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-data-exchange/json-schema/amazon-data-exchange-create-data-grant-request-schema.json",
  "title": "CreateDataGrantRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-data-exchange-data-grants-api-openapi.yml#/components/schemas/CreateDataGrantRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the data grant."
    },
    "GrantDistributionScope": {
      "type": "string",
      "description": "The distribution scope of the data grant."
    },
    "ReceiverPrincipal": {
      "type": "string",
      "description": "The Amazon Web Services account ID of the data grant receiver."
    },
    "SourceDataSetId": {
      "type": "string",
      "description": "The ID of the data set used to create the data grant."
    },
    "EndsAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when access to the associated data set ends."
    },
    "Description": {
      "type": "string",
      "description": "The description of the data grant."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags to add to the data grant. A tag is a key-value pair."
    }
  },
  "required": [
    "Name",
    "GrantDistributionScope",
    "ReceiverPrincipal",
    "SourceDataSetId"
  ]
}