{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kindwise-com/json-schema/kindwise-com-details-schema.json",
  "title": "Details",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kindwise-com-openapi.yaml#/components/schemas/Details",
  "type": "object",
  "properties": {
    "entity_id": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "gbif_id": {
      "type": "number"
    },
    "inaturaarray_id": {
      "type": "number"
    },
    "rank": {
      "type": "string"
    },
    "taxonomy": {
      "$ref": "#/$defs/Taxonomy"
    },
    "common_names": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "description": {
      "$ref": "#/$defs/ValueWithCitation"
    },
    "image": {
      "$ref": "#/$defs/ValueWithCitation"
    },
    "images": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ValueWithCitation"
      }
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Taxonomy": {
      "type": "object",
      "properties": {
        "kingdom": {
          "type": "string"
        },
        "phylum": {
          "type": "string"
        },
        "class": {
          "type": "string"
        },
        "order": {
          "type": "string"
        },
        "family": {
          "type": "string"
        },
        "genus": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "ValueWithCitation": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "value": {
          "type": "string"
        },
        "citation": {
          "type": [
            "string",
            "null"
          ]
        },
        "license_name": {
          "type": "string"
        },
        "license_url": {
          "type": "string"
        }
      },
      "additionalProperties": false
    }
  }
}