{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/auth/v1/sentry-dsn-response.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "description": "Sentry DSN for submitting errors.\n",
  "properties": {
    "dsn": {
      "additionalProperties": false,
      "description": "Access credentials and urls for the Sentry project.\nCredentials will expire in 24-48 hours, you should refresh them within\n24 hours.\n",
      "properties": {
        "public": {
          "description": "Access credential and URL for public error reports.\nThese credentials can be used for up-to 24 hours.\nThis is for use in client-side applications only.\n",
          "format": "uri",
          "type": "string"
        },
        "secret": {
          "description": "Access credential and URL for private error reports.\nThese credentials can be used for up-to 24 hours.\nThis is for use in serser-side applications and should **not** be\nleaked.\n",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "secret",
        "public"
      ],
      "type": "object"
    },
    "expires": {
      "description": "Expiration time for the credentials. The credentials should not be used\nafter this time. They might not be revoked immediately, but will be at\nsome arbitrary point after this date-time.\n",
      "format": "date-time",
      "type": "string"
    },
    "project": {
      "description": "Project name that the DSN grants access to.\n",
      "title": "Project",
      "type": "string"
    }
  },
  "required": [
    "project",
    "dsn",
    "expires"
  ],
  "title": "Sentry DSN Response",
  "type": "object"
}