{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-serverless-application-repository/refs/heads/main/json-schema/amazon-serverless-application-repository-application-schema.json",
  "title": "Application",
  "description": "Information about the application.",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The application Amazon Resource Name (ARN).",
      "example": "arn:aws:serverlessrepo:us-east-1:123456789012:applications/MyApp"
    },
    "name": {
      "type": "string",
      "description": "The name of the application.",
      "example": "MyApp"
    },
    "author": {
      "type": "string",
      "description": "The name of the author publishing the app.",
      "example": "developer@example.com"
    },
    "description": {
      "type": "string",
      "description": "The description of the application.",
      "example": "A sample serverless application"
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time this resource was created."
    },
    "homePageUrl": {
      "type": "string",
      "description": "A URL with more information about the application."
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Labels to improve discovery of apps in search results."
    },
    "licenseUrl": {
      "type": "string",
      "description": "A link to a license file of the app."
    },
    "readmeUrl": {
      "type": "string",
      "description": "A link to the readme file in Markdown language."
    },
    "spdxLicenseId": {
      "type": "string",
      "description": "A valid identifier from https://spdx.org/licenses/."
    },
    "version": {
      "$ref": "#/components/schemas/VersionSummary"
    }
  }
}