{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/specproof-ai/json-schema/specproof-ai-link-create-schema.json",
  "title": "LinkCreate",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/specproof-ai-openapi.json#/components/schemas/LinkCreate",
  "properties": {
    "requirement_key": {
      "type": "string",
      "title": "Requirement Key"
    },
    "spec_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spec Number"
    },
    "link_type": {
      "type": "string",
      "title": "Link Type",
      "default": "test"
    },
    "target_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Type"
    },
    "target_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Id"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "default": "planned"
    }
  },
  "type": "object",
  "required": [
    "requirement_key"
  ]
}