{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trustycap-com/json-schema/trustycap-com-creation-platform-schema.json",
  "title": "CreationPlatform",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trustycap-com-openapi.yml#/components/schemas/CreationPlatform",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "prompt_to_app",
        "agent_in_editor",
        "agent_in_terminal",
        "none"
      ]
    },
    "reviewed": {
      "type": "string"
    },
    "produces": {
      "type": "string"
    },
    "identify": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "signal": {
            "type": "string"
          },
          "confidence": {
            "type": "string",
            "enum": [
              "high",
              "medium",
              "low"
            ]
          },
          "means": {
            "type": "string"
          }
        },
        "required": [
          "signal",
          "confidence",
          "means"
        ],
        "additionalProperties": false
      }
    },
    "code_reaches": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "already_handles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "concern": {
            "type": "string"
          },
          "how": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "concern",
          "how",
          "source"
        ],
        "additionalProperties": false
      }
    },
    "known_limits": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "limit",
          "source"
        ],
        "additionalProperties": false
      }
    },
    "still_missing": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "never_recommend": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "target": {
            "type": "string"
          },
          "because": {
            "type": "string"
          }
        },
        "required": [
          "target",
          "because"
        ],
        "additionalProperties": false
      }
    },
    "shortest_path": {
      "type": "object",
      "properties": {
        "steps": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "human_actions": {
          "type": "integer"
        },
        "human_action_is": {
          "type": "string"
        }
      },
      "required": [
        "steps",
        "human_actions",
        "human_action_is"
      ],
      "additionalProperties": false
    },
    "agent_can": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "agent_entry": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "method": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "method",
        "detail"
      ],
      "additionalProperties": false
    },
    "when_to_act": {
      "type": "object",
      "properties": {
        "rule": {
          "type": "string"
        },
        "execution_intent": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Sentences that are an instruction to do work. A positive fit here means provision."
        },
        "informational_intent": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Sentences that are a question. Answer them and create nothing."
        },
        "on_execution_intent": {
          "type": "object",
          "properties": {
            "do": {
              "type": "string"
            },
            "call": {
              "type": "string"
            },
            "body": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "then": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "do_not": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "What not to do, because it is what the agents that read this surface did instead."
            }
          },
          "required": [
            "do",
            "call",
            "then",
            "do_not"
          ],
          "additionalProperties": false
        },
        "on_informational_intent": {
          "type": "string"
        },
        "the_human_gate": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "step": {
                "type": "string"
              },
              "why": {
                "type": "string"
              }
            },
            "required": [
              "step",
              "why"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "rule",
        "execution_intent",
        "informational_intent",
        "on_execution_intent",
        "on_informational_intent",
        "the_human_gate"
      ],
      "additionalProperties": false,
      "description": "When an agent should act rather than explain. A positive fit plus an instruction is a mandate to provision; a positive fit plus a question is a mandate to answer. Provisioning costs nothing, moves no money and belongs to nobody until somebody claims it."
    },
    "native_path": {
      "type": "object",
      "properties": {
        "verdict": {
          "type": "string",
          "enum": [
            "trustycap_native_kits",
            "platform_native",
            "not_applicable"
          ]
        },
        "because": {
          "type": "string"
        }
      },
      "required": [
        "verdict",
        "because"
      ],
      "additionalProperties": false
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "id",
    "name",
    "kind",
    "reviewed",
    "produces",
    "still_missing",
    "never_recommend",
    "shortest_path"
  ],
  "additionalProperties": false
}