{
  "description": "Service configuration for importing AWS S3 into an Amplify project",
  "type": "object",
  "properties": {
    "version": {
      "type": "number",
      "enum": [1]
    },
    "serviceConfiguration": {
      "$ref": "#/definitions/ImportS3ServiceConfiguration"
    }
  },
  "required": ["serviceConfiguration", "version"],
  "definitions": {
    "ImportS3ServiceConfiguration": {
      "description": "Service configuration for AWS S3 through Amplify",
      "type": "object",
      "properties": {
        "bucketName": {
          "description": "Globally unique bucket name",
          "type": "string"
        },
        "serviceName": {
          "description": "Descriminant used to determine the service config type",
          "type": "string",
          "enum": ["S3"]
        }
      },
      "required": ["bucketName", "serviceName"]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
