{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/loqate/main/json-schema/loqate-new-plant-schema.json",
  "title": "NewPlant",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/loqate-openapi.json#/components/schemas/NewPlant",
  "allOf": [
    {
      "$ref": "#/$defs/Plant"
    },
    {
      "required": [
        "id"
      ],
      "type": "object",
      "properties": {
        "id": {
          "description": "Identification number of the plant",
          "type": "integer",
          "format": "int64"
        }
      }
    }
  ],
  "$defs": {
    "Plant": {
      "required": [
        "name"
      ],
      "type": "object",
      "properties": {
        "name": {
          "description": "The name of the plant",
          "type": "string"
        },
        "tag": {
          "description": "Tag to specify the type",
          "type": "string"
        }
      }
    }
  }
}