{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wordlift-io/json-schema/wordlift-io-content-generation-schema.json",
  "title": "ContentGeneration",
  "description": "A Content Generation project.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wordlift-io-content-generation.yml#/components/schemas/ContentGeneration",
  "type": "object",
  "properties": {
    "account_id": {
      "type": "integer",
      "format": "int64",
      "description": "The Account id bound to this Content Generation."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The create date-time.",
      "readOnly": true
    },
    "deleted": {
      "type": "boolean",
      "default": false,
      "description": "True if the project has been deleted."
    },
    "deleted_at": {
      "type": "string",
      "format": "date-time",
      "description": "The delete date-time.",
      "readOnly": true
    },
    "graphql_query": {
      "type": "string",
      "description": "The GraphQL query which will be used to import entity data from the Knowledge Graph."
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "The unique id.",
      "readOnly": true
    },
    "max_tokens": {
      "type": "integer",
      "format": "int32",
      "default": 64,
      "description": "The maximum number of tokens.",
      "maximum": 2000,
      "minimum": 0
    },
    "min_words": {
      "type": "integer",
      "format": "int32",
      "description": "Minimum amount of words per completion"
    },
    "model_id": {
      "type": "integer",
      "format": "int64",
      "default": 1,
      "description": "The model ID.",
      "minimum": 1
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "description": "The last modified date-time.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The name.",
      "maxLength": 250,
      "minLength": 0
    },
    "penalty": {
      "type": "number",
      "format": "double",
      "default": 0.5,
      "description": "The penalty score.",
      "exclusiveMaximum": false,
      "exclusiveMinimum": false,
      "maximum": 1.9,
      "minimum": 0.5
    },
    "prompt_template": {
      "type": "string",
      "description": "The prompt template."
    },
    "stop": {
      "type": "string",
      "default": "###",
      "description": "The stop sequence."
    },
    "temperature": {
      "type": "number",
      "format": "double",
      "default": 0.4,
      "description": "The temperature score.",
      "exclusiveMaximum": false,
      "exclusiveMinimum": false,
      "maximum": 0.8,
      "minimum": 0.4
    },
    "words_to_ignore": {
      "type": "array",
      "description": "Words to ignore when checking for words not in prompt.",
      "items": {
        "type": "string",
        "description": "Words to ignore when checking for words not in prompt."
      },
      "uniqueItems": true
    }
  },
  "required": [
    "account_id",
    "deleted",
    "graphql_query",
    "name"
  ]
}