{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/devarmor/json-schema/devarmor-component-create-schema.json",
  "title": "ComponentCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/devarmor-components-api-openapi.yml#/components/schemas/ComponentCreate",
  "properties": {
    "symbolic_name": {
      "type": "null",
      "title": "Symbolic Name"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "repo_link": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Repo Link"
    },
    "parent_component_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Component Id"
    },
    "trust_zone_id": {
      "type": "integer",
      "title": "Trust Zone Id"
    }
  },
  "type": "object",
  "required": [
    "title",
    "description",
    "trust_zone_id"
  ]
}