{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flareapp-io/json-schema/flareapp-io-base-project-schema.json",
  "title": "baseProject",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/flareapp-io-api-openapi.yml#/components/schemas/baseProject",
  "type": [
    "object"
  ],
  "properties": {
    "id": {
      "type": [
        "integer"
      ],
      "description": "The project's unique identifier."
    },
    "name": {
      "type": [
        "string"
      ],
      "description": "The project's name."
    },
    "slug": {
      "type": [
        "string"
      ],
      "description": "The project's slug."
    },
    "group_name": {
      "type": [
        "null",
        "string"
      ],
      "description": "The project's group name."
    },
    "errors_last_7_days_count": {
      "type": [
        "integer"
      ],
      "description": "The number of errors that occurred in the last 7 days."
    },
    "errors_previous_7_days_count": {
      "type": [
        "integer"
      ],
      "description": "The number of errors that occurred in the between 7 and 14 days."
    },
    "unresolved_errors_count": {
      "type": [
        "integer"
      ],
      "description": "The number of unresolved errors."
    },
    "last_error_received_at": {
      "type": [
        "string"
      ],
      "description": "The date and time of the last error that occurred."
    },
    "spike_protection_active_until": {
      "type": [
        "null",
        "string"
      ],
      "description": "The date and time until the spike protection is active."
    },
    "protect_against_spikes": {
      "type": [
        "boolean"
      ],
      "description": "Indicates if the project is spike protection is enabled."
    },
    "stage": {
      "type": [
        "string"
      ],
      "enum": [
        "local",
        "testing",
        "development",
        "staging",
        "acceptance",
        "production"
      ],
      "description": "The project's stage."
    },
    "technology": {
      "type": [
        "null",
        "string"
      ],
      "enum": [
        "Laravel",
        "PHP",
        "JS",
        "Vue",
        "React",
        "Svelte"
      ],
      "description": "The project's technology."
    }
  }
}