{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/divinci-app/json-schema/divinci-app-release-schema.json",
  "title": "Release",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/divinci-app-api-openapi.yml#/components/schemas/Release",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "published",
        "archived"
      ]
    },
    "modelId": {
      "type": [
        "string",
        "null"
      ]
    },
    "ragTargetId": {
      "type": [
        "string",
        "null"
      ]
    },
    "systemPrompt": {
      "type": [
        "string",
        "null"
      ]
    },
    "configuration": {
      "type": "object",
      "additionalProperties": true
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}