{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-api-models-application-models-no-gen-application-spec-response-schema.json",
  "title": "ApplicationSpecResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-application-specs-api-openapi.yml#/components/schemas/egp_api_backend__server__api__models__application_models_no_gen__ApplicationSpecResponse",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The name of the Application Spec"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "The description of the Application Spec"
    },
    "theme_id": {
      "title": "Theme Id",
      "can_patch": true,
      "type": "string"
    },
    "run_online_evaluation": {
      "title": "Run Online Evaluation",
      "description": "Whether the application spec should run online evaluation, default is `false`",
      "default": false,
      "type": "boolean"
    },
    "id": {
      "type": "string",
      "title": "Id",
      "description": "The unique identifier of the entity."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At",
      "description": "The date and time when the entity was created in ISO format."
    },
    "account_id": {
      "type": "string",
      "title": "Account Id",
      "description": "The ID of the account that owns the given entity.",
      "can_patch": false
    },
    "created_by_user_id": {
      "type": "string",
      "title": "Created By User Id",
      "description": "The user who originally created the entity."
    },
    "created_by_identity_type": {
      "$ref": "#/$defs/IdentifierTypeEnum",
      "description": "The type of identity that created the entity."
    },
    "archived_at": {
      "title": "Archived At",
      "description": "The date and time when the entity was archived in ISO format.",
      "type": "string",
      "format": "date-time"
    }
  },
  "type": "object",
  "required": [
    "name",
    "description",
    "id",
    "created_at",
    "account_id"
  ],
  "$defs": {
    "IdentifierTypeEnum": {
      "type": "string",
      "enum": [
        "user",
        "service_account"
      ],
      "title": "IdentifierTypeEnum"
    }
  }
}